Two approaches to this. The first is to use the grub-install utility:
1 |
grub-install --root-directory=/boot /dev/??? |
The second approach is to use the grub command line:
1. Start the grub command line:
1 |
grub |
2. Determine the boot device:
1 |
find /boot/grub/stage1 |
You’ll get something like “(hd0,0)”.
3. Tell grub where the root is:
1 |
root (hd0,0) |
4. Install the MBR:
1 |
setup (hd0,0) |