Originally Posted by
tux4me
I have done clean installs from dvd every time.
It seems that both auto and manual partition, leaves a EFI-System partition behind.
If that's really the installer's default behavior, then it's a bug.
Now i could need some help, to manually identify and remove the EFI-System partitions,
that is not used by either Windows or Fedora.
Check all of them for a directory called EFI/Microsoft. Any with such a directory is probably being used by Microsoft. Given that your /dev/sda2 is a FAT32 partition and the others in your list are all FAT16, it's likely that /dev/sda2 is used by Windows and the others were all created by Fedora. (Fedora's installer tends to create FAT16 ESPs by default, but the Windows installer creates a FAT32 ESP. Technically, the ESP must be FAT32, so the Linux ESPs aren't really valid.)
On the Linux side, check your current installation's /etc/fstab file. It will probably refer to the ESP by its serial number ("UUID" in /etc/fstab), as in:
Code:
$ grep efi /etc/fstab
UUID=6063-D3B6 /boot/efi vfat fmask=0133,dmask=0022,shortname=winnt 0 0
You need to identify the filesystem with that serial number. This is easily done with blkid and grep:
Code:
# blkid | grep 6063-D3B6
/dev/sda1: SEC_TYPE="msdos" UUID="6063-D3B6" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="f9f7c892-87b9-42bc-a69d-d327f84180ab"
This identifies /dev/sda1 as the current ESP for Fedora. (This example was taken from my own system; it will of course be different for you.)
My own recommendation is to consolidate any and all of your Fedora ESPs into just one, which should be the same as your Windows ESP. The ESP is meant to be shared across OSes. Although the EFI spec is quite explicit that multiple ESPs are permissible, the Windows installer has the unfortunate habit of flaking out if it finds multiple ESPs. (Hence my reaction earlier -- creating new ESPs unnecessarily just creates problems.) To consolidate ESPs, you'll need to mount both of them and copy all its files from the one you intend to delete to the one you intend to keep. You'll then need to adjust /etc/fstab to refer to the one you intend to keep. Lastly, if you want to keep GRUB (or whatever boot manager you're using) as the primary boot manager, you'll need to use "efibootmgr" to tell your firmware to use it from its new location, as in:
Code:
efibootmgr -c -d /dev/sda -p 2 -l '\EFI\fedora\shim.efi' -L Fedora
Note you may need to adjust these options; consult the efibootmgr man page for details. Also, if you've disabled Secure Boot, you may need to refer to grubx64.efi rather than shim.efi. If all this seems too scary, though, just drop down to two ESPs. If you need to re-install Windows, you can temporarily change your second ESP's type code to keep Windows from flaking out.
As i understand it, Fedora makes
/boot
/boot/efi
/
/home
swap
so i should have a max of 10 partitions, including Windows and Lenovo partitions.
(hope i make sense)
Actually, your setup uses LVM, so the root (/), /home, and swap are all logical volumes in one partition (your /dev/sda15). Your /dev/sda9 and /dev/sda13 look like they're probably /boot partitions from two installations. You can figure out which is current by examining /etc/fstab and using blkid, much as you did to identify the ESPs. I recommend examing both partitions' contents, though, and checking for their UUIDs and device filenames in /etc/fstab; it's conceivable that one of them has some other purpose.
Your system has four NTFS partitions, an ESP, an unidentified FAT32 partition (probably created by your computer manufacturer), and a Microsoft Reserved partition. That's seven for the system and Windows. Adding the LVM and /boot partitions makes nine.
GPT can handle up to 128 partitions by default, and that value can be raised, if necessary. Thus, you're nowhere near the technical limits of GPT. Of course, you probably don't want to sift through a list of 128 partitions to try to figure out what they all are, so keeping the number to something reasonable makes sense.
Once you delete your unneeded ESPs (and old /boot partition, if that's what the extra ext4 partition is), you'll have one or two blocks of free space. They won't amount to a lot of space, though -- a bit over 1GiB at most. You could create new partition(s) and add them to your LVM, or expand the LVM to cover that space. Either option can be a bit tricky, and especially expanding the LVM, if that's what you choose to do. Tools like system-config-lvm can help, but you should consult LVM documentation to learn what to do.
Here is some info from "parted print"
In the future, please use code tags rather than quote tags when including the output from text-mode programs. Code tags preserve the monospace formatting of the original text, whereas quote tags don't. Quote tags therefore degrade legibility of things like parted output.