|
|
For instructions on creating an emergency recovery boot CD, see the emerg_disk(1M) manual pages. The following is an example of creating boot diskettes.
mymachine mymachine 22 June 2001 22 June 2001 Emergency Recovery Emergency Recovery Diskette 1 Diskette 2
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.
To determine which filesystems have enough space, enter:
/sbin/dfspace
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 recovery media.
pathname is the filesystem you selected. diskette is the diskette drive where you will insert the diskette (either diskette1 or diskette2).
The following example creates an emergency recovery diskette on
the first diskette drive, using the /home filesystem as its
working directory:
/sbin/emergency_disk -d /home diskette1
Creating each emergency recovery disk takes about fifteen minutes.
Store the emergency recovery disks in a secure location.
After you create the emergency recovery diskettes, do one of the following: