If you’re like me who keeps three operating systems in one computer (read, Web and System testing), you’ve probably stumbled in a boot loader problem after installing the OSes (wind$ws, anyone?). Just this afternoon, I have restored mine to its former glory. I have been using BURG to spice up the boot screen with awesome, intel 945 supporting graphic goodness.
Here’s how I did it. My hard disk contains Wind$ws 8, Ubuntu 11.10, and OSX 10.6. I ran the live Ubuntu 11.10 ISO on USB to rescue the boot loader on my hard disk (see unetbootin).
Assuming that you have the same setup as mine (more or less
), and assuming that your live Ubuntu is on standby and connected to the internet, do the ff:
1. If you are using BURG, install the BURG bootloader onto the live session (If you used GRUB2, jump to step 2).
sudo -i
add-apt-repository ppa:ingalex/super-boot-manager
apt-get update
apt-get install burg
2. Identify the partition where you installed Ubuntu. Mine is /dev/sda6. Special consideration should be taken if you have a separate boot partition.
mount /dev/sda6 /mnt
mount /dev/sda7 /mnt/boot #skip this one if not have a separate /boot partition
grub-install –root-directory=/mnt/ /dev/sda #if you used grub2
burg-install –root-directory=/mnt/ /dev/sda #if you used burg
3. If you want to be sure and rebuild your boot menu, do this (if your menu was fine before skip this)
mount –bind /proc /mnt/proc
mount –bind /dev /mnt/dev
mount –bind /sys /mnt/sys
chroot /mnt update-grub
umount /mnt/sys
umount /mnt/dev
umount /mnt/proc
exit
Now reboot your PC. If you followed these well, then your menu should return to normal.
Leave comment











