How to Bootup Oracle Linux 7.x into Rescue Mode From ISO Image (Doc ID 2302734.1)
APPLIES TO:
Linux OS - Version Oracle Linux 7.0 and later
Linux x86-64
GOAL
When there is some issue that causes the Linux OS to not boot up correctly from disk, it is possible to boot up Oracle Linux 7.x from an installation media (ISO image), so we can then have the access to the disk. 如果出现某些问题导致Linux OS无法从磁盘正确启动,则可以从安装介质(ISO映像)启动Oracle Linux 7.x,这样我们就可以访问磁盘了。
SOLUTION
1) Attach the ISO image 附加ISO映像
Most modern physical servers have a feature to attach/mount a local ISO image onto the server as a virtual CDROM. Please contact your server vendor for detailed instructions on how to perform this operation. 大多数现代的物理服务器都具有将本地ISO映像作为虚拟CDROM附加/挂载到服务器上的功能。请与您的服务器供应商联系,以获取有关如何执行此操作的详细说明
Different virtualization platforms should have similar features to attach/mount the ISO image to a VM guest. 不同的虚拟化平台应具有类似的功能,以将ISO映像附加/挂载到VM guest虚拟机
Make sure you change the boot order to boot from the ISO image. 确保更改启动顺序以从ISO映像启动
2) Boot up the Oracle Linux 7 you will see the GUI, select "Rescue a Oracle Linux system" 启动Oracle Linux 7,您将看到GUI,选择"Rescue a Oracle Linux system"
3) Select "Troubleshooting" 选择"Troubleshooting"
Note: By default you have a 30 seconds window. 注意:默认情况下,您有30秒的窗口
4) Rescue will try to find the existing Linux installation Rescue将尝试查找现有的Linux安装
5) If existing Linux system found, it will be mounted under /mnt/sysimage 如果找到现有的Linux系统,它将被挂载在/mnt/sysimage下
REFERENCES
NOTE:2153996.1 - How to Bootup Oracle Linux 7.x into Rescue Mode or Emergency Mode Through Systemd