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

Re: lenny boot with grub2



On Mon, Jul 12, 2010 at 9:05 AM, mess-mate <messmate@free.fr> wrote:
> On 07/12/2010 11:51 AM, Tom H wrote:
> 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
>
>
> Ok, i don't know what happen exactly but the UUID is completely defferent
> between grub.cfg and the
>
> 'blkid /dev/sdc6' results: UUID="7057a48b-9ed1-4c6d-bb02-5822dddd8b06"
> TYPE="ext4"
>
> So i changed the uuid but still the same error and a busybox and initramfs.
> No boot.
> Can it be a bios problem or a GRUB bug ?

careful, the uuid of the search line should be that of /boot not of /
so it should be the uuid of sdc6/hdc6.


Reply to: