Hi all,
I want to install Grub2 to a dedicated partition - sda6
Grub2 will go to sda6 partition boot sector.
Grub2 files will also be in sda6
MBR will be unchanged.
I will chainload Grub2 from the Windows XP boot manager.
I will be installing from a Parted Magic Live CD (February 2012).
Which of the following are the right commands to use?
1. Found this one on the web, slightly changed. Not sure about the '/dev' usage.
Code:
mkdir /mnt/sda6/boot
mount /dev/sda6 /mnt/sda6
mount --bind /dev /mnt/sda6/dev
grub-install --boot-directory=/mnt/sda6/boot --force /dev/sda6
2.
Code:
mkdir /mnt/sda6/boot
mount /dev/sda6 /mnt/sda6
grub-install --boot-directory=/mnt/sda6/boot /dev/sda6
3.
Code:
grub-install /dev/sda6
Thanks.