Quote:
I'm trying to install GRUB2 on it's own partition (as you may have noticed by the name of the thread). I've got the separate partition ready and waiting, I just need to install GRUB to it. I'm still fairly new to the details about how GRUB works so bare with me please.
|
You don't install grub to it's own partition; you may make a partition for the /boot directory which contains /grub subdirectory and grub config files.
When you install grub (or grub2), the first stage of grub (which is a pointer to the remainder of grub) goes into either the MBR of the hard drive (the first 512 bytes: grub stage 1 and partition table), or grub first stage goes into the boot sector of the root partition of the installation (not the same as /root user's directory).
So, in your case, put /boot into the new partition, and, as root, run "grub-install /dev/sda" to write the first stage of grub to the MBR of the hard drive along with the partition table.
If you choose to install grub to the boot sector of the root partition, you will need some alternative means to boot your GNU/Linux OS, such as configuring another OS to redirect boot to your Linux, or use the installation disk to boot the Linux installation on the hard drive.