I just put together a new machine where Linux is not supported directly by the motherboard manufacturer (a Gigabyte AORUS Elite X WiFi 7).
I initially installed Kubuntu 22.04 LTS, and it was not a good experience. There were many problems, and failed to boot after the install. I was able to boot into recovery mode and get the system running, but continued to run into problems. After an hour of Whack-A-Mole, I decided that I needed to try something else.
I tried installing Kubuntu 23.10 and directed it to do a guided install using the entire disk. The good news is that it works very well. The bad news is that I didn't notice that it installed to the second physical NVMe drive.
This isn't a problem in getting the machine to run, as I just select the first item in Grub, and it boots and runs fine.
The problem is that the first physical NVMe drive still has the original 22.04 LTS installation. I would like to remove unneeded partitions and reformat the first drive and use it as storage in 23.10. My concern is that I don't want to accidentally remove anything needed for the machine to boot into the 23.10 installation. Both installations have similar /etc/grub.d folders and parted shows a fat32 file system named "EFI System Partition" with boot and esp flags on each physical drive.
I am really not very familiar with Grub, so I am not sure what is safe to remove, and what must stay. For example, if I reformat the partition containing 22.04 LTS, I'll lose the /etc/grub.d folder that lives there. Does Grub depend on that, or can I configure it to use the folder in the 23.10 installation?
Any guidance would be appreciated.
Thanks, -Wade
sudo efibootmgr -v
&lsblk -e 7 -o name,fstype,size,fsused,label,partlabel,mountpoint,uuid,partuuid
Check partUUID & UUIDs. – oldfred Dec 18 '23 at 22:34https://paste.ubuntu.com/p/RYK5rMpytq/
– wadeh Dec 18 '23 at 22:50