Avaya R3.0 User Manual

Page 29

Advertising
background image

Hardware/software problems

Issue 6 August 2005

29

5. Depending on you selection, the following occurs

- If you select Continue, the system attempts to mount your file system under the directory

/mnt/sysimage/. If it fails to mount a partition, it notifies you.

- If you select Read-Only, the system attempts to mount your file system under the

directory /mnt/sysimage/, but in read-only mode.

- If you select Skip, the file system is not mounted. Choose Skip if you think your file

system is corrupted.

6. Once the system is in rescue mode, a prompt appears on virtual console 1 and virtual

console 2 (use the Ctrl+Alt+F1 key combination to access virtual console 1 and
Ctrl+Alt+F2 to access virtual console 2):

sh-2.05b#

- If you selected Continue to mount your partitions automatically and they were mounted

successfully, you are in single-user mode.

Even if your file system is mounted, the default root partition while in rescue mode is a
temporary root partition, not the root partition of the file system used during normal user
mode (runlevel 3 or 5). If you selected to mount your file system and it mounted
successfully, you can change the root partition of the rescue mode environment to the
root partition of your file system by executing the following command:

chroot /mnt/sysimage

This is useful if you need to run commands such as rpm that require your root partition to
be mounted as /. To exit the chroot environment, type exit, and you will return to the
prompt.

- If you selected Skip, you can try to mount a partition manually inside rescue mode by

creating a directory such as /foo, and typing the following command:

mount -t ext3 /dev/hda5 /foo

In the above command, /foo is a directory that you have created and /dev/hda5 is the
partition you want to mount. If the partition is of type ext2, replace ext3 with ext2. If you
do not know the names of your partitions, use the following command to list them:

fdisk -l (one)

From the prompt, you can run many useful commands such as

- list-harddrives to list the hard drives in the system

- ssh, scp, and ping if the network is started

- parted and fdisk for managing partitions

- rpm for installing or upgrading software

- joe for editing configuration files (If you try to start other popular editors such as

emacs, pico, or vi, the joe editor will be started.)

Advertising