Procedure for creating a bootable SunOS floppy diskette.
1. Insert floppy in Diskette Drive.
2. newfs /dev/rfd0c
3. mount /dev/fd0 /mnt
4. cp /usr/mdec/bootfd /mnt/bootfd
5. cp /usr/kvm/stand/boot.sun4c /mnt/boot
6. /usr/mdec/installboot /mnt/boot bootfd /dev/rfd0c
7. Copy your vmunix kernel to the floppy.
Note: There will only be ~950K remaining so the vmunix
will have to be very small.
Here is a sample installation session:
# newfs /dev/rfd0c
/dev/rfd0c: 2880 sectors in 80cylinders of 2 tracks,
18 sectors
1.5MB in 5 cyl groups (16 c/g, 0.29MB/g, 128 i/g)
super-block backups (for fsck -b #) at:
32, 640, 1184, 1792, 2336,
# mount /dev/fd0 /mnt
# cp /usr/mdec/bootfd /mnt
# cp /usr/kvm/stand/boot.sun4c /mnt/boot
# installboot -v /mnt/boot bootfd /dev/rfd0c
Primary boot: bootfd
Secondary boot: /mnt/boot
Boot device: /dev/rfd0c
Bootblock will contain a.out header
Boot size: 0x1af40
Boot checksum: 0xf22db98e
Boot block installed
# ls /mnt
boot bootfd lost+found