aviral2552 / macOS-toolkit

A collection of macOS utilities and workarounds that may interest a developer/power user who is using the platform.
GNU General Public License v3.0
63 stars 22 forks source link

Always fails at 'No space left on device' #3

Closed civet closed 5 years ago

civet commented 5 years ago

OS X 10.11.6 500GB+ free space trying to create a OS X 10.11 (El Capitan) ISO

sudo chmod 755 macOS_ISO_creator.sh

./macOS_ISO_creator.sh

-e Attaching InstallESD.dmg...

/dev/disk2              GUID_partition_scheme           
/dev/disk2s1            EFI                             
/dev/disk2s2            Apple_HFS                       /private/tmp/osx-image.mT5/input_mount
-e Creating sparse image...
created: /tmp/osx-image.mT5/osx.sparseimage
-e Mounting sparse image...
/dev/disk3              Apple_partition_scheme          
/dev/disk3s1            Apple_partition_map             
/dev/disk3s2            Apple_HFS                       /private/tmp/osx-image.mT5/build_mount
-e Restoring BaseSystem.dmg...
    Validating target...done
    Validating source...done
    Retrieving scan information...done
    Validating sizes...done
    Restoring  ....10....20....30....40....50....60....70....80....90....100
    Remounting target volume...done
-e Detected OS X version: 10.11.2, build 15C50
-e Replacing Packages link with actual files...
-e Copying dependency files...
"disk3" unmounted.
"disk3" ejected.
"disk2" unmounted.
"disk2" ejected.
-e Creating iso image...

hdiutil: convert failed - No space left on device
-e Could not create iso image.

but I just follow this post http://anadoxin.org/blog/creating-a-bootable-el-capitan-iso-image.html and create success

aviral2552 commented 5 years ago

It should work now. The problems seemed to be with the program trying to create a 7500 GB temporary image, instead of a 7500 MB image.