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

Re: lenny boot with grub2



On Sunday 11 July 2010 14:52:05 mess-mate wrote:
> Hi list,
> 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
> rootfstype=ext4 ro quiet vga=788 initrd /initrd.img-2.6.28
> }
>
> UUID is disabled as default.
> any help would be very apprecited.

1. grub2 depends grub-pc
2. grub-pc 'suggests' os-prober'

Grub2  uses 'os-prober' to find other os's.  I have had time when this process 
did not work, make sure os-prober is installed, on my Lenny it is 'suggested' 
for grub-pc.

Squeeze works here though. 

If you use one mbr to boot all you will need to pick which os to configure 
grub.  If you can't get to the one os you want to manage your disks use an 
alternate means to chroot into it, make sure os-prober is installed, then 
run 'update-grub'. 


-- 
Peace,

Greg


Reply to: