On Fri, Dec 15, 2017 at 11:21 AM, Sudhir Khanger <m...@sudhirkhanger.com> wrote:
> Hello,
>
> I have to install Windows 8.1 so that Dell technician can troubleshoot my 
> system. I have not installed Windows in years, so, I wanted to confirm the 
> process before destroying my system.
>
> I will create a 50GB partition for Windows 8.1. I installed Fedora with 
> automatic partitioning. As a result, home partition which I will resize is in 
> middle. Is it okay to resize the partition in the middle to install Windows?

Only if you use the Microsoft installer, e.g. from an ISO downloaded
from microsoft.com. If it's a restore image that came with the Dell,
it will obliterate everything on the drive. No options.


> Once I have installed Windows, it will probably overwrite Grub and possibly 
> UEFI entries.

That only happens on BIOS firmware. On UEFI, the Windows bootloader
will go into its own directory on the ESP, and get its own NRAM entry
set as default. To reboot Fedora, you'll hold shift when you choose
Reboot in Windows, and you'll get a menu, one option will be
Troubleshooting, and another option in there hopefully is related to
booting off other media. The exact location has changed a bit between
8.0, 8.1, and 10 so I can't tell you where it is in there exactly but
I know I can choose Fedora (i.e. GRUB) from within one of the Windows
10 shift+reboot Troubleshooting submenus. This does not stick though,
it's a one time boot so once you're back to Fedora you'll look at
efibootmgr and change the bootorder with --bootorder, making it
explicit (all boot entries listed in the order you want them
attempted, starting with the Fedora boot entry).

> Do I simply have to reinstall the Grub for Fedora to start detecting it as a 
> second OS.
>
> grub2-install /dev/nvme0n1

Please do not do this on UEFI, it's a bad idea.


> grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

This won't hurt anything but it also shouldn't be necessary. You will
need to use efibootmgr to make the Fedora boot menu entry first in the
bootorder, however.


-- 
Chris Murphy
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to