Reinstalling GRUB after Windows install

Reinstall GRUB after Windows install

Here is how to reinstall GRUB after you have had to install windows, and windows has overwritten your master boot record (MBR) so that you can't get back into Linux.

sux - <-this is optional, just use 'su'
grub
find /boot/grub/stage1 // Will print something like (hd0,1)
or
find /boot/grub/menu.lst
root (hd0,1)
setup (hd0) <- ignore prompt for partition
quit


Revision #3
Created 2026-04-01 17:10:57 CEST by Philip
Updated 2026-04-13 19:26:16 CEST by Philip