AsahiLinux / asahi-installer

Asahi Linux installer
MIT License
782 stars 104 forks source link

[bug] installer creates duplicate entries in GPT table #287

Closed PaulCharlton closed 1 week ago

PaulCharlton commented 1 week ago

installer creates duplicate entries in GPT table as follows:

gpt show /dev/disk0
      start       size  index  contents
          0          1         PMBR
          1          1         Pri GPT header
          2          4         Pri GPT table
          6     128000      1  GPT part - 69646961-6700-11AA-AA11-00306543ECAC
     128006   85449472      2  GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC
   85577478     610304      3  GPT part - 7C3457EF-0000-11AA-AA11-00306543ECAC
   86187782     128000      4  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
   86315782     262144      5  GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4
   86577926   30249472      6  GPT part - 0FC63DAF-8483-4772-8E79-3D69D8477DE4
  116827398    4000021         
  120827419    1310709      7  GPT part - 52637672-7900-11AA-AA11-00306543ECAC
  122138128          4         Sec GPT table
  122138132          1         Sec GPT header

noting that GPT Partitions [2,3] and [5,6] do not have unique UUID.

verified reproducible on MacBook Air M1, and result is the same in installation after DFU restore

both:

curl https://alx.sh | sh

and

curl https://fedora-asahi-remix.org/install | sh
PaulCharlton commented 1 week ago

resolved as further doc diving reveals that GPT output is showing the UUID type of the partition by default