On Sun, Jun 28, Michael Fischer wrote:
On Sun, Jun 28, Andrei Borzenkov wrote:
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.
Thank you. I suspected as much. What are the commands I would want to use for this (these?) operations?
/dev/nvme0n1p1: SEC_TYPE="msdos" UUID="5591-235C" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="f95c0606-ecaa-44af-8fd0-51f9980f26a9"
Seems I want that to show `LABEL="ESP"` when I'm done. Also, that `SEC_TYPE="msdos"` probably wants to go away?
A little quick digging on my own made me wonder if ``` gdisk /dev/nvme0n1p1 t ef00 w ``` is the routine I want here (unsure if that is "legal" on a running system). However, that brought up the fun difference between the output of gdisk vs fdisk $ gdisk -l /dev/nvme0n1 GPT fdisk (gdisk) version 1.0.1 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/nvme0n1: 500118192 sectors, 238.5 GiB Logical sector size: 512 bytes Disk identifier (GUID): C2D48243-DA0E-456D-BD55-D3BEE176DBEC Partition table holds up to 128 entries First usable sector is 34, last usable sector is 500118158 Partitions will be aligned on 2048-sector boundaries Total free space is 2124397 sectors (1.0 GiB) Number Start (sector) End (sector) Size Code Name 1 2048 1026047 500.0 MiB 0700 EFI system partition 2 3147776 500117503 237.0 GiB 8300 primary $ fdisk -l /dev/nvme0n1 Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: C2D48243-DA0E-456D-BD55-D3BEE176DBEC Device Start End Sectors Size Type /dev/nvme0n1p1 2048 1026047 1024000 500M Microsoft basic data /dev/nvme0n1p2 3147776 500117503 496969728 237G Linux filesystem Yes, "Name" vs "Type"... Output of `blkid` upthread. The machine in question has no /dev/disk/by-label, but `ls -l /dev/disk/by-partlabel/` gives: lrwxrwxrwx 1 root root 15 Jun 28 16:14 EFI\x20system\x20partition -> ../../nvme0n1p1 Thanks again. Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org