All pastes #811699 Raw Edit

Someone

public text v1 · immutable
·published 2007-12-11 03:52 UTC
rendered paste body
SlipstreamOSX v1.0 rc4 by Dense <slipstreamosx@gmail.com> 

A Mac OS X Install DVD conversion script

The complete process will take approximately 30 mins.

Stage 1: Convert Image 
Skipping...

Stage 2: Remove unnecessary files from image 
Mounting editable image...
Removing Xcode...
Removing printer packages...
  Removing BrotherPrinterDrivers.pkg
  Removing CanonPrinterDrivers.pkg
  Removing EpsonPrinterDrivers.pkg
  Removing FujiXeroxPrinterDrivers.pkg
  Removing GutenprintPrinterDrivers.pkg
  Removing HewlettPackardPrinterDrivers.pkg
  Removing LexmarkPrinterDrivers.pkg
  Removing RicohPrinterDrivers.pkg
  Removing SamsungPrinterDrivers.pkg
  Removing XeroxPrinterDrivers.pkg
Removing language packages...
  Removing BrazilianPortuguese.pkg
  Removing Danish.pkg
  Removing Dutch.pkg
  Removing Finnish.pkg
  Removing French.pkg
  Removing German.pkg
  Removing Italian.pkg
  Removing Japanese.pkg
  Removing Korean.pkg
  Removing Norwegian.pkg
  Removing Polish.pkg
  Removing Portuguese.pkg
  Removing Russian.pkg
  Removing SimplifiedChinese.pkg
  Removing Spanish.pkg
  Removing Swedish.pkg
  Removing TraditionalChinese.pkg
  Removing DeTier.pkg
Moving incompatible extensions...
  Moving AppleHWSensor.kext
  Moving AppleIntelCPUPowerManagement.kext
  Moving AppleEFIRuntime.kext

Stage 3: Add necessary files to image 
Adding updates...
  Attaching update...
  Update found: Mac OS X 10.5.1 Update
  Extracting metapackage...
  Recreating package...
Adding extensions...
  Copying ALCinject.kext 
  Creating package for ALCinject.kext...
  Copying AppleAC97Audio.kext 
  Creating package for AppleAC97Audio.kext...
  Copying AppleAzaliaAudio.kext 
  Creating package for AppleAzaliaAudio.kext...
  Copying AppleHDA.kext (Replaced)
  Creating package for AppleHDA.kext...
  Copying ApplePS2Controller.kext 
  Creating package for ApplePS2Controller.kext...
  Copying AppleRTL8169Ethernet.kext 
  Creating package for AppleRTL8169Ethernet.kext...
  Copying AppleSMBIOS.kext (Replaced)
  Creating package for AppleSMBIOS.kext...
  Copying IONetworkingFamily.kext (Replaced)
  Creating package for IONetworkingFamily.kext...
  Copying NVinject.kext 
  Creating package for NVinject.kext...
  Copying dsmos.kext 
  Creating package for dsmos.kext...
Adding plugins...
  Copying ACPIPS2Nub.kext to AppleACPIPlatform 
  Creating package for ACPIPS2Nub.kext...
  Copying AppleBCM440XEthernet.kext to IONetworkingFamily 
  Creating package for AppleBCM440XEthernet.kext...
  Copying AppleIntelPIIXATA.kext to IOATAFamily (Replaced)
  Creating package for AppleIntelPIIXATA.kext...
Injecting device identifiers...
  Adding 039110de to NVDANV40Hal...
  Creating package for Geforce 7600GT...
  Adding 0x29228086 to AppleAHCIPort...
  Creating package for Intel ICH9-R...
  Adding 2363197b to JMicronATA...
  Creating package for JMicron 363...
Adding kernel...
  Creating package for kernel...
Adding boot files...
  Creating package for boot files...
Creating cleanup package...
Adding installation script...
  Removing section for printers...
  Removing section for languages...
  Removing section for extras...
Updating kernel caches (warnings may be ignored)...
  Mac OS X 10.4 detected. Using alternative kextcache method.
kernel extension /Volumes/Mac OS X Install DVD/System/Library/Extensions/IOVideoFamily.kext/Contents/PlugIns/IOVideoDeviceUserClient.kext is not valid; skipping it and any plugins
Fixing miscellaneous issues...
  Updating boot loader configuration...
  Creating StartupItems...
  Disabling Dynamic Pager...
  Disabling mDNSResponder...
  Adding hexdump...

Stage 4: Generate bootable image 
Mounting modified image...
Creating boot image...
Creating resized image (4438M)... (3 mins) 22:44:47
..............................................................................
created: /Users/Steve/desktop/slipstreamosx-1.0rc3/images/MacOSX105_slipstream.dmg
Mounting resized image...
Initializing partition table...
Creating the data partition...
3
Inserting boot file system...
1756+0 records in
1756+0 records out
899072 bytes transferred in 0.772404 secs (1163992 bytes/sec)
Creating data file system...
Initialized /dev/rdisk5s3 as a 4437 MB HFS Plus volume
Remounting resized image...
Copying data... (8 mins) 22:45:51
        Validating target...done
        Validating source...done
        Validating sizes...done
        Restoring...
        Copying "/Volumes/Mac OS X Install DVD" (/dev/disk4s3) to "/Volumes/Mac OS X Install DVD Slipstream" (/dev/disk5s3)...
Detaching images...

Stage 5: Deploy image 
Disk renamed to Image
Copying data... (8 mins) 22:49:16
        Validating target...done
        Validating source...done
        Erasing target device /dev/disk3s1...done
        Validating sizes...done
        Restoring  ....10....20....30....40....50....60....70....80....90....100
        Remounting target volume...done
Disk renamed to Image
Updating boot configuration...
Making volume bootable...
Volume /dev/disk3s1 unmounted
1+0 records in
1+0 records out
512 bytes transferred in 0.001937 secs (264306 bytes/sec)
HFS+ filesystem detected
Looking for 1 words free
reading 64884736,4096
Marking word 500
writing back 64884736,4096
allocated blocks 32 at start 16000
Volume /dev/disk3s1 mounted

Stage 6: Cleanup 

Process complete!

If there were any errors you should proceed with caution, it is highly
likely the resulting image will not work.

The converted image is now ready to be burned to a DVD.