A P P E N D I X 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.

1. Format the diskette.

hostname# fdformat 

2. Create the diskette's file systems.

hostname# /usr/etc/newfs  /dev/rfd0a 

3. Mount the diskette.

hostname# mount /dev/fd0a  /mnt 

4. Copy the second-level disk booter to the diskette.

hostname# cp /boot  /mnt

5. Install a boot block on the floppy.

hostname# /usr/mdec/installboot /mnt/boot /usr/mdec/bootfd /dev/rfd0a 

6. Copy the file you want to boot to /mnt .

7. 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.

1. Format the diskette.

hostname# fdformat 

2. Create the diskette's file systems.

hostname# /usr/sbin/newfs  /dev/rdiskette 

3. Mount the diskette.

hostname# mount /dev/diskette  /mnt 

4. Copy the second-level disk booter to the diskette.

hostname# cp /ufsboot  /mnt 

5. Install a boot block on the floppy.

hostname# /usr/sbin/installboot /usr/lib/fs/ufs/bootblk /dev/rdiskette 

6. Copy the file you want to boot to /mnt .

7. Unmount the diskette and remove it from the drive.

hostname# umount /mnt 
hostname# eject floppy 

Copyright © 2001, Sun Microsystems, Inc. All rights reserved.