Appendix B Building A Bootable Floppy Disk
The instructions in this appendix show how to build a floppy diskette from which you can boot programs. You should use a high density (HD, not DD) diskette. Two sets of instructions are provided:
Procedure for the Pre-Solaris 2.0 Operating Environment
Use the following procedure if you are using a pre-Solaris 2.0 version of the operating system.
-
Format the diskette.
hostname# fdformat
-
Create the diskette's file systems.
hostname# /usr/etc/newfs /dev/rfd0a
-
Mount the diskette.
hostname# mount /dev/fd0a /mnt
-
Copy the second-level disk booter to the diskette.
hostname# cp /boot /mnt
-
Install a boot block on the floppy.
hostname# /usr/mdec/installboot /mnt/boot /usr/mdec/bootfd /dev/rfd0a
-
Copy the file you want to boot to /mnt.
-
Unmount the diskette and remove it from the drive.
hostname# umount /mnt
hostname# eject floppy
Procedure for the Solaris 2.0 or 2.1 Operating Environment
Use the following procedure if you are using the Solaris 2.0 or 2.1 operating environment.
-
Format the diskette.
hostname# fdformat
-
Create the diskette's file systems.
hostname# /usr/sbin/newfs /dev/rdiskette
-
Mount the diskette.
hostname# mount /dev/diskette /mnt
-
Copy the second-level disk booter to the diskette.
hostname# cp /ufsboot /mnt
-
Install a boot block on the floppy.
hostname# /usr/sbin/installboot /usr/lib/fs/ufs/bootblk /dev/rdiskette
-
Copy the file you want to boot to /mnt.
-
Unmount the diskette and remove it from the drive.
hostname# umount /mnt
hostname# eject floppy