Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use diskutil and installer on the Mac OS X Install CD' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use diskutil and installer on the Mac OS X Install CD
Authored by: risc on Nov 09, '04 07:01:16PM

Uhh, neat. But I'd really be impressed if I could:
1) Boot to CD
2) Connect to a network drive
3) Use Disk Utility to restore from a img or dmg on a network drive

(It's step 2 to I can't figure out while booted to CD)

---
RISC



[ Reply to This | # ]
Use diskutil and installer on the Mac OS X Install CD
Authored by: seann on Nov 09, '04 11:11:39PM

easy

rename terminal.app to startupdisk.app

make sure it runs, you'll have to change a few things.

copy that to the cd.

blah blah

now when you open up startupdisk
it opens terminal

do an asr -source http://file/to.dmg -target /dev/disks0

i'll see if I can post that script I have to do all the auto partitioning



[ Reply to This | # ]
Use diskutil and installer on the Mac OS X Install CD
Authored by: pstadelmann on Nov 10, '04 03:40:35AM

Put the .dmg file on a web server, and enter the URL in the "Source" field of the "Restore" panel in Disk Utility.



[ Reply to This | # ]
Use diskutil and installer on the Mac OS X Install CD
Authored by: Mendenhall on Nov 10, '04 01:36:39PM

Try
man mount_afp
mount_afp mounts afp volumes from the command line. It will probably do what you want. It is quite useful for remote administration. It also makes it possible to mount volumes somewhere other than in /Volumes, so you can mount a volume over a private directory.



[ Reply to This | # ]
Use diskutil and installer on the Mac OS X Install CD
Authored by: macevangelist on Nov 10, '04 02:01:36PM

The problem is that the Install CD does not have the necessary frameworks installed to use the mount_afp tool.

The frameworks are in the installer packages on the CD but there's no gunzip to retrieve the pax file, installer only extracts packages according to the .bom file and there's no tool to edit the .bom file. You could mount an additional RAM disk and install the BSD.pkg package on it to get gunzip. Then you'll also need around 450MB free on a RAM disk to extract the pax file from the Essentials.pkg package in order to finally get the frameworks we're missing for mount_afp.

As far as I see it there's really no easy way to enable afp drive mounting on an 'out-of-the-box' Mac OS X Install CD but there's always the possibility to create a custom Mac OS X Install CD.



[ Reply to This | # ]