Re: changing ext. USB disk to UEFI boot

From: Matthias Apitz <guru_at_unixarea.de>
Date: Thu, 04 Apr 2024 09:03:35 UTC
This is the start of the partition table of the /dev/nda0 device
(still with Windows and looked at from the working USB-key):

# gpart list nda0
Geom name: nda0
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 1000215182
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: nda0p1
   Mediasize: 272629760 (260M)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 1048576
   Mode: r0w0e0
   efimedia: HD(1,GPT,be8d2f98-9d0b-4887-b93d-5f8fa172a50f,0x800,0x82000)
   rawuuid: be8d2f98-9d0b-4887-b93d-5f8fa172a50f
   rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
   label: EFI system partition
   length: 272629760
   offset: 1048576
   type: efi
   index: 1
   end: 534527
   start: 2048
   ...

Three things which are calling my attention:

- the size is 260M (and not 40M as in our Wiki explained)
- the label is 'EFI system partition'
- it is the first partition starting a 2048 and its 'index' is 1

I will by a new USB disk and start vom scratch and also with the above
values.

	matthias


-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub