1

grub-setup is failing to write the primary boot loader to the MBR

view story
linux-howto

http://www.linuxquestions.org – I am trying to install grub-pc's primary boot loader to the MBR and I am repeatedly failing even though I am using the right command syntax. For some weird reason, update-grub is creating repeated menu items pointing at the same installation. Before I run grub-setup, I mounted the partition containing the /boot/grub directory. This was mounted on /mnt/sda1. The command was this: Code: # grub-setup --directory=/mnt/sda1/boot/grub '(hd0)' Does anyone know why grub-setup is failing? I am tempted to use dd on the MBR but I have no idea how the primary boot loader is 'wired' to load the correc (HowTos)