On 12/15/2017 10:21 AM, Sudhir Khanger wrote:
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?
I don't know if Windows cares about which partition it is on, but be
careful with the install. Make sure you have all your files backed up
first. My experience with using recovery images is that it will wipe
out everything on the hard drive. Maybe doing a normal install is safer.
Once I have installed Windows, it will probably overwrite Grub and
possibly UEFI entries. Do I simply have to reinstall the Grub for Fedora to start
detecting it as a second OS.
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
If it wipes the UEFI entries, then you will need to run "efibootmgr" to
create a new Fedora entry. If you still have the /root/anaconda-ks.cfg
file, you can find the exact command in there. Depending on the laptop,
you might be able to add the boot entry from the BIOS. If you can do
that, select the shim.efi file from EFI/fedora.