[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Urgent :Dual boot Debian+Mandrake with lilo



Vijaya S wrote:
Hi all,

Disk /dev/hda: 40.0 GB, 40020664320 bytes
16 heads, 63 sectors/track, 77545 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       21164    10666624+  83  Linux
/dev/hda2           21165       23287     1069992    5  Extended
/dev/hda3           23288       42663     9765504   83  Linux
/dev/hda5           21165       23287     1069960+  82  Linux swap

I iinstalled Mandrake 10 first  on the machine with /dev/hda1 as /
partition and then /dev/hda5 as swap .
It happened successfully.
Then i installed Debian on /dev/hda3 and mounted it as / partition.and
used /dev/hda5 as swap again.
But when i boot i get Debian only
I want to edit lilo to get both Mandrake and Debian in the bootloader
menu.
How can i get my Mandrake back ..I cannot boot Mandrake again.

Boot into Debian; edit /etc/lilo.conf. You'll find a section similar to:

image=/vmlinuz
        label=Linux
        initrd=/initrd.img

You'll need a second section similar to:

image=/vmlinuz
        label=Mandrake
        initrd=/initrd.img
        root=/dev/hda1

(adjust according to Mandrake's needs - does it call the image file "vmlinuz", or "Mandrakelinux" or what? does it need an "initrd.img" file? etc.).

Then run "lilo -v" and you should be in business.


--
Kent West
westk@acu.edu




Reply to: