First a little background:
I wanted to have all of my 80GB ide drive usable as a single sfs formatted boot volume.
Because my A1200 has 3.0 kickstart roms, I'm stuck only being able to boot from within the first 4GB of the drive.
Initially the procedure below was developed to let me bootstrap from a small 4MB partition on my drive, load all the necessary patches, then reboot to the large ~75GB partition.
While I was working this out Cammy said it would be awesome if it worked for CF0: as well.
You can use a floppy, or a dedicated partition for this, it doesn't really matter.
The startup-sequence below will load the patched scsi.device reset resident, mount the compactflash.device, check for a card in CF0:, then boot to CF0: or DH0:.
I chose to name my bootstrap partition BS0:, and label it Bootstrap:
Change the relevant lines as needed, and enable the dismount if you don't want to see the partition ever again.
; $VER: Startup-Sequence_BootStrap 1.2 (10.14.10)
; Startup-Sequence for boot-strapping hard drive systems
; Author: David Kuder (GrizzlyAdams, grizzly@thewaffleiron.net)
Path RESET
Path SYS:C
; Load a nsd/td64 patched scsi.device
C:LoadModule Devs:scsi.device
; Mount needs ENV:, Thomas suggested just pointing it at RAM:
C:Assign ENV: RAM:
; Try to mount a CF card.
C:Mount Devs:DOSDrivers/CF0
C:IsInserted CF0:
IF NOT WARN
IF EXISTS CF0:S/Startup-Sequence
; Try to boot the startup-sequence we found
C:Assign SYS: CF0:
SKIP DONE
ENDIF
ENDIF
; Unable to boot from CF0, try DH0
C:Assign SYS: DH0:
LAB DONE
; These are the normal assigns you get on a Workbench disk.
; FIXME: We should assign targeting SYS: when the target folder
; doesn't exist. This would match the behavior of the Kickstart.
C:Assign S: SYS:S
C:Assign L: SYS:L
C:Assign FONTS: SYS:Fonts
C:Assign DEVS: SYS:Devs
C:Assign LIBS: SYS:Libs
C:Assign C: SYS:C
Path RESET
Path SYS:C
Path SYS:S ADD
; Uncomment these to hide the bootstrap partition
; DON'T use these lines on a floppy.
;C:Assign BS0: DISMOUNT
;C:Assign Bootstrap: DISMOUNT
; Run the real startup-sequence from the target partition
Execute S:Startup-Sequence
; End of Bootstrap:S/Startup-Sequence
And the other files you need on the bootstrap disk:
Filename Where to find it
-------------------------- --------------------------------------
C/LoadModule www.nyx.net/~rdavis/SCSI_IDE43_23.lha
C/Assign Your Workbench disk
C/MakeDir Your Workbench disk
C/Mount Your Workbench disk
C/IsInserted aminet.net/util/boot/IsInserted.lha
Devs/compactflash.device aminet.net/disk/misc/cfd.lha
Devs/DOSDrivers/CF0 aminet.net/disk/misc/cfd.lha
Devs/scsi.device www.nyx.net/~rdavis/SCSI_IDE43_23.lha
L/fat95 aminet.net/disk/misc/fat95.lha
L/SmartFileSystem strohmayer.org/sfs/files/SFS_1.279_68k.lha
As you can see there is plenty of room left for other patches, reset-resident modules, etc. Comments and contributions are always welcome!