HFSFromScratch
From code/src wiki
				This page is incomplete. I cannot boot from the resulting disk yet.
Goal: To install Macintosh System 7.5.3 from scratch using only 1 SCSI2SD and a Linux PC with an SD card reader.
- The Mac cannot be booted using a floppy disk, or any other disk
Step 1: Use hfdisk to partition the 2GB SD card. We want to end up with the following partition layout:
| type | Starting Sector | # of sectors | Description | 
|---|---|---|---|
| Apple_partition_map | 1 | 63 | Partition table | 
| Apple_Driver | 64 | 32 | SCSIManager driver, normally provided by Apple Drive Setup | 
| Apple_HFS | 96 | 2880 | 1.44Mb Network boot disk image | 
| Apple_HFS | 2976 | 201823 | OS Installation target volume | 
$ sudo ./hfdisk /dev/sdc
Step 2: Copy the SCSI driver data
$ sudo dd if=/path/to/driver.image of=/dev/sdc seek=64 bs=512
Step 3: Copy the Network Access disk image
$ sudo dd if=/path/to/Network\ Access.image of=/dev/sdc seek=96 bs=512
Step 4: Copy the OS install files
# hformat /dev/sdc 2 # hmount /dev/sdc 2 # hcopy ~/System7/* :
Step 5: ?? Hexedit to change driver partition map entry 0x458 (status) to 0000007f Hexedit to change driver processor type entry 0x478 3638 3030 3000

