Despite having installed the last two Neon LTS versions, I am having a time trying to install the latest. I’m not trying to preserve anything. My laptop has two drives. I have always setup the following:
500 MB sda1 for boot (more on this below)
Rest in sda2 as linux lvm
All of sdc as linux lvm
I then add sda2 and sdc1 as physical volumes. I create a ‘neon-vg’ volume group. I create the following logical volumes:
16 GB swap
100 GB root
360 GB home
I use mkfs.ext4 to format root and home. I use mkswap to format swap.
I wrote the live KDE installer to a flash drive and boot from that. I can setup the above via Konsole during the live boot. I then click the icon on the desktop to install. I choose manual install for partitions. I map root and home logical volumes. Here is where the confusion and problems begin.
When I hit next, I get a warning about not having an 8 MB, unformatted GPT partition with the right flag set. Is that in addition to the 500 MB boot partition I created? Do I map that boot partition (/dev/sda1) to /boot? What partition type was I supposed to use? I’ve tried EFI and Linux in both fdisk and gdisk. I really need help figuring out what parition(s) I need other than swap, root, and home, how it/they should be setup in fdisk or gdisk, and what file system if any should be on them.
Another issue is that, if I check to format the swap, home, or root logical volumes within the installer, once I proceed to install, I will quickly get a failure saying it can’t mkfs that partition because the file doesn’t exist. Often, when I then exit the installer and look, there is no more /dev/neon-vg folder even though I can run pvs, vgs, and lvs commands and see everthing.
The one time I thought I would get the install to succeed, I did not check the boxes to format anything, as I already did that anyway prior to running the installer. The 500MB boot partition was configured via fdisk as EFI. I used mkfs.fat -F 32 to format as FAT32. I ignored the warning about the 8MB GPT partition. The install got all the way to the progress bar completing and then gave me an error about not being able to create a symbolic link to vmlinuz. When I searched for that issue online, I saw people asking about the exact same error. Answers said the boot partition can’t be FAT32 because it doesn’t support sym links. But, every how-to I can find on setting up an EFI partition for Linux says to format it as FAT32.
I wrote this on my other laptop running the previous KDE Neon distribution. It does not have the extra 8 MB partition. I used fdisk when I set it up. It has the same 500 MB boot partition is set to type ‘Linux’.
Please help! I’m not very familiar with boot partitions, EFI, MBR, etc. So, please be specific.