Results 1 to 7 of 7

Thread: how to set up lilo of grub..

  1. #1
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    21

    how to set up lilo of grub..

    Hello all-

    I installed knoppix on a second hd (primary slave). My master drive has winXP installed, so right now im booting from a floppy into linux, and everything is working fine (still setting up some stuff though).

    Im just wondering how to go about setting up lilo or grub to dual boot. When i installed knoppix i sort of screwed up and didnt write lilo to the mbr on the second disk, only made the boot floppy. Can this be done after install? Ill probably continue to boot via floppy now, but id like to set this up as i get more comfortable with linux.

    thanks alot
    -jamie

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    you can boot into KNOPPIX and make the necessary configuration to /etc/lilo.conf and run lilo using that configuration.

    I would advice you to tell lilo to install its boot sector to the linux partition rather than MBR(say /dev/hdb1). Then

    dd if=/dev/hdb1 of=/mnt/cdrive/linux.b bs=512 count=1

    where /mnt/cdrive is assumed to be mounted to the FAT partition that can be seen from XP loader.

    Then reboot into XP and edit boot.ini and add the following line :

    c:\linux.b="KNOPPIX"

    and it would be fine.

    As for how to configure lilo, read the manual or find or google it, that is not something I am good at.

  3. #3
    Member registered user
    Join Date
    Mar 2003
    Posts
    39
    This guy is in the same boat as me. He's saying that after the install process completes lilo dosent install. IDoes anyone know how to set up lilo via the command line, or with a utility? If I Google it with the serch term "lilo" I get a zillion zillion web pages, very few if any answer this question...

  4. #4
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    Post your exact hard drive setup, partitions etc.

    rock

  5. #5
    Junior Member registered user
    Join Date
    Mar 2003
    Posts
    21
    garyng-

    Following your directions does this use the winXP bootloader? Will it give me a selection of winXP and knoppix (debian)?

    thanks-
    -jamie

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    It will still give you the XP loader on boot up but there will be an entry which will boot into LILO. But be very careful if you are working on the same partition(hda1, where the NT boot loader is), as additonal steps are needed which can be dangerous. I have accidentally wipe out my MBR(thus the whole HD).

    Quote Originally Posted by jamesgf
    garyng-

    Following your directions does this use the winXP bootloader? Will it give me a selection of winXP and knoppix (debian)?

    thanks-
    -jamie

  7. #7
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    A thought just occured to me, I used to always make a copy of my mbr and save it to floppy, someone that has xp might want to try this, boot into knoppix, then as root use dd like this:

    dd if=/dev/hda of=/dev/fd0 bs=512 count=1

    then I could boot to the floppy mbr disk go into linux and copy the old mbr back using:

    dd if=/dev/fd0 of=/dev/hda bs=512 count=1

    I can't guarantee this will work, and for sure I wouldn't do it as a test on an important machine. The first part should cause no problems, ie. copying the mbr to floppy, but the writing it back? ?? ? ??

    ...if it breaks you get to keep the pieces...

    I just thought about something, I don't know anything about windows 2000 or xp, at school we have a busted win2000 machine, if you thought the mbr stuff would be the same for 2000 and xp I'll test this on that machine, as currently we are running knoppix on that machine, because win2000 will boot but will not allow logins.

    rock

Similar Threads

  1. Grub of Lilo for 3.7?
    By nhoxanh in forum General Support
    Replies: 1
    Last Post: 01-13-2005, 10:43 AM
  2. lilo to grub???
    By phantomshado in forum General Support
    Replies: 1
    Last Post: 02-14-2004, 06:45 AM
  3. Grub/lilo boot problems
    By madape in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 02-03-2004, 10:07 AM
  4. Lilo loader failed to install...now how to load from GRUB>
    By nxumdon in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-22-2004, 03:38 AM
  5. LILO: Get rid of it to install GRUB
    By arthur in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 09-11-2003, 05:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar

$304.35



Intel XEON E5-2699 V3 CPU PROCESSOR 18 CORE 2.30GHZ 45MB L3 CACHE 145W SR1XD picture

Intel XEON E5-2699 V3 CPU PROCESSOR 18 CORE 2.30GHZ 45MB L3 CACHE 145W SR1XD

$45.00



Dell PowerEdge R920 24 SFF 4x E7-8891 v2 3.2GHz =40 Cores 1024GB No HDD H730P picture

Dell PowerEdge R920 24 SFF 4x E7-8891 v2 3.2GHz =40 Cores 1024GB No HDD H730P

$985.00



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$44.99



Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H picture

Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H

$27.99



SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor picture

SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor

$5.09



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia picture

Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia

$90.00