How To Boot Oracle Linux 5.x Into Rescue Mode
How To Boot Oracle Linux 5.x Into Rescue Mode
How to Boot Oracle Linux 5.x into Rescue Mode (Doc ID 1516777.1) To Bottom
GOAL Type:
HOWTO
Status:
PUBLISHED
Last Major
It is possible to boot Linux in rescue mode using the installation media and bypassing the disk. During the rescue session, you Update: Aug 4, 2018
can choose network. Once the system is up, you will have access to the disk. Last Aug 20, 2018
Update: English
Language:
Note: In rescue mode, HDD/NIC will be recognized by the rescue mode OS, and they could be different from the names in
normal boot
Related Products
Linux OS
Oracle Cloud Infrastructure
SOLUTION
Information Centers
Follow the below steps to boot in rescue mode:
No Information Center
available for this document.
1) Boot from the Linux Installation Media (this may require you to change the bios to boot from dvd)
Document References
No References available for this
2) Choose Rescue Mode by typing the following at the boot prompt and pressing <Enter>: document.
linux rescue
Recently Viewed
1 of 4 2/25/2019, 1:24 PM
Document 1516777.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=18...
5) Network Interfaces
The network interfaces are unnecessary. Use arrow keys to highlight No then press enter.
2 of 4 2/25/2019, 1:24 PM
Document 1516777.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=18...
6) Choose to mount the filesystem automatically. or choose Skip mounting current system if you intend to fsck(8) the disk
(a filesystem that will be checked must be unmounted)
You are currently in Rescue Mode. If you allowed it, your root filesystem should be mounted as the /mnt/sysimage directory.
For example, your /etc/fstab will be present at the /mnt/sysimage/etc/fstab location.
7) You can switch contexts so all the files will be available at their usual locations:
# chroot /mnt/sysimage
# pwd
/
#
Although you are accessing the user-space files of your root filesystem, remember that you are still using the boot environment
(such as the kernel and device inventory) from the rescue mode. Programs such as df(1) or mount(8) may not give the expected
results. Leave the chroot(1) context by using exit(1) twice: once to exit the chroot(1) and again to exit rescue mode and reboot:
Here we have omitted some extra messages giving details about the process.
3 of 4 2/25/2019, 1:24 PM
Document 1516777.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=18...
Related
Products
Oracle Linux and Virtualization > Oracle Linux > Operating System > Linux OS > Linux Kernel
Oracle Cloud > Oracle Infrastructure Cloud > Oracle Bare Metal Infrastructure Services > Oracle Cloud Infrastructure
Keywords
BOOT; FILESYSTEM; FSCK; LINUX; SYSTEM
Translations
English Source Japanese ⽇本語
Back to Top
Copyright (c) 2019, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement
4 of 4 2/25/2019, 1:24 PM