On 28/06/2020 20.17, Andrei Borzenkov wrote:
28.06.2020 14:58, Michael Fischer пишет:
Hello all (and hopefully Andrei),
Device Start End Sectors Size Type /dev/nvme0n1p1 2048 1026047 1024000 500M Microsoft basic data
The "type" of ESP is supposed to be "EFI System". Anything else is up to firmware implementation. Explicit firmware boot entries that point to this partition will likely work. "Boot from hard disk" in BIOS boot menu selection (exact name varies between vendors) may not be offered at all.
Also os-prober and other operating systems may fail to find ESP.
I would change type to "EFI System" just to be sure.
Do you know which field in lsblk output prints that? I can't find it. Telcontar:~ # lsblk --help Usage: lsblk [options] [<device> ...] ... Available output columns: NAME device name KNAME internal kernel device name PATH path to the device node MAJ:MIN major:minor device number FSAVAIL filesystem size available FSSIZE filesystem size FSTYPE filesystem type FSUSED filesystem size used FSUSE% filesystem use percentage MOUNTPOINT where the device is mounted LABEL filesystem LABEL UUID filesystem UUID PTUUID partition table identifier (usually UUID) PTTYPE partition table type PARTTYPE partition type UUID PARTLABEL partition LABEL PARTUUID partition UUID PARTFLAGS partition flags RA read-ahead of the device RO read-only device RM removable device HOTPLUG removable or hotplug device (usb, pcmcia, ...) MODEL device identifier SERIAL disk serial number SIZE size of the device STATE state of the device OWNER user name GROUP group name MODE device node permissions ALIGNMENT alignment offset MIN-IO minimum I/O size OPT-IO optimal I/O size PHY-SEC physical sector size LOG-SEC logical sector size ROTA rotational device SCHED I/O scheduler name RQ-SIZE request queue size TYPE device type DISC-ALN discard alignment offset DISC-GRAN discard granularity DISC-MAX discard max bytes DISC-ZERO discard zeroes data WSAME write same max bytes WWN unique storage identifier RAND adds randomness PKNAME internal parent kernel device name HCTL Host:Channel:Target:Lun for SCSI TRAN device transport type SUBSYSTEMS de-duplicated chain of subsystems REV device revision VENDOR device vendor ZONED zone model For more details see lsblk(8). Telcontar:~ # For instance: Telcontar:~ # lsblk --output NAME,KNAME,RA,RM,RO,SIZE,TYPE,FSTYPE,LABEL,PARTLABEL,PTTYPE,FSTYPE,MOUNTPOINT,UUID,PARTUUID,WWN,MODEL,ALIGNMENT /dev/nvme0n1 NAME KNAME RA RM RO SIZE TYPE FSTYPE LABEL PARTLABEL PTTYPE FSTYPE MOUNTPOINT UUID PARTUUID WWN MODEL ALIGNMENT nvme0n1 nvme0n1 512 0 0 465.8G disk gpt Samsung SSD 970 EVO Plus 500 0 ├─nvme0n1p1 nvme0n1p1 512 0 0 500M part vfat EFI EFI vfat /boot/efi 1726-BDB2 800b649f-a2e3-4dad-b2bf-b7ecc5ef11d8 0 ├─nvme0n1p2 nvme0n1p2 512 0 0 100G part swap nvme-swap nvme-swap swap [SWAP] 7f9467db-113f-4ca5-867c-85113ce94da9 3d186ef5-2041-4a47-9576-9ae9a49d5097 0 ├─nvme0n1p3 nvme0n1p3 512 0 0 30G part ext4 Auxiliary Auxiliary ext4 f0b68654-4d7f-4ff8-b68c-117e85bb5e7f 51be098c-35bc-44fa-8899-e78adfacf300 0 ├─nvme0n1p4 nvme0n1p4 512 0 0 1G part ext2 nvme-boot nvme-boot dos ext2 /boot a977c5c3-259f-4df6-80e4-9f21a1ae96f5 5f623dd4-a315-bb4a-8bcd-4b8f5e83b4b0 0 └─nvme0n1p5 nvme0n1p5 512 0 0 150G part ext4 nvme-main nvme-main ext4 / ac173013-18ad-4c4e-921e-fd2ecfb56495 bcc5e45e-cdae-264c-8a32-8383a60ab62f 0 Telcontar:~ # I'm not getting the correct field to identify the EFI partition. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)