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

Re: I can't boot on the Debian I just installed



In linux.debian.user, you wrote:
> Hello,
> 
> I installed some days ago a Debian r3.0r1 next to Mandrake 9.1. The
> installation went ok, but I can't boot on Debian! If I select the "Debian"
> item in lilo, it boots on Mandrake!?!
> 
> Here's the partitions details of the hard drive on which Debian is
> installed:
> 
> Disk /dev/hdd: 40.0 GB, 40027029504 bytes
> 255 heads, 63 sectors/track, 4866 cylinders
> Units = cylindres of 16065 * 512 = 8225280 bytes
> Périphérique Amorce    Début       Fin    Blocs   Id  Système
> /dev/hdd1   *         1       823   6610716   83  Linux
> /dev/hdd2   *       824      1646   6610747+  83  Linux
> /dev/hdd3          1647      4766  25061400   93  Amoeba
> /dev/hdd4          4767      4866    803250   92  Inconnu
> 
> I modified the /etc/lilo.conf on the Mandrake system (and ran lilo), in
> order to add a Debian item. Here's that file:
> 
> boot=/dev/hda
> map=/boot/map
> prompt
> default="LinuxMandrake"
> keytable=/boot/fr-latin1.klt
> nowarn
> timeout=100
> message=/boot/message
> menu-scheme=wb:bw:wb:bw
> disk=/dev/hdd bios=0x82
> image=/boot/vmlinuz
>         label="LinuxMandrake"
>         root=/dev/hdd1
>         initrd=/boot/initrd.img
>         append="devfs=mount acpi=off quiet"
>         vga=788
>         read-only
> image=/boot/vmlinuz
>         label="Debian"
>         root=/dev/hdd2
>         initrd=/boot/initrd.img
>         append="devfs=mount acpi=off quiet"
>         vga=normal
>         read-only
> other=/dev/hda1
>         label="WindowsXP"
>         table=/dev/hda
> 
> If I select the Debian item, it boots on Mandrake (which ends with a kernel
> panic). I put image=/vmlinuz for the Debian item, but nothing changed.
> 
> What can I do? I'd like to try Debian. It's installed, but I can't access
> it...
> Thanks for the help!

You are using the same kernel and initrd.img for Debian as you are for
Mandrake.  I guess the boot fails because it can't find the modules it needs
to boot.  It is looking for Mandrake stuff on your Debian partition. (Right
partition - wrong kernel and initrd.img)

The way I do this is to boot mount the Debian partition (/dev/hdd2) and copy
the kernel (rename it vmlinuz-debian in the copy), the System.map (rename
System.map-debian) and initrd.img (initrd.img-debian).  Then edit
/etc/lilo.conf using these new names for the image and initrd.img.  Rerun
/sbin/lilo and try booting.

Anita



Reply to: