t2linux / wiki

Repository for the t2linux.org wiki
https://wiki.t2linux.org
Creative Commons Attribution Share Alike 4.0 International
175 stars 63 forks source link

Wifi - macOS stage, which disk I should choose? #507

Closed kkawula closed 5 months ago

kkawula commented 7 months ago

500 - I want reference to firmware.sh. What does actually EFILABEL mean?

EFILABEL=$(diskutil info disk0s1 | grep "Volume Name" | cut -d ":" -f 2 | xargs)

after sh firmware.sh I got: Volume on disk0s1 failed to mount because it appears to be an APFS Physical Store (or is the APFS Container already mounted?) See "diskutil apfs list"

after diskutil apfs list Which one I should choose?


|
+-- Container disk1 53B29EDF-E9A...
    ====================================================
    APFS Container Reference:     disk1
    Size (Capacity Ceiling):      225702391808 B 
    Capacity In Use By Volumes:   191816499200 B
    Capacity Not Allocated:       33885892608 B 
    |
    +-< Physical Store disk0s1 19DA1478-1AA....
    |   -----------------------------------------------------------
    |   APFS Physical Store Disk:   disk0s1
    |   Size:                       225702391808 B (225.7 GB)
    |
    +-> Volume disk1s1 00DD5A2C..
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s1 (Data)
    |   Name:                      Macintosh HD – dane (Case-insensitive)
    |   Mount Point:               /System/Volumes/Data
    |   Capacity Consumed:         175827320832 B 
    |   Sealed:                    No
    |   FileVault:                 No (Encrypted at rest)
    |
    +-> Volume disk1s2 5B3BE696..
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s2 (Preboot)
    |   Name:                      Preboot (Case-insensitive)
    |   Mount Point:               /System/Volumes/Preboot
    |   Capacity Consumed:         2315165696 B (2.3 GB)
    |   Sealed:                    No
    |   FileVault:                 No
    |
    +-> Volume disk1s3 F03256AE-...
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s3 (Recovery)
    |   Name:                      Recovery (Case-insensitive)
    |   Mount Point:               Not Mounted
    |   Capacity Consumed:         1228713984 B (1.2 GB)
    |   Sealed:                    No
    |   FileVault:                 No
    |
    +-> Volume disk1s4 40A0BE3...
    |   ---------------------------------------------------
    |   APFS Volume Disk (Role):   disk1s4 (VM)
    |   Name:                      VM (Case-insensitive)
    |   Mount Point:               /System/Volumes/VM
    |   Capacity Consumed:         2147700736 B (2.1 GB)
    |   Sealed:                    No
    |   FileVault:                 No
    |
    +-> Volume disk1s5 75A1807C-F...
        ---------------------------------------------------
        APFS Volume Disk (Role):   disk1s5 (System)
        Name:                      Macintosh HD (Case-insensitive)
        Mount Point:               Not Mounted
        Capacity Consumed:         10129379328 B (10.1 GB)
        Sealed:                    Yes
        FileVault:                 No (Encrypted at rest)
        |
        Snapshot:                  EF761142-32....
        Snapshot Disk:             disk1s5s1
        Snapshot Mount Point:      /
        Snapshot Sealed:           Yes```
sharpenedblade commented 7 months ago

$EFILABEL is the name of the ESP when it is mounted in /Volumes, it's EFI if you didn't change it manually. disk0s1 should be a ~500mb FAT32 partition, if you get an error about APFS it means you messed up something. Post the output of diskutil list (put it between ``` to format it right).

kkawula commented 6 months ago
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *251.0 GB   disk0
   1:                 Apple_APFS Container disk1         225.7 GB   disk0s1
   2:                        EFI NO NAME                 999.3 MB   disk0s2
   3:           Linux Filesystem                         24.0 GB    disk0s3

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +225.7 GB   disk1
                                 Physical Store disk0s1
   1:                APFS Volume Macintosh HD – dane     175.3 GB   disk1s1
   2:                APFS Volume Preboot                 2.3 GB     disk1s2
   3:                APFS Volume Recovery                1.2 GB     disk1s3
   4:                APFS Volume VM                      1.1 GB     disk1s4
   5:                APFS Volume Macintosh HD            10.1 GB    disk1s5
   6:              APFS Snapshot com.apple.os.update-... 10.1 GB    disk1s5s1
sharpenedblade commented 6 months ago

Your ESP is on disk0s2, which is not the default. Open the script in a text editor and replace disk0s1 with disk0s2 everywhere in the script. Also replace nvme0n1p1 with nvme0n1p2.

kkawula commented 5 months ago

it worked