UbuntuAsahi / ubuntu-asahi

Native Ubuntu installations for Apple silicon hardware
https://ubuntuasahi.org/
869 stars 27 forks source link

Mac mini M2 free space blocked #91

Open ahmeier opened 9 months ago

ahmeier commented 9 months ago

I tried to install Ubuntu using the install script, but even after removing all local timemachine snapshots and completing all software updates the free space on the internal HD remains blocked. I have a 1TB internal HD and there is 380GB of free space when checking on disk utility. I can add additional APFS containers, but the install script complains of overhead blocking the free space. It seems that for some reason it is impossible to access the existing free space.

Hardware: Mac Mini M2 model 13,14

Any suggestions what else to do?

tobhe commented 9 months ago

Hi! Hard to tell what exactly is wrong without some more information. Can you show us the output of diskutil list?

eslerm commented 9 months ago

@ahmeier the attached logs did not format well. Could you please fix-up the markdown in your comment?

Disabling Time Machine and Asahi's Partition Cheatsheet may help.

ahmeier commented 9 months ago

Sorry, sent comment by email, here is the better formatted output: /dev/disk0 (internal, physical): | #: |TYPE NAME |SIZE. | IDENTIFIER| | 0: |GUID_partition_scheme |*1.0 TB | disk0 | 1: |Apple_APFS_ISC Container disk1 | 524.3 MB | disk0s1 | 2:|Apple_APFS Container disk3 | 994.7 GB | disk0s2 | 3:|Apple_APFS_Recovery Container disk2| 5.4 GB disk0s3

/dev/disk3 (synthesized):

: TYPE NAME SIZE IDENTIFIER

0: APFS Container Scheme - +994.7 GB disk3 Physical Store disk0s2 1: APFS Volume Macintosh HD 10.1 GB disk3s1 2: APFS Snapshot com.apple.os.update-... 10.1 GB disk3s1s1 3: APFS Volume Preboot 6.0 GB disk3s2 4: APFS Volume Recovery 909.4 MB disk3s3 5: APFS Volume Data 632.8 GB disk3s5 6: APFS Volume VM 1.1 GB disk3s6

tobhe commented 9 months ago

I can't spot anything obviously wrong in there. As @eslerm said it might have to do with time machine, see https://github.com/AsahiLinux/asahi-installer/issues/86