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

Re: lenny boot with grub2



On Mon, Jul 12, 2010 at 4:15 AM, mess-mate <messmate@free.fr> wrote:
> On 07/12/2010 09:48 AM, Tom H wrote:
>
> On Sun, Jul 11, 2010 at 6:52 PM, mess-mate <messmate@free.fr> wrote:
>
>
> i've installed sqeeze (amd64) and grub2 as the boot loader.
> On an 2d hd lenny with  grub (older version with the stage.. files) is
> installed.
> Since grub2 is installed on the mbr no way to boot my lenny system.
> Here is the lenny part on grub.cfg:
> menuentry "Lenny, kernel 2.6.28_mm01 (on /dev/sdc6)" {
>     insmod ext2
>     set root='(hd2,5)'
>     search --no-floppy --fs-uuid --set f26b56c1-4550-4815-b7bf-e5f114c6f9e4
>     linux /vmlinuz-2.6.28 root=/dev/sdc6 ro quiet vga=788
>     initrd /initrd.img-2.6.28
> }
>
> UUID is disabled as default.
>
> What does "no way to boot" mean?
>
> Is Lenny's /boot on sdc5 or sdc6?
>
> It mean's i can't boot lenny. /dev, /proc, etc.. couldn't be mounted ( a
> common error message encountered , now and in the past, when a root dir
> isn't found)
> The Lenny-root is on sdc6 ext4. The /boot partition is on sdc5 ext3.

So grub is loading your initrd and the latter cannot mount your
partitions, probably because you are using sdc6 instead of hdc6 or
because Lenny is recognizing sdc/hdc as sda/hda or sdb/hdb.

Run
blkid /dev/sdc6
Change your linux line to
linux /vmlinuz-2.6.28 root=/dev/disk/by-uuid/<output_of_blkid_above>
ro rootfstype=ext4 vga=788
or
linux /vmlinuz-2.6.28 root=/dev/hdc6 ro rootfstype=ext4 vga=788


Reply to: