Possible Duplicate:
How to install grub on a completely empty hard drive?
I've got a new os setup in virtualbox. I booted into it with gparted live cd. how can I install grub on the mbr from this point? All the documentation I can find seems to assume you already have a linux installation installed. At the moment my partition layound is /dev/sda and with a partition table created with gparted live to msdos