Does anyone know a link/source to a guide, preferably step by step?
All I find is how to uninstall Fedora and keep/install Windows but I want the opposite.
I don’t specifically know of a source guide, but the process is relatively simple.
- Identify the microsoft partitions
lsblk -f
This should show all existing partitions. On my laptop I see this
nvme0n1
├─nvme0n1p1 vfat FAT32 SYSTEM 42F8-BF3E 210.9M 18% /boot/efi
├─nvme0n1p2
├─nvme0n1p3 ntfs OS 9630FA7F30FA65A1
├─nvme0n1p4 ntfs RECOVERY A4BA3A26BA39F580
Note that p1 is my efi partition and I would not want to remove that one since is it used to boot both windows and fedora.
The other 3 partitions are all windows related.
p2 is hidden
p3 is the main os partition for windows
p4 is the windows recovery partition should repairs be needed.
-
To completely remove windows I would use gparted or similar and remove p2, p3, & p4
-
The last step is to remove the windows boot loader
Assuming you are dual booting and have a single efi partition to boot both windows and linux.
a. run the commandsudo ls /boot/efi/EFI
and look for a subdirectory namedMicrosoft
b. If it exists run the commandsudo rm -rf /boot/efi/EFI/Microsoft
This will remove the boot loader for windows. -
Now to complete the clean up so grub is properly configured simply run
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
(or wait until the next update that includes a kernel which will do that for you)
Thank you for the quick response.
You have set me up on the right path. Now I know what to do.
I would simply install Fedora telling the installer to reclaim all the disk and erase existing operating systems.