Emaculation.com

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
ppc-osx-on-qemu-for-osx [2018/05/20 00:13] – [Currently known issues] cat_7ppc-osx-on-qemu-for-osx [2018/05/20 00:20] – [Various utilities] cat_7
Line 169: Line 169:
 ==== Various utilities ==== ==== Various utilities ====
  
-Script to prepare a hard disk for use with Server 1.23 or Developer preview 2:+=== Script to prepare a hard disk image for use with OSX Server 1.2v3 or Developer preview 2. === 
  
-#!/bin/sh \+  * Remove the in front of the desired disksize:\\
  
-TARGET_IMAGE=Mac_OS_X_Server_1.0-4G.img \+#!/bin/sh \\
  
-#1G \ +TARGET_IMAGE=Mac_OS_X_Server_1.0-4G.img \\
-DISKSIZE_IN_BLOCKS=2097152 \+
  
-#2G +#1G \
-#DISKSIZE_IN_BLOCKS=4194304\+DISKSIZE_IN_BLOCKS=2097152 \\
  
-#4G +#2G \
-#DISKSIZE_IN_BLOCKS=8388608 \+#DISKSIZE_IN_BLOCKS=4194304\\
  
-PRIMARY_PARTITIONSIZE_IN_BLOCKS=`expr $DISKSIZE_IN_BLOCKS - 512 - 16384 - 64` \+#4G \\ 
 +#DISKSIZE_IN_BLOCKS=8388608 \\
  
-echo $PRIMARY_PARTITIONSIZE_IN_BLOCKS \+PRIMARY_PARTITIONSIZE_IN_BLOCKS=`expr $DISKSIZE_IN_BLOCKS - 512 - 16384 - 64` \\
  
-pdisk $TARGET_IMAGE -initialize \ +echo $PRIMARY_PARTITIONSIZE_IN_BLOCKS \\ 
-pdisk $TARGET_IMAGE -createPartition MOSX_OF3_Booter Apple_HFS 64 16384 \ + 
-pdisk $TARGET_IMAGE -createPartition SecondaryLoader Apple_Loader 16448 512 \ +pdisk $TARGET_IMAGE -initialize \
-pdisk $TARGET_IMAGE -createPartition "0x000001FF 0x0008 0x00" Apple_Rhapsody_Inst 16960 $PRIMARY_PARTITIONSIZE_IN_BLOCKS \+pdisk $TARGET_IMAGE -createPartition MOSX_OF3_Booter Apple_HFS 64 16384 \
 +pdisk $TARGET_IMAGE -createPartition SecondaryLoader Apple_Loader 16448 512 \
 +pdisk $TARGET_IMAGE -createPartition "0x000001FF 0x0008 0x00" Apple_Rhapsody_Inst 16960 $PRIMARY_PARTITIONSIZE_IN_BLOCKS \\ 
 + 
 +\\