I had windows 10 on my drive after I got preinstalled ubunutu removed. Then I installed, Kubuntu and then while installing Fedora 36, I added another EFI file. I want to delete my windows partion.
Now, I've 2 EFI partitions on my drive. As mentioned above, one is pre Linux distros (KU22 & F36) installation and second one is that I added alongwith Fedora. Which one should I delete? Should I also delete recovery and Microsoft reserved partion along with efi and other ntfs (windows) partition?
This is the exact picture of my partition manager.
- NTFS Recovery Basic data partition
- Fat32 /boot/EFI ESP
- Unknown Microsoft reserved partition
- NTFS Basic data partition
- NTFS Basic data partition
- Unknown (Unallocated)
- NTFS
- Ext4 /
- Ext4 /home
- Fat32. ESP
- Ext4 /
- Ext4 /home
(1 2 3 4 5 7) Windows
(8 9) Ubuntu
(10 11 12) Fedora
If I delete (123457) or (134579), will I able to boot both Ubuntu & Fedora from (9) or (1) only?
lsblk -e 7 -o name,fstype,size,fsused,label,partlabel,mountpoint,uuid,partuuid
The partUUID/GUID is use by UEFI to know which ESP to use. So compare partUUID withsudo efibootmgr -v
to know which systems is using which ESP. You probably have to update fstab first & totally reinstall grub to one ESP you save & houseclean old entries in UEFI to old ESP. https://askubuntu.com/questions/1198221/cloning-ssd-also-cloned-boot-options/1198228#1198228 – oldfred Jul 18 '22 at 16:08lsblk -e 7 -o name,fstype,size,fsused,label,partlabel,mountpoint,uuid,partuuid
in a single line and then hit Enter. Then copy the output (you can use the mouse and Right click) and paste it directly in your question. Finally format the pasted text ascode
by using the {_} icon above the Edit Question window. Repeat the same copy and past the output process for the commandsudo efibootmgr -v
. – user68186 Jul 18 '22 at 19:03