web analytics

[HOW TO] Restore GRUB bootloader after a new Windows installation

Sponsered Links

GRUB is widely used bootloader for booting linux systems. It lets you choose the OS you want to boot from the list of all OSs loaded on your system.

GRUB

If you install any Windows OS on your PC after installing Linux then you will not see the GRUB bootloader any more. Instead of that you will see only windows OSs will be listed now in the list. As Windows bootloader does not support Linux systems. So to get back your original GRUB bootloader you will have to do some changes in your Master Boot Record.

To do so you will require a live cd to boot linux. After booting from the live cd go to terminal and execute following commands.

sudo grub

find /boot/grub/stage1


Now it will show you the location of the drive on the hard disk where the GRUB loader is stored.

root (hd *, *)

setup (hd0)

quit

In place of * type the output you got with the previous command. Now restart your system and you can see your GRUB loader again.

BAS

Enjoy

Blog Widget by LinkWithin

Incoming search terms for the article:


Related posts:

  1. Add Safe Mode in Boot list
  2. Easily restore deleted files with “Restore Deleted Files Now”
  3. Boot from USB device even if not supported by the BIOS
  4. Disabling Unused PORTS in Windows
  5. How to fix “BOOTMGR missing error” during Windows bootup
  6. Light weight linux for your PC – Just 11 MB in size
  7. [How to]Speed up windows vista boot
  8. iReboot:Restart and boot into OS of your choice automatically
  9. Access Linux partitions from Windows using Ext2fsd
  10. How to use 4GB RAM on 32-bit XP/Vista by enabling PAE

//

Facebook comments:

3 Comments Post a Comment
  1. rishabh maurya says:

    really a cool trick …. i use to install fresh linux over windows if got tracked with above problem …. but now its absolutely fine …. please send some more tricks based on linux …… thanxxxx ….. .!!!

  2. suhag parmar says:

    Thanks for such wonderful information, it really help me to come out for problem of dual booting option.

    Thanks
    Suhag

Leave a Reply