Use a smaller partition in the dummy partition table created in assembly, to avoid gdisk warning

gdisk was giving the following warning with the previous size: Secondary partition table overlaps the last partition by 72 blocks!
This commit is contained in:
Georges Dupéron 2018-07-27 21:01:44 +02:00
parent 9fa55baf2c
commit fbb5526f3f

View File

@ -55,7 +55,7 @@ db "ExOSxx" ;; 0x1b8 unique disk ID (4-6 bytes? Can be any value)
;;; 4 bytes LBA length
;;;0x1be 0x1c1 0x1c2 0x1c5 0x1c6 0x1c9 0x1ca 0x1cd
;;; This is filled with dummy values, and later patched with gdisk.
db 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xa0, 0x05, 0x00, 0x00, 0x9b, 0x05, 0x00, 0x00 ;; 0x1be p1
db 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xa0, 0x05, 0x00, 0x00, 0x53, 0x05, 0x00, 0x00 ;; 0x1be p1
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ;; 0x1ce p2
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ;; 0x1de p3
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 ;; 0x1ee p4