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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • 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. parted Command Examples in Linux
  2. Linux OS Service ‘avahi-daemon’
  3. CentOS / RHEL 7 : How to boot into emergency or multi-user mode from GRUB2
  4. setenforce Command Examples in Linux
  5. “xfs_log_force: error 5 returned” – XFS Error (CentOS/RHEL 7)
  6. What is chroot jail in Linux
  7. Understanding multipath Utility to Configure DM-Multipath
  8. How to run “find” command on current directory only and not on sub-directories
  9. How to set ulimit values for a systemd service
  10. cpufreq-info: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • qmrestore Command Examples in Linux
  • qm Command Examples in Linux
  • qm wait Command Examples in Linux
  • qm start Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright