During Fedora 19 install, I couldn't choose where to install grub bootloader, it would only allow to select hda, contrary to Ubuntu/Mint where I could choose a specific partition where to install grub.
Now I want to encrypt my Windows partition (dual boot, yes, shameless) with Truecrypt, thus replacing grub in the MBR with TC bootloader, then chainload the Windows bootloader with EasyBCD, and point to the linux partition for the grub bootloader.
Question: how do I reinstall grub into dev/sda3?
Here is my HDD current configuration:
dev/sda1 NTFS 100MB [Windows boot partition]
dev/sda2 NTFS 100GB [Windows system partition]
dev/sda3 EXT4 500MB [supposedly /boot from where I think grub should be pointing ]
dev/sda4 extended 360GB
----dev/sda6 210GB lvm2 pv [LUKS encrypted fedora LVM group, with /root /home /swap and /data ]
----dev/sda5 120GB NTFS [data, empty stupid partition because it will most likely not be recognized by Windows anyway, I'll probably format it as Ext4 later]
Here is what I've tried in console:
[nup@localhost ~]$ sudo grub2-install /dev/sda3 /usr/sbin/grub2-bios-setup: error: guessing the root device failed, because of `cannot stat ‘/dev/sda6 ’: No such file or directory'.
[nup@localhost ~]$ sudo grub2-install /dev/sda4 Invalid device ‘/dev/sda4’. Usage: /usr/sbin/grub2-bios-setup [OPTION...] DEVICE Try '/usr/sbin/grub2-bios-setup --help' or '/usr/sbin/grub2-bios-setup --usage' for more information.
[nup@localhost ~]$ sudo grub2-install /dev/sda6 /usr/sbin/grub2-bios-setup: error: guessing the root device failed, because of `cannot stat ‘/dev/sda6 ’: No such file or directory'.