Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.development > #18610

UEFI GPT

From wolfgang kern <nowhere@never.at>
Newsgroups alt.os.development
Subject UEFI GPT
Date 2024-01-20 05:16 +0100
Organization A noiseless patient Spider
Message-ID <uofhej$3hlj6$1@dont-email.me> (permalink)

Show all headers | View raw


my attempt to manually create a complete UEFI startup with KESYS hexwork 
still encounter many obstacles :)

please tell me what I may have missed and what's different to your settings.
TIA
__
wolfgang

what I have so far:
(almost all is in hex, b/w/q/dq/qq mean 8/16/32/64/128 bit)
[LBA_0] MBR:
0000 ... all zero
01BE xx xx xx EE yy yy yy 01 00 00 00 ss ss ss ss
      x = start CHS usually 1
      y = end   CHS usually FFFFFF
      0000_0001 start LBA of GPT image
      0000_0004 size of this GPT image LBA_0,1,2,3 (in sectors)
                specs want much more to waste
01CE ... all zero
01FE 55 AA
------------------
[LBA_1] GPT header
000 45 46 49 20 50 41 52 54 ;"EFI PART" Signature
008 00 00 01 00   Revision for GPT version 1.0
                   (through at least UEFI version 2.3.1),
00C 5C 00 00 00   Header size (in bytes)
010 q  0          CRC32 of header (offset +0 up to header size),
                   with this field zeroed during calculation
014 q  0          Reserved; must be zero
018 dq ....       Current LBA (location of this header copy)
020 dq ....       Backup LBA (location of the other header copy)
028 dq 4          First usable LBA for partitions (primary last LBA + 1)
     specs say minimum 6 for 4K sectors and 34dec for 512 byte sectors
     what a waste ...
030 dq ....       Last usable LBA (secondary partition first LBA - 1)
038 dq ???        Disk GUID (also referred as UUID on UNIXes)
048 dq 2          Starting LBA of array of partition entries
                   (always 2 in primary)
050 q  00000004   Number of partition entries in array
054 q  00000080   Size of a single partition entry (usually 128)
058 q  0          CRC32 of partition array
05C..end of sector; all ZERO
      (420 bytes for 512 byte sectors; but more with larger sector sizes)
---------------------------
[LBA_2] I'd have only four partition entries assigned
GUID partition entry format [128 byte each]
000 qq          Partition type GUID
1.    ??? boot part                                    ;FAT32
2.    "KESYS 64 ddmm2024" to be declared global unique ;KESYS64
3.    28 73 C1 2A-1F F8 D2 11  BA 4B 00 A0 C9 3E C9 3B ;EFI
4.    16 E3 C9 E3 5C 0B B8 4D  81 7D F9 2D F0 02 15 AE ;M$ reserved
       ???                                              ;or NTFS
010 qq  ???     Unique partition GUID
020 dq  4/x/x/x First LBA (specs say 6 or 34 for first partition)
028 dq          Last LBA (inclusive, usually odd)
030 dq         Attribute flags
038 str        72 bytes Partition name (36 UTF-16LE code units)

The 64-bit partition table attributes are shared between 48-bit common 
attributes for all partition types, and 16-bit type-specific attributes.
<eof>

Back to alt.os.development | Previous | NextNext in thread | Find similar | Unroll thread


Thread

UEFI GPT wolfgang kern <nowhere@never.at> - 2024-01-20 05:16 +0100
  Re: UEFI GPT Paul Edwards <mutazilah@gmail.com> - 2024-01-20 23:44 +0800
    Re: UEFI GPT wolfgang kern <nowhere@never.at> - 2024-01-21 00:56 +0100
      Re: UEFI GPT Paul Edwards <mutazilah@gmail.com> - 2024-01-21 10:04 +0800
  Re: UEFI GPT wolfgang kern <nowhere@never.at> - 2024-01-27 09:50 +0100
    Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-09 15:31 +0100
      Re: Secrets on UEFI GPT Herbert Kleebauer <klee@unibwm.de> - 2024-02-09 16:54 +0100
        Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-09 20:08 +0100
          Re: Secrets on UEFI GPT Herbert Kleebauer <klee@unibwm.de> - 2024-02-09 22:03 +0100
            Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-10 05:16 +0100
              Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-10 09:11 +0100
          Re: Secrets on UEFI GPT Paul Edwards <mutazilah@gmail.com> - 2024-02-13 13:57 +0800
            Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-13 08:40 +0100
              Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-13 08:45 +0100
      Re: Secrets on UEFI GPT scott@slp53.sl.home (Scott Lurndal) - 2024-02-09 15:59 +0000
        Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-09 20:12 +0100
          Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-09 20:30 +0100
            Re: Secrets on UEFI GPT scott@slp53.sl.home (Scott Lurndal) - 2024-02-09 20:37 +0000
              Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-10 05:25 +0100
                Re: Secrets on UEFI GPT cross@spitfire.i.gajendra.net (Dan Cross) - 2024-02-10 19:21 +0000
                Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-11 02:00 +0100
          Re: Secrets on UEFI GPT scott@slp53.sl.home (Scott Lurndal) - 2024-02-09 20:34 +0000
            Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-10 05:23 +0100
              Re: Secrets on UEFI GPT "Alexei A. Frounze" <alexfrunews@gmail.com> - 2024-02-09 20:45 -0800
                Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-10 08:59 +0100
                Re: Secrets on UEFI GPT cross@spitfire.i.gajendra.net (Dan Cross) - 2024-02-11 01:11 +0000
                Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-11 07:04 +0100
                Re: Secrets on UEFI GPT cross@spitfire.i.gajendra.net (Dan Cross) - 2024-02-11 20:08 +0000
                Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-11 22:03 +0100
                Re: Secrets on UEFI GPT Andy Valencia <vandys@vsta.org> - 2024-02-11 14:38 -0800
                Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-12 01:48 +0100
      Re: Secrets on UEFI GPT JJ <jj4public@outlook.com> - 2024-02-10 20:10 +0700
        Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-10 17:05 +0100
        Re: Secrets on UEFI GPT wolfgang kern <nowhere@never.at> - 2024-02-14 06:37 +0100

csiph-web