Fixing Ubuntu 9.1 MBR GRUB 2 after Backtrack 4 Install

After installing Backtrack 4 Final on my laptop I realized the grub it installed wasn't compatible with Ubuntu 9.1's ext4 filesystem that was in use.

So to fix this I used the Ubuntu 9.1 Live CD. Once booted I used the following...(assuming my Ubuntu partition was sda2)

sudo -i 
mount /dev/sda2 /mnt
grub-install --root-directory=/mnt/ /dev/sda

This will install Grub 2 to the MBR restoring Ubuntu 9.1 booting options. However it did erase Backtrack 4's boot option so that has to be manually restored.

In doing this I used the following command to list partitions and uuid information.

blkid

Remember that sda1 becomes hd0,0 or sdb3 becomes hd1,2. Since Grub counts starting with 0.

2 comments:

suzana martin said...

The tyres are always removed to give the wheels a full refurbishment. However if you request a mobile service wheel refurbishment will not remove the tyre.for more go to …….wheel refurbishment .

Karen Susan said...

BMW Remaps develop our tuning programmes in laboratory conditions on real vehicles, where dynamometer and emissions readings allow us to verify our figures. BMW Remaps then test the results of BMW Remaps work on the roads in real life conditions for many hundreds of miles – nothing is left to chance.

Post a Comment