In the wiki article about Linux, there is a section detailing how to use the grub command line to install the grub bootloader to the partition. However, it's a little misleading in that it starts off by saying:
find /boot/grub/stage1
It'll return a (hdx,y) value you can use to setup GRUB.
You also have a nice table documenting linux device names:
(hd0,0) first primary partition on first hard disk
(hd0,1) second primary partition
(hd0,2) third primary partition
(hd0,3) fourth primary partition (usually an extended partition)
(hd0,4) first logical partition
(hd0,5) second logical partition
Then goes on later to say,
Once you've got that value, type this in, substituting (hdx,y) for the output of the previous command.
root (hdx,y)
setup (hdx,y)
setup (hdx,y)
quit
What it fails to mention is that the x,y you use in the root command come from the output of the find command, whereas the x,y you use in the setup command relate to the partition where you wish to install grub, and those numbers should come from the table.
The fact that you use x,y in both cases is what's confusing.
Hope this helps someone!
find /boot/grub/stage1
It'll return a (hdx,y) value you can use to setup GRUB.
You also have a nice table documenting linux device names:
(hd0,0) first primary partition on first hard disk
(hd0,1) second primary partition
(hd0,2) third primary partition
(hd0,3) fourth primary partition (usually an extended partition)
(hd0,4) first logical partition
(hd0,5) second logical partition
Then goes on later to say,
Once you've got that value, type this in, substituting (hdx,y) for the output of the previous command.
root (hdx,y)
setup (hdx,y)
setup (hdx,y)
quit
What it fails to mention is that the x,y you use in the root command come from the output of the find command, whereas the x,y you use in the setup command relate to the partition where you wish to install grub, and those numbers should come from the table.
The fact that you use x,y in both cases is what's confusing.
Hope this helps someone!