How to restore GRUB bootloader

all kinds of tutorials and guides. how, where, why, step-by-step stuff and more. also support for those tutorials and guides. ONLY post step-by-step guides/tutorials here OR reply with question if you have any.
Post Reply
User avatar
Sethioz
Admin
Admin
Posts: 4762
Joined: Fri Jul 27, 2007 5:11 pm
Custom: Gaming YT > https://youtube.com/SethiozEntertainment
Game Hacking YT > https://youtube.com/sethioz
Game Hacks Store > https://sethioz.com/shopz
Location: unknown
Contact:

How to restore GRUB bootloader

Post by Sethioz »

1. run your linux from livecd
2. open terminal (konsole, cmd..etc)
3. type in:

Code: Select all

sudo grub
4. to find your linux partition type in:

Code: Select all

find /boot/grub/stage1
5. based on step 4 results, type in the next command:

Code: Select all

root (hdx,x)
-where x is replaced withthe values you got from step 4.
-for example (hd0,2) > means HardDrive 0 (first) and partition 2

6. now type:

Code: Select all

setup (hd0)
7. and quit:

Code: Select all

quit
you are done, reboot your computer and GRUB will be restored.
NOTE - tested with uBuntu only, it maybe different if you are using different linux.
Post Reply