LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Win10 MBR, Linux GPT, how to configure grub? (https://www.linuxquestions.org/questions/linux-general-1/win10-mbr-linux-gpt-how-to-configure-grub-4175614782/)

RockDoctor 09-30-2017 08:05 AM

Win10 MBR, Linux GPT, how to configure grub?
 
My new mini-PC came with Windows 10 installed in MBR mode on the internal SSD (/dev/sda). I've got an external GPT-formatted drive (/dev/sdb), on which I've installed Fedora 27 and Fedora 27 (one known working configuration, one to play with; I do tend to fix it until it breaks). The problem: grub on the external drive does not see the internal SSD with Windows 10, so, on those occasions when I do want to boot into Windows, I need to get into the BIOS and switch the boot device. I really don't want to have to do this - what I want is an entry in the external drive's /boot/grub2/efi/EFI/fedora/grub.cfg that will let me boot Win10.

Can this be done without reformatting the SSD to GPT and reinstalling Win10, and, if so, how?

colorpurple21859 09-30-2017 08:17 AM

grub2-install --modules=part_msdos

syg00 09-30-2017 08:05 PM

Quote:

Originally Posted by RockDoctor (Post 5764772)
Can this be done without reformatting the SSD to GPT and reinstalling Win10, and, if so, how?

Nope.
Well, not that I've found, and I've had a Win10 MBR - Linux UEFI/gpt for a couple of years. Mine was originally a OEM Win7 Pro, and would not install to gpt. Got upgraded to Win10.
I use Win10 so rarely (racing sims) that it doesn't bother me too much to have to select the boot device - there is usually a Fkey that pulls up the boot list rather than having to go into the firmware, watch your power-on splash screen.


All times are GMT -5. The time now is 06:52 AM.