Avaya R3.0 manual Booting into rescue mode, linux rescue

Page 28
Booting into rescue mode

Operating System Recovery

Booting into rescue mode

Rescue mode provides the ability to boot a small Red Hat Enterprise Linux environment entirely from a diskette, CD-ROM, or some other boot method instead of the system's hard drive.

During normal operation, the Red Hat Enterprise Linux Server Edition 3.0 system uses files located on the system’s hard drive to do all functions, including run programs and store files. However, if you cannot access files on the system’s hard drive, you can use rescue mode to access the files stored on the system’s hard drive. This is done even if you cannot run Red Hat Enterprise Linux from the hard drive. Use the following procedure to boot into rescue mode:

1.In order to boot into rescue mode, you must be able to use one of the following methods:

Using an installation boot diskette.

Using an installation boot CD-ROM.

Using the Red Hat Enterprise Linux CD-ROM #1.

2.Add the keyword rescue as a kernel parameter. For example, for an x86 system, type the following command at the installation boot prompt:

linux rescue

3.Answer the prompts, including which language to use. It also prompts you to select where a valid rescue image is located. Select from Local CD-ROM, Hard Drive, NFS image, FTP, or HTTP. The location selected must contain a valid installation tree, and the installation tree must be for the same version of Red Hat Enterprise Linux as the Red Hat Enterprise Linux CD ROM #1 from which you booted.

Note:

If you used a boot CD-ROM or diskette to start rescue mode, the installation tree must be from the same tree from which the media was created. For more information about how to setup an installation tree on a hard drive, NFS server, FTP server, or HTTP server, see the Red Hat Enterprise Linux Installation Guide.

4.If you select a rescue image that does not require a network connect, you are asked whether or not you want to establish a network connection. A network connection is useful if you need to backup files to a different computer or install some RPM packages from a shared network location, for example. You will also see the following message:

The rescue environment will now attempt to find your Red Hat Linux installation and mount it under the directory /mnt/sysimage. You can then make any changes required to your system. If you want to proceed with this step choose 'Continue'. You can also choose to mount your file systems read-only instead of read-write by choosing 'Read-only'.

If for some reason this process fails you can choose 'Skip'

and this step will be skipped and you will go directly to a command shell.

28 Secure Services Gateway (SSG) Maintenance Guide

Image 28
Contents Secure Services Gateway SSG Maintenance Guidein support of the Secure Access and Control Offer SAC R3.0 19-300174 Issue 6 August2005 Avaya Inc. All Rights Reserved Email totalware@gwsmail.comChapter 1 Maintenance Overview Chapter 2 Hardware Upgrade and MaintenanceChapter 5 Operating System Recovery Chapter 3 Server Initialization and ShutdownChapter 6 SSG Configuration Backup and Restore IndexContents 4 Secure Services Gateway SSG Maintenance GuideChapter 1 Maintenance Overview Chapter contentsOverview Overview Related resources Linux operating system manualsContent Related resourcesTable 1 Related Resources Document TitleTable 1 Related Resources continued 2 ofLinux operating system manuals 3. Under the column Support Resources, go to DocumentationChapter 2 Hardware Upgrade and Maintenance Installation guidelinesInstallation guidelines Removing the cover of the x305 IBM server In this chapterSystem reliability guidelines Handling static sensitive devicesGeneral safety guidelines Replacing the hard drive in an x305 IBM server Replacing the hard driveReplacing the hard drive in an x306 IBM server Tasks to replace the hard drive TaskDescription 4 Replace the hard drive. x305 see Replacing the hard drive in an3. Installing the new hard drive in the x305 IBM server Read General safety guidelines and Handling static sensitive devicesReplacing the hard drive in an x305 IBM server Removing the cover of the x305 IBM serverFigure 1 Captive screws on cover Removing the hard drive from the x305 IBM server Figure 2 Removing and replacing the drive cageInstalling the new hard drive in the x305 IBM server Replacing the cover of the x305 IBM server2. Installing the new hard drive in the x306 IBM server Figure 3 Removing and installing the hard driveReplacing the hard drive in an x306 IBM server Removing the hard drive from the x306 IBM serverInstalling the new hard drive in the x306 IBM server Replacing the x305 IBM server’s RSAReplacing the server’s dual NIC 20 Secure Services Gateway SSG Maintenance GuideServer initialization Chapter 3 Server Initialization and ShutdownServer initialization System shutdown System shutdown Chapter 4 Operating System Monitoring Gathering system informationMonitoring system processes Gathering system information Monitoring system processesTable 3 Interactive Commands Command Description Memory usageVirtual memory File systemsSpace used by files in a directory Additional resources Chapter 5 Operating System Recovery Hardware/software problemsRoot password Hardware/software problems Booting into single-user modeBooting into rescue mode linux rescuesh-2.05b# chroot /mnt/sysimagemount -t ext3 /dev/hda5 /foo fdisk -l oneBooting into single-user mode Booting into emergency mode 32 Secure Services Gateway SSG Maintenance Guide Backing up the SSG configuration Chapter 6 SSG Configuration Backup and RestoreBacking up the SSG configuration Restoring the SSG configuration SSG Configuration Backup and Restore Figure 4 Edit Backup Scheduler Configuration Page34 Secure Services Gateway SSG Maintenance Guide 6. Click Save Changes Restoring the SSG configuration pgrestore -v -p 6543 -d avssgdb -a -Ft --no-owner dbdumpfilename.tara. mkdir tempdir b. cd tempdir c. tar zfx ~/SSG-Product Id-Date-Time.tgzIndex Index38 Secure Services Gateway SSG Maintenance Guide