You are not logged in.
As the title says, I'm stuck in the last part of the installation process trying to install systemd-boot. Writing:
bootctl install
Gives this output:
Couldn't find EFI system partition. It is recommended to mount it to /boot or /efi.
Alternatively, use --esp-path= to specify path to mount point
I try the alternative:
bootctl --esp-path=/boot install
And got this message:
File system "/dev/block/259:1" is not on a GPT partition table.
lsblk -f shows the partition created for EFI:
nvme0n1
|-nvme0n1p1 vfat FAT32 BC06-F764 441.2M 9% /boot
I've followed the guide with a live usb, the partitions are created, formatted and mounted.
Last edited by aldeano (2020-06-22 00:46:43)
Offline
Is /dev/nvme0n1p1 an EFI system partition?
Check
# parted --list
^ That should show "boot,esp" in the "Flags" column and also indicated the "Partition Table" as "gpt".
Jin, Jîyan, Azadî
Offline
parted --list
Shows this:
Model: INTEL SSDPEKNW512G8L (nvme)
Disk /dev/nvme0n1: 512GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 513MB 512MB primary fat32 esp
2 513MB 1537MB 1024MB primary linux-swap(v1)
3 1537MB 512GB 511GB primary ext4 boot
Also fstab:
# /dev/nvme0n1p1
UUID=363C-BEE5 /boot vfat rw,realmtime,fmask=0022,dmasl=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 2
Offline
Partition Table: msdos
^ There's the problem then.
The gdisk program can convert MS-DOS partition tables to GPT but it is a potentially destructive operation so it may be best to start the installation process again from scratch if you want to use systemd-boot.
I think GRUB will agree to at least attempt a UEFI installation to an MS-DOS partition table but your machine's UEFI firmware might not co-operate.
Jin, Jîyan, Azadî
Offline
Thanks! You were right. trying to change that in the middle of the installation with gdisk wasn't easy, It shows the error:
Warning! Secondary partition table overlaps the last partition by
33 blocks!
You will need to delete this partition or resize it in another utility.
After several attempts I started again using cfdisk to partition the disk and It set the table to gpt, everything went smooth. Marking as [solved].
Offline