I was trying to install a new Ubuntu 12.04 installation next to my old 10.10 installation, and I've run into a problem. My computer seems to have a finicky BIOS, and wants a boot partition less than 40 GB in size. So, when I installed 10.10, I split the system into /boot on /dev/sda1 and / on /dev/sda6.
When I installed 12.04 LTS, I totally forgot about it, and now I need to reinstall GRUB. But, I seem to be getting an error.
mint@mint ~ $ sudo grub-install --root-directory=/mnt /dev/sda
grub-probe: error: cannot find a device for /boot (is /dev mounted?).
Installation finished. No error reported.
I'm running this from a Linux Mint live USB device that I had lying around, the GRUB version is the same as the one Ubuntu 12.04 uses, I think.
So, is there something I'm missing, or would it be a better idea to just restart the Ubuntu installation?