Home | History | Annotate | Line # | Download | only in amiga
prep revision 1.1
      1 You will need an AmigaDOS hard drive prep tool to prepare you hard
      2 drives for use with NetBSD/amiga.  HDToolBox is provided with the
      3 system software and on floppy installation disks since Release 2.0
      4 of AmigaDOS so we will provide instructions for its use.
      5 
      6 Preparing you hard disk with HDToolBox:
      7 
      8 	A full explanation of HDToolBox can be found with your
      9 	AmigaDOS manuals and is beyond the scope of this document.
     10 
     11 	Note you will be modifying your HD's if you mess something 
     12 	up here you could lose everything on all the drives that 
     13 	you configure.  It is therefore advised that you:
     14 
     15 		Write down your current configurations.  Do this
     16 		by examining each partition on the drive and the
     17 		drives parameters (from Change drive type.)
     18 
     19 		Back up the partitions you are keeping.
     20 
     21 	What you need to do is partition your drives; creating
     22 	at least root, swap and /usr partitions and possibly at least
     23 	one more for /local if you have the space.
     24 
     25 	This should be done as the HDToolBox manual describes.  One thing
     26 	to note is that if you are not using a Commodore controller you
     27 	will need to specify the device your SCSI controller uses e.g.
     28 	if you have a Warp Engine you would:
     29 
     30 		from cli,
     31 			hdtoolbox warpdrive.device
     32 
     33 		from wb set the tooltype,
     34 			SCSI_DEVICE_NAME=warpdrive.device
     35 
     36 	The important things you need to do above and beyond normal
     37 	partitioning includes (from Partition Drive section):
     38 
     39 		Marking all NetBSD partitions as non-bootable.
     40 
     41 		Changing the file system parameters of the partitions
     42 		to NetBSD ones.  This must be done from the
     43 		partitioning section and `Advanced options' must
     44 		be enabled.  To Make the needed changes:
     45 
     46 		- Click the `Adv. Options' button
     47 		- Click the `Change filesystem' button
     48 
     49 		- Choose `Custom File System'
     50 		- Turn off `Automount' if on.
     51 		- Set the dostype to one of these three choices:
     52 
     53 			root partition  : 0x4e425207
     54 			swap partition  : 0x4e425301
     55 			other partitions: 0x4e425507
     56 
     57 		Here `other' refers to other partitions you will
     58 		format for reading and writing under NetBSD (e.g.
     59 		/usr)
     60 
     61 		Make sure you hit the return key to enter this value
     62 		as some versions of HDToolBox will forget your entry
     63 		if you don't.
     64 
     65 		- Turn custom boot code off
     66 		- Set Reserved Blocks start and end to 0.
     67 		- Click Ok.
     68 
     69 		Mask and maxtransfer are not used with NetBSD.
     70 
     71 		Until you compile your own kernel your swap partition
     72 		must exist on the drive that also holds your root
     73 		partition.
     74 
     75 	
     76 	Once this is done NetBSD/amiga will be able to recognize your
     77 	disks and which partitions it should use.
     78