• 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. df Command Examples in Linux
  2. Complete Guide to Configuring iSCSI in CentOS / RHEL 7
  3. pvs Command Examples in Linux
  4. How To Install Python 3 On CentOS 7 Using SCL
  5. How to Execute Scripts/Commands using /etc/rc.d/rc.local in CentOS/RHEL 7
  6. How to Map Static IP to your Domain (with GoDaddy example)
  7. How to create snapshot of LVM thin volumes using snapper command
  8. How to Migrate virtual machines from one host to another in the Red Hat Virtualization environment
  9. BTRFS: too many missing devices, writeable mount is not allowed
  10. login Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • JavaFX ComboBox: Set a value to the combo box
  • Nginx load balancing
  • nginx 504 gateway time-out
  • Images preview with ngx_http_image_filter_module

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright