You may also be able to restore filesystems from the miniroot. For example, if your root filesystem has been corrupted, you may be able to boot the miniroot, unmount the root filesystem, and then use the miniroot versions of restore, xfs_restore, Restore, bru, cpio, or tar to restore your root filesystem. Refer to the following discussions of these commands for details on how to use them.
To recover from system corruption using the Recover System option on the System Maintenance Menu, follow these steps:
Starting up the system...
Click the Stop for Maintenance button or press <Esc> to bring up the System Maintenance menu.
4
This System Recovery menu appears or you see a graphical equivalent:
System Recovery...
Press <Esc> to return to the menu.
1) Remote Tape 2) Remote Directory 3) Local CD-ROM 4) Local Tape
Enter 1-4 to select source type, <esc> to quit,
or <enter> to start:
Note: As of IRIX 6.2, the Remote Tape and Local Tape options on the System Recovery window are no longer usable because bootable (miniroot) software distribution tapes are no longer supported.
You then see a notifier prompting you to insert the media into the drive. Insert the IRIX CD that came with your system, then click Continue.
When a notifier appears asking you for the remote hostname, type the system's name, a colon (:), and the full pathname of the CD-ROM drive, followed by /dist. For example, to access a CD-ROM drive on the system mars, you would type:
mars:/CDROM/dist
Click Accept on the notifier window, then click Accept on the System Recovery window.
On systems without graphics, you are prompted for the host as above, then you see this menu:
1) Remote Tape 2)[Remote Directory] 3) Local CD-ROM 4) Local Tape
*a) Remote directory /CDROM/dist from server mars.
Enter 1-4 to select source type, a to select the source, <esc> to quit,
or <enter> to start:
Press <Enter>.
When a notifier appears that asks you to enter the name of the remote host, type the system's name, a colon (:), and the full pathname of the software distribution directory. For example:
mars:/dist/6.2
Click Accept on the notifier window, then click Accept on the System Recovery window.
On systems without graphics, you are prompted for the host as above, then you see this menu:
1) Remote Tape 2)[Remote Directory] 3) Local CD-ROM 4) Local Tape
*a) Remote directory /dist/6.2 from server mars.
Enter 1-4 to select source type, a to select the source, <esc> to quit,
or <enter> to start:
Press <Enter>.
************************************************************
* *
* CRASH RECOVERY *
* *
************************************************************
You may type sh to get a shell prompt at most questions
Checking for tape devices
The next message asks for the location of the tape drive that you will use to read a system backup tape you created prior to the system crash using the Backup and Restore tool on the System menu of the System Toolchest or using the Backup(1) script.
Restore will be from tapename. OK? ([y]es, [n]o): [y]
tapename is the name of the local tape device. Answer y if this is the correct tape drive and n if is not.
Remote or local restore ([r]emote, [l]ocal): [l]
Insert the first Backup tape in the drive, then
press (<enter>, [q]uit (from recovery), [r]estart):
Erase all old filesystems and make new ones (y, n, sh): [n]
You have three choices:
Do you have incremental backup tapes to restore ([y]es, [n]o (none)): [n]
Insert another tape and answer y if you have additional tape, answer n otherwise.
Reboot, start over, or first tape again? ([r]eboot, [s]tart, [f]irst) [r]
If you are ready to reboot, answer r, otherwise choose start or first.