Pages

Howto Upgrade to Grub2 On Ubuntu Jaunty and Karmic Koala

I wrote a blog post that Ubuntu Karmic Koala will use Grub2 as default boot loader at new installations of Ubuntu Karmic.You can read that blog post here.I am using Karmic Koala (not a new installation) and i upgraded my boot loader to Grub2.Before starting the upgrade process you should know that :

*This is only for Ubuntu Jaunty and Ubuntu Karmic Koala.
*Upgrading is a risky operation but at first we will load Grub2 from chainload of Grub so if it does not work for you, you can revert the operation.HOWEVER you should backup your system before following this howto.(YES YES YES i always write this but i do not backup, what a shame: ) )
*If you do not want to install grub2 on your machine but you do want to see if it works with your BIOS, you can test it by installing into a USB pen drive (https://wiki.ubuntu.com/KernelTeam/Grub2Testing read #Alternative Test section.Plus you can read the results from that page also)
*There is a bug at Ubuntu Jaunty (ONLY JAUNTY, not Karmic Koala) where it modifies the existing grub configuration incorrectly.To fix it :

At the "Chainload into Grub 2" menu item, press 'e' to edit the configuration.Press 'e' a second time to edit the top boot line and change:

root xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
To
uuid xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Then press Enter and "b" to boot Grub2.

Installation :

$sudo apt-get install grub2

When installing grub2 package, you will be asked for "Chainload from menu.lst".Select Yes.(This is important!! You will test the Grub2 with this as a chainloader!).At "Linux command line:" prompt just hit Enter.

Now reboot your Ubuntu box, and at grub select "Chainload Grub2" (or something like that).If Grub2 works at your Ubuntu box, to make it default enter this command :

$sudo upgrade-from-grub-legacy

Now reboot ($sudo reboot) your box and see if it works.
For More Check Related Posts :


Preview on Feedage: pc-medicines Add to My Yahoo! Add to Google! Add to AOL! Add to MSN
Subscribe in NewsGator Online Add to Netvibes Subscribe in Pakeflakes Subscribe in Bloglines Add to Alesti RSS Reader
Add to Feedage.com Groups Add to Windows Live iPing-it Add to Feedage RSS Alerts Add To Fwicki
Add to Spoken to You

No comments:

Post a Comment