- 论坛徽章:
- 5
|
1. Before you begin, locate your Emergency Kit and current root backup tape
2. If possible, perform a normal system shutdown
3. At the "Safe to Power Off" prompt, turn off the power to the Unix server
4. Insert Emergency BOOT disk in the floppy diskette drive
5. Turn on the power to the Unix server
6. From system console, press ENTER at Boot: prompt
7. When prompted to do so, insert Emergency ROOT disk into the floppy drive
8. At # prompt, type the following command and press ENTER:
fsck -y /dev/hdØroot
9. The system will go through the Filesystem Check as follows:
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Free List Bitmap
xxx files xxxx blocks xxxxx free
10. At # prompt, type the following commands and press ENTER after each command:
mount /dev/hdØroot /mnt
System will hang for a couple minutes
cd /mnt
pwd
/mnt must be displayed to continue!
rm -r .*
System will hang for a couple minutes
Disregard any rm: cannot remove... messages :: they are normal
11. Insert current root backup tape into drive and type the following command:
cpio -icdumBv < /dev/rctØ
12. This will start the restore process :: the files will scroll across the screen as they are copied back onto the system.
If you receive the message "Reached end of medium on input", it is because the root backup is continued on a second tape. You will receive this message (or something similar) when the first tape is completed.
Do not press ENTER or you will abort the program! Instead, simply insert the second tape and when it is ready, type the following command and press ENTER to continue the restore.
/dev/rctØ
13. When the restore is completed, the system will return to the # prompt
14. Type the following commands and press ENTER:
cd ..
umount /dev/hdØroot
sync; sync; haltsys
15. The system will display the "Safe to Power Off" message
16. Remove floppy and tape from drives
17. Press ENTER to reboot the system
18. At the scosysv!login, log into redshaw and verify that the system is working properly
|
|