- Joined
- May 12, 2014
- Messages
- 91
- Motherboard
- Gigabyte Z97N-Wifi
- CPU
- Core i5 4590
- Graphics
- Nvidia GTX 1060 / Intel 4600HD
Hello! I'm having issues using the basebinaries method to create a macOS USB installer. I'm aware createinstallmedia can be used in most cases, but it won't work in mine as far as I know because I need to not have a recovery partition. I'm doing a reinstall of macOS on my desktop multi-boot and so there is a real limit when it comes to space; the original never had a recovery partition and I don't want one now (this drive is already partitioned all over).
My issue is that I can't get past the "mount InstallESD.dmg in installer package" step. When I try to go through with the "restore it to target" step I get that error.
P.S. My USB is named install_macOS not install_OSX, explaining why it's like that.
RehabMan's Original Instructions for BaseBinaries Method:
Help would be very appreciated!
Code:
Last login: Tue Oct 17 05:13:14 on ttys000
Kyler:~ Kyle$ mkdir /tmp/install_esd
mkdir: /tmp/install_esd: File exists
Kyler:~ Kyle$ hdiutil attach "/Applications/Install macOS High Sierra.app/Contents/SharedSupport/InstallESD.dmg" -readonly -mountpoint /tmp/install_esd -nobrowse
/dev/disk3 GUID_partition_scheme
/dev/disk3s1 EFI
/dev/disk3s2 Apple_HFS /private/tmp/install_esd
Kyler:~ Kyle$ sudo asr restore --source /tmp/install_esd/BaseSystem.dmg --target /Volumes/install_macOS -erase --format HFS+ --noprompt
Password:
Validating target...done
Validating source...
Could not recognize "/tmp/install_esd/BaseSystem.dmg" as an image file
done
Note: checksumming turned off due to format argument
Could not retrieve scan information - Invalid argument
Kyler:~ Kyle$
My issue is that I can't get past the "mount InstallESD.dmg in installer package" step. When I try to go through with the "restore it to target" step I get that error.
P.S. My USB is named install_macOS not install_OSX, explaining why it's like that.
RehabMan's Original Instructions for BaseBinaries Method:
Code:
# temporary directory
mkdir /tmp/install_esd
# mount InstallESD.dmg in installer package
hdiutil attach "/Applications/Install OS X El Capitan.app/Contents/SharedSupport/InstallESD.dmg" -readonly -mountpoint /tmp/install_esd -nobrowse
# restore it to target
sudo asr restore --source /tmp/install_esd/BaseSystem.dmg --target /Volumes/install_osx -erase --format HFS+ --noprompt
# rename the target to be less unwieldy
diskutil rename "OS X Base System" install_osx
# remove Packages symlink
rm /Volumes/install_osx/System/Installation/Packages
# copy Packages as folder
cp -a /tmp/install_esd/Packages /Volumes/install_osx/System/Installation
# copy BaseSystem.dmg
cp -a /tmp/install_esd/BaseSystem.dmg /tmp/install_esd/BaseSystem.chunklist /Volumes/install_osx
# unmount InstallESD.dmg
hdiutil detach /tmp/install_esd
# remove temporary directory
rmdir /tmp/install_esd
Help would be very appreciated!