• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

The Geek Diary

CONCEPTS | BASICS | HOWTO

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • Linux Services
    • VCS
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
    • Data Guard
  • DevOps
    • Docker
    • Shell Scripting
  • Interview Questions
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

CentOS / RHEL 7 : How to boot into rescue mode from installation DVD/ISO

By admin

When there is an issue with booting up RHEL / CentOS 7 system you can boot it into rescue mode using installation DVD or ISO to troubleshoot the issue. You can have the access to the disk where the OS is installed, to have a look at the problem or do a recovery from a corrupt kernel etc.

Booting into rescue mode using DVD/ISO

Follow the steps below to boot the system into rescue mode using installation media such as DVD or ISO.

1. Attach the ISO image
You can use an actual installation DVD instead of ISO image, but I find using ISO image easy and there is no need to go to the data center to physically insert the DVD into the system. Different virtualization platforms have similar features to attach/mount the ISO image to a VM guest. Make sure you change the boot order to boot from the ISO image.

2. Boot up the system
Boot up the CentOS 7 system from ISO image. At the boot screen, Select the Troubleshooting option at the end of the screen.

troubleshooting option boot RHEL CentOS 7 into rescue mode

3. At the next screen, select the option Rescue a CentOS Linux system.

rescue CentOS RHEL 7 system

4. On the next screen, press enter to continue. When asked if you would like Rescue to find your installation, choose Continue.

find linux installation for rescue mode RHEL 7 reinstall GRUB2

If you run into trouble detecting your install, retry using the Skip option and manually detect and mount your storage. You would get a message shown in the picture below if the rescue mode has detected the correct installation.

system has been mounted under :mnt:sysimage RHEL 7 reinstall GRUB2

5. Next step is to change your root directory to /mnt/sysimage using the chroot command. This makes your system the root environment.

# chroot /mnt/sysimage

Filed Under: CentOS/RHEL 7, Linux

Some more articles you might also be interested in …

  1. How to disable or enable an HBA without reboot under CentOS/RHEL
  2. Linux OS Service ‘portreserve’
  3. How to Limit/throttle rsync transfer speed in Linux
  4. CentOS / RHEL 7 : Unable To Start The Samba Service
  5. How to use “yum downloadonly” to download a package without installing it
  6. Audit Log And Messages File Not Rotating on CentOS/RHEL
  7. CentOS / RHEL 6,7 : How to delete an iSCSI Target on the initiator (iSCSI client)
  8. CentOS / RHEL : How to add new swap partition
  9. How to Enable X11 Forwarding on CentOS/RHEL 5,6,7
  10. Understanding the /etc/skel directory in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • How to disable ACPI in CentOS/RHEL 7
  • How to Use real-time query to access data on a physical standby database
  • CentOS/RHEL 8: “ACPI MEMORY OR I/O RESET_REG” Server Hung after reboot
  • How to Create a Physical Standby Database by Using SQL and RMAN Commands
  • Archives
  • Contact Us
  • Copyright

© 2021 · The Geek Diary