OpenBoot 2.x Command Reference Manual
  Sök endast i den här boken
Ladda ner denna bok i PDF

Building A Bootable Floppy Disk

B

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:
  • Page 101 describes the procedure for systems using pre-Solaris 2.0 operating environments.
  • Page 102 describes the procedure for systems using the Solaris 2.0 or 2.1 operating environments.

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  

  1. Create the diskette's file systems.


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

  1. Mount the diskette.


  hostname# mount /dev/fd0a  /mnt  

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


  hostname# cp /boot  /mnt  

  1. Install a boot block on the floppy.


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

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

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

  1. Create the diskette's file systems.


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

  1. Mount the diskette.


  hostname# mount /dev/diskette  /mnt  

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


  hostname# cp /ufsboot  /mnt  

  1. Install a boot block on the floppy.


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

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

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


  hostname# umount /mnt  
  hostname# eject floppy