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

editing grub in lenny to boot from ext4 partition



Assuming Debian Lenny's installer will detect a Ubuntu 10.04 (daily build) partition in my PC (debian = /dev/sda1, ubuntu = /dev/sda3), i installed Lenny on sda1 but Ubuntu entry does not show up on GRUB.  

# grub-install -v
grub-install (GNU GRUB 0.97)

so i proceed to edit grub taking example from Ubuntu's grub.cfg like below

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, with Linux 2.6.32-15-generic" {
        recordfail
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 76fe9a67-1168-4154-b994-4b466e92f7df
linux /boot/vmlinuz-2.6.32-15-generic root=UUID=76fe9a67-1168-4154-b994-4b466e92f7df ro   quiet splash
initrd /boot/initrd.img-2.6.32-15-generic

and i came out with:

title           Ubuntu, with Linux 2.6.32-15-generic
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.32-15-generic root=/dev/sda3 ro quiet splash
initrd          /boot/initrd.img-2.6.32-15-generic

but i can't boot that partition, where did i go wrong or Lenny's version of GRUB cannot boot from ext4 partition?

--
Regards,

Umarzuki Mochlis
http://debmal.my

Reply to: