Under ArchLinux for macbookpro 11,1 create OSX-10.10 U disk installation environment, macbookosx10.10
Enter it as a note and sort it out later:
[NEED]
Tools: linux, dmgimg (with dmgimg on AUR)
Files: osx-10.10.dmgu Disk: greater than 6 GB
[STEP]
1. Prepare a USB flash drive
Mkfs. hfsplus/dev/sdxy (sdx is a USB flash drive and sdxy is a partition larger than 6 GB)
Mount/dev/sdxy usb
2. Obtain BaseSystem. dmg, BaseSystem. chunklist, and Packages.
Dmg2img-p 5 OSX. dmg OSX. p5.imgmount-o loop OSX. p5.img osx
Dmg2img-p3 osx/xxx/InstallESD. dmg InstallESD. p3.img
Mount-o loop InstallESD. p3.img esd
3. Construct BaseSystem
Dmg2img-p3 esd/BaseSystem. dmg BaseSystem. p3.imgmount-o loop BaseSystem. p3.img bs
Cp-r bs/* usb/
4. copy the files required for conversion
Rm usb/System/Installiation/Packages
Cp-r esd/Packages usb/System/Installiation/
Cp esd/BaseSystem. dmg esd/BaseSystem. chunklist usb/