Creating emergency recovery boot media
For instructions on creating an emergency recovery boot CD, see the
The following is an example of creating boot diskettes.
command to create two formatted diskettes. For example, this command
creates a formatted, 1.44MB diskette in the primary diskette drive:
format -v /dev/rdsk/f03ht
Label the diskettes with the name of the system, date created,
and their name and number. For example:
22 June 2001 22 June 2001
Emergency Recovery Emergency Recovery
Diskette 1 Diskette 2
Emergency recovery disks are customized for a particular system and
only work on that system.
Switch from the graphical environment to the system console, by pressing
<Ctrl><Alt><Esc>. Log in to the system console as root.
Ensure that /var is mounted.
Make sure there are no active users on the system. Enter:
If root is the only user logged in, bring the
system to single-user mode with this command:
shutdown -y -g0 -i1
If other users are listed, bring the system to single-user
mode with this command:
shutdown -y -g300 -i1
The -g300 flag in this command allows users 5 minutes
(300 seconds) to close their files and log out. A broadcast
message from root provides warnings that the system
is coming down.
After the system enters single-user mode,
determine in which filesystem you will create the recovery media.
The filesystem must contain at least 30 MB of free space.
To determine which filesystems have enough space, enter:
For example, you might see:
/ : Disk space: 195.10 MB of 429.00 MB available (45.48%)
/stand : Disk space: 5.82 MB of 9.99 MB available (58.28%)
/home : Disk space: 238.86 MB of 479.00 MB available (49.87%)
/tmp : Disk space: 7.98 MB of 8.00 MB available (99.85%)
/var/tmp : Disk space: 9.99 MB of 8.99 MB available (90.00%)
In this example, only the root (/) and /home
filesystems have enough space to be used in creating the emergency
/sbin/emergency_disk -d pathname diskette
pathname is the filesystem you selected.
diskette is the diskette drive where you
will insert the diskette (either diskette1 or
The following example creates an emergency recovery diskette on
the first diskette drive, using the /home filesystem as its
/sbin/emergency_disk -d /home diskette1
When prompted, insert the first formatted disk into the
appropriate diskette drive.
Creating each emergency recovery disk takes about fifteen minutes.
When prompted, remove the first diskette,
insert the second diskette and press <Enter>.
When prompted, remove the diskette from the diskette drive.
Store the emergency recovery disks in a secure location.
When you try to create a set of emergency floppies, you may
fail and encounter messages stating that modules such as
/dev/dsk/c0b0t0d0s? and /home2 could not be found. If this
occurs, you should comment out the /home2 line in /etc/vfstab.
After you create the emergency recovery diskettes, do one of the following:
If your system has a tape drive, you should now
create emergency recovery tapes.
If your system does not have a tape drive, then you should now
create a full system backup onto the network or other media.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004