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

Re: lenny boot with grub2

mess-mate 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.

Have you tried the chainloader?  I haven't so don't know but it seems
like the chainloader should be able to boot your Lenny grub version.

> 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 rootfstype=ext4 ro quiet vga=788
>     initrd /initrd.img-2.6.28
> }

Unfortunately I don't know grub2 configuration well enough to suggest
with any authority what the chainloader configuration would be.  But
looking at the web right now it appears that something like this might
work.  Untested.

menuentry "Lenny" {
    insmod chain
    set root='(hd2,5)'
    chainloader +1


Attachment: signature.asc
Description: Digital signature

Reply to: