Ubuntu Karmic : Changes between Grub 1.x and Grub2

Grub Legacy is not present in Karmic. People who upgrade from earlier versions may have the option of keeping Grub Legacy or upgrade to Grub2.

If you upgrade from Jaunty to Karmic you may get an option to keep Grub Legacy.

If you do a new install of Karmic you may install it (Grub2) on the partition instead of MBR and chainload it from existing Grub Legacy.

But I suggest everyone to just learn a couple of things and use Grub2:

1. Change in Partition numbering (hd0,X) is sdaX
2. Changes in menu entries: Grub Legacy v/s Grub2
The word "Title" has become "menuentry"
The word "root" has become "setroot"
The word "kernel" has become "Linux"
The word "initrd" remains the same
The Title decription has to be put inside ""
The Linux and initrd lines have to be put inside {}

Following are typical menuentries in grub.cfg
menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" {
set root=(hd0,1)
chainloader +1
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (on /dev/sda6)" {
set root=(hd0,6)
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=9ade8349-c94a-4639-a648-46b561
6b2e08 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}

Credits: Kamalakar Agashe
[ http://www.orkut.co.in/Main#CommMsgs?cmm=141&tid=5397052498275796280&na=2&nst=5 ]

0 comments:

Post a Comment