On Sat, 2024-07-27 at 15:17 +0200, Lukas Middendorf wrote:
> On 27/07/2024 14:56, Patrick O'Callaghan wrote:
> > On Fri, 2024-07-26 at 19:00 -0400, Go Canes wrote:
> > > - EFI needs a variable that points to the desired disk and the
> > > desired
> > > partition on that disk
> > > - the UUID from the EFI variable needs to match the PARTUUID for
> > > the
> > > EFI partition on the desired disk
> > >    - the directory from the EFI var should be EFI/fedora
> > 
> > This is what I have currently:
> > 
> > $ efibootmgr
> > BootCurrent: 0001
> > Timeout: 1 seconds
> > BootOrder: 0001,0002
> > Boot0001* Fedora        HD(1,GPT,8a303a03-0b91-453a-8555-
> > f9627c261f65,0x800,0x12c000)/\EFI\fedora\shimx64.efi0000424f
> > Boot0002* Fedora        HD(1,GPT,e7207d2d-25fa-4f56-8fc0-
> > 5730b65a9d3e,0x800,0x80000)/\EFI\fedora\shimx64.efi0000424f
> > 
> > None of those numbers correspond to any of my UUIDs
> 
> It is the UUID of the partition in the GPT not the UUID of the file 
> system itself (VFAT does not acutally have a proper UUID).
> "fdisk -x" should show the partition UUIDs.

$ sudo fdisk -x /dev/nvme0n1
Disk /dev/nvme0n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: WD_BLACK SN770 2TB                      
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: C57E8806-C03C-4CAA-B7A6-25081FAD7D75
First usable LBA: 34
Last usable LBA: 3907029134
Alternative LBA: 3907029167
Partition entries starting LBA: 2
Allocated partition entries: 128
Partition entries ending LBA: 33

Device           Start        End    Sectors Type-UUID                          
  UUID                                 Name   Attrs
/dev/nvme0n1p1    2048     526335     524288 
C12A7328-F81F-11D2-BA4B-00A0C93EC93B E7207D2D-25FA-4F56-8FC0-5730B65A9D3E EFI   
 
/dev/nvme0n1p2  526336    2623487    2097152 
0FC63DAF-8483-4772-8E79-3D69D8477DE4 55F81E24-5567-458D-BAA7-07FC5CA0955C Boot  
 
/dev/nvme0n1p3 2623488 3907028991 3904405504 
0FC63DAF-8483-4772-8E79-3D69D8477DE4 9D3F36F6-C887-4C58-BEA7-18F2D472A8A6 
Fedora 

and for completeness, the SSD:

$ sudo fdisk -x /dev/sdb
Disk /dev/sdb: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: Samsung SSD 860 
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: 9F87E13C-B42C-41C1-A027-ACAF670EF5D1
First usable LBA: 34
Last usable LBA: 3907029134
Alternative LBA: 3907029167
Partition entries starting LBA: 2
Allocated partition entries: 128
Partition entries ending LBA: 33

Device       Start        End    Sectors Type-UUID                            
UUID                                 Name                 Attrs
/dev/sdb1     2048    1230847    1228800 C12A7328-F81F-11D2-BA4B-00A0C93EC93B 
8A303A03-0B91-453A-8555-F9627C261F65 EFI System Partition 
/dev/sdb2  1230848    3327999    2097152 0FC63DAF-8483-4772-8E79-3D69D8477DE4 
DDC50FE5-4CD9-466C-96B2-7D07868E819A                      
/dev/sdb3  3328000 3907028991 3903700992 0FC63DAF-8483-4772-8E79-3D69D8477DE4 
0BCF9F58-F7E0-4F0F-BEAB-C67C5E969B55                      

poc

-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to