Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
ppc-osx-on-qemu-for-osx [2018/05/03 15:22] – [Booting the installed Mac OS] cat_7 | ppc-osx-on-qemu-for-osx [2018/05/20 00:20] – [Various utilities] cat_7 | ||
---|---|---|---|
Line 165: | Line 165: | ||
You can download some of these experimental builds from our forum: http:// | You can download some of these experimental builds from our forum: http:// | ||
+ | |||
+ | |||
+ | ==== Various utilities ==== | ||
+ | |||
+ | === Script to prepare a hard disk image for use with OSX Server 1.2v3 or Developer preview 2. === | ||
+ | |||
+ | * Remove the # in front of the desired disksize:\\ | ||
+ | |||
+ | #!/bin/sh \\ | ||
+ | |||
+ | TARGET_IMAGE=Mac_OS_X_Server_1.0-4G.img \\ | ||
+ | |||
+ | #1G \\ | ||
+ | DISKSIZE_IN_BLOCKS=2097152 \\ | ||
+ | |||
+ | #2G \\ | ||
+ | # | ||
+ | |||
+ | #4G \\ | ||
+ | # | ||
+ | |||
+ | PRIMARY_PARTITIONSIZE_IN_BLOCKS=`expr $DISKSIZE_IN_BLOCKS - 512 - 16384 - 64` \\ | ||
+ | |||
+ | echo $PRIMARY_PARTITIONSIZE_IN_BLOCKS \\ | ||
+ | |||
+ | pdisk $TARGET_IMAGE -initialize \\ | ||
+ | pdisk $TARGET_IMAGE -createPartition MOSX_OF3_Booter Apple_HFS 64 16384 \\ | ||
+ | pdisk $TARGET_IMAGE -createPartition SecondaryLoader Apple_Loader 16448 512 \\ | ||
+ | pdisk $TARGET_IMAGE -createPartition " | ||
+ | |||
+ | \\ | ||
+ | |||