How to update Grub2 in ubuntu 9.10
Grub2 is the powerful tool to update the grub while installing multi-operating system .
upto ubuntu 9.04 releases, we have only Grub .
From ubuntu 9.10 , we have the next version of Grub. Its most powerful tool to normal Linux users.
Here we will see , how to setup Grub-2.
In my system , first I installed opensolaris . Then I installed ubuntu 9.10 . But , the bad thing is , linux ext3 and ext4 file formates os like ubuntu can not update opensolaris , automatically.
For that, we need to do the following four simple steps.
Grub2 Seetings.
step0:
arul@arul-desktop:~$ sudo fdisk -l
Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x42b442b3
Device Boot Start End Blocks Id System
/dev/sda1 1 1218 9783553+ 83 Linux
/dev/sda2 * 1219 2537 10590208 bf Solaris
/dev/sda3 2538 4865 18699660 5 Extended
/dev/sda5 2538 3771 9912073+ 83 Linux
/dev/sda6 3772 4865 8787523+ 83 Linux
step1:
sudo gedit /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the ‘exec tail’ line above.
menuentry “OpenSolaris 06-2009” {
set root=(hd0,2)
chainloader +1
}
# we have to add these three lines to add opensolaris os into our grub
# here , /dev/sda2 is equavellent to (hd0,2).
step2:
sudo chmod a+x /etc/grub.d/40_custom
step3:
sudo update-grub2
Thats all. simply superb ! Now reboot your system and access other os via Grub2 .
🙂
அருளாளன் . த
Posted by Reinstalling GRUB 2 from LiveCD « sparkingguy Blog on June 27, 2010 at 9:29 pm
[…] is https://tuxworld.wordpress.com/2009/12/26/grub2-in-ubuntu-9-10/ 0.000000 0.000000 Published […]