Rescue mode provides the ability to boot a small Linux environment entirely from CD-ROM, or via an alternative boot method, rather than the system’s hard drive. As the name implies, rescue mode is provided to rescue you from situations in which you may have limited access to your system.
When operating normally, Linux uses files located on your hard drive to run programs, store files, and more. However, situations may arise when you are unable to get Linux running completely enough to access files on your system’s hard drive.
Using rescue mode, you can access the files stored on your system’s hard drive, regardless of if you can actually run Linux from that hard drive.
Booting in Rescue Mode
To boot in rescue mode, you must be able to start the system using one of the following methods:
- By booting the system from an installation boot CD-ROM.
- By booting the system from another installation boot media, such as a USB flash drive.
- By booting the system from the Linux CD-ROM #1.
After successfully booting using one of the above methods, add “rescue” as a kernel parameter. A sample command might look like:
You will need to answer some basic questions during the installation process, and you’ll need to select a valid rescue image. The image you select must be part of a valid installation tree and must be the same version of Linux as the disk used.
Your system will display a message informing you that the rescue environment is attempting mount your Linux installation. You’ll be given the option to Continue, mount as Read-only, or Skip this step entirely. Depending on the issue you’re trying to resolve, you’ll want to take different actions from here.
If you selected the option to continue, you’ll now be in single-user mode. From here, what you do next will depend on the specific issue you’re trying to resolve. For more information, check out this official documentation from Red Hat.
- How to Check the Apache Version on a Linux Dedicated cPanel Server
- How to Change a Password in Linux
- How to Check if Your Linux Server is Under DDoS Attack
Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.
The Hivelocity Difference
With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.