# This is an example of a customise script.

# If necessary, load a SCSI device:
# load aha1542.o arg1=0 arg2=0x300
load aha1542.o

# If necessary, create device files:
# mknod hda9
# mknod sdc
mknod sda9

# You may run fdisk:
#	fdisk			(interactive)
#	fdisk /dev/sdb		(interactive on /dev/sdb)
#	fdisk /dev/hda script	(using script commands, as below)
    fdisk /dev/hda script
# Input for fdisk must be left justified, but comments may appear.
# Print partition table.
p
# delete old partitions
d
1
d
2
d
3
d
4
# create a swap partition
n
p
1
1
217
# create a partition for a Linux file system
n
p
2
218
977
# change the code for partition 1 to Linux swap
t
1
82
# mark partition 2 as active
a
2
# print the new table and write it to disk
p
w

# Initialise a swap partition:
#	mkswap			(interactive)
#	mkswap /dev/hda5	(without user input)
	mkswap /dev/hda1

# Activate an existing swap partition:
#	swapon			(interactive)
#	swapon /dev/hda5	(without user input)

# Make a new file system.
#	mkfs			(interactive)
#	mkfs /dev/hda3		(automatic, ext2)
	mkfs /dev/hda2

# Mount partitions for installation.
#	mount /dev/hda6 /usr/src
# Note that both fields must be specified, and that
# directories 'closer' to the root '/' must be mounted first.
	mount /dev/hda2 /

# Install on the mounted partitions.
	install

# Reboot after installation.  Without this, you can run /bin/sh to
# check the system out.
	reboot

# end of script.
