Thursday, March 4, 2010

How To: Restore GRUB bootloader in Ubuntu 9.10 (standard and Netbook Remix)


If you installed  any non-Linux OS on your netbook after installing Linux, then you will have trouble getting your GRUB bootloader since the process of restoring GRUB has changed. But, don’t panic, here are the instructions to get your GRUB bootloader back.

  1. Boot from the CD/USB flash drive from which you installed Ubuntu
  2. Open terminal (It is there under Accessories)
  3. type in sudo fdisk -l
  4. then type sudo mount /dev/sdAB /mnt , where A is your drive and B is your linux partition. In my case, I typed in sudo mount /dev/sda7 /mnt
  5. install GRUB again by typing this sudo grub-install --root-directory=/mnt /dev/sdA , where A is your drive. In my case, I typed sda
  6. Now type sudo umount /mnt

No comments:

Post a Comment