Friday 27 September 2013

ELA_05_Rescue_&_Single_User_Modes

Accessing Linux Partition using Rescue Disk

-> Boot the machine using rescue disk or Linux installation disk.
-> At the Installation wecome screen type "linux rescue"
-> Choose the language and keyboard type.
-> Select "No" at the screen asks to start the network interfaces on your machine.
-> Select "Continue" for rescue.
-> Select "OK" for rescue.
-> In the shell prompt if you wish to run the machine as root user's environment, run the below command.
# chroot /mnt/sysimage

Booting the system in Single User mode
-> While we turn the system ON, after the BIOS Power ON Self Test (POST) the GRUB screen appears.
-> At this screen interrupt the GRUB by pressing any key.
-> Select the "Red Hat Enterprise Linux (2.6.32.xxxx)" operating system.
-> Press 'e' to edit.
-> Here find the line with "kernel – vmlinuz............."
-> Select this line and press 'e' to edit this line.
-> At the end of the line give a space and type '1' or "single" and press return.
-> Press 'b' to boot with the kernel in single user mode.


Note: Be careful while doing any tasks in rescue or single user modes because you will be logged in as the root user. With out proper knowledge of rescue or single user modes there might be a chance to crashing the server.

No comments :

Post a Comment