Linux tip: reinitializing grub

One day I might need to reinitialize grub, and it sucks. This is specific to my system. I just need this backed up somewhere other than my dell manual where I scrawled it the first time.

grub
install (hd0,1)/grub/stage1 d (hd0) (hd0,1)/grub/stage2 p /grub/menu.lst

in my case my /boot partition is /dev/hda2, so with zero-based indexes that makes (hd0,1).

Share