Friday 24 December 2021

How to Boot CentOS 8 in Rescue Mode Step by Step

Rescue mode provide facility to boot a small CentOS 8 Linux environment from boot method using ISO Image or bootable media. CentOS 7 and CentOS 8 steps are quite similar to boot in rescue mode.
Step 1. Downloading ISO Image: Download ISO image from the Centos official site and boot the virtual machine from the downloaded ISO image.
Step 2. Begin booting in Rescue Mode: Attach the ISO image into virtual machine and start/reboot the virtual machine and follow the instructions. Select “Troubleshooting” and press [Enter] key as shown in below screenshot

Step 3. Rescue Mode Selection: Follow the instructions and Select “Rescue a CentOS Linux system” and press [Enter] key as shown in below screenshot.

Step 4. Local Environ selection: The rescue mode attempt to locate the old installation and mount it with read write mode under /mnt/sysimage directory, select 1 and press [Enter] as shown in below screenshot:

Step5: Entering in Local Root Environment: Now you can run chroot /mnt/sysimage to change root directory from rescue mode to installed old root file system as shown in below screenshot:

Done. Booting in rescue mode done.

No comments:

Post a Comment