Académique Documents
Professionnel Documents
Culture Documents
HowtoBootOracleLinuxintoRescueMode(DocID1516777.1)
APPLIESTO:
LinuxOSVersionOracleLinux4.4toOracleLinux5.11[ReleaseOL4U4toOL5U11]
Linuxx8664
Linuxx86
GOAL
ItispossibletobootLinuxinrescuemodeusingtheinstallationmediaandbypassingthedisk.Duringtherescue
session,youcanchoosenetwork.Oncethesystemisup,youwillhaveaccesstothedisk.
Note:Inrescuemode,HDD/NICwillberecognizedbytherescuemodeOS,andtheycouldbedifferentfromthe
namesinnormalboot
SOLUTION
Followthebelowstepstobootinrescuemode:
1)BootfromtheLinuxInstallationMedia(thismayrequireyoutochangethebiostobootfromdvd)
2)ChooseRescueModebytypingthefollowingatthebootpromptandpressing<Enter>:
linuxrescue
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=awks4gm4s_444&id=1516777.1 1/4
6/8/2016 Document1516777.1
3)ChoosetheLanguage
Selectdesiredlanguageusingarrowkeysthenpressenter.
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=awks4gm4s_444&id=1516777.1 2/4
6/8/2016 Document1516777.1
4)ChooseKeyboardType
Selectdesiredkeyboardtypeusingarrowkeysthenpressenter.
5)NetworkInterfaces
Thenetworkinterfacesareunnecessary.UsearrowkeystohighlightNothenpressenter.
6)Choosetomountthefilesystemautomatically.orchooseSkipmountingcurrentsystemifyouintendtofsck(8)the
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=awks4gm4s_444&id=1516777.1 3/4
6/8/2016 Document1516777.1
disk(afilesystemthatwillbecheckedmustbeunmounted)
YouarecurrentlyinRescueMode.Ifyouallowedit,yourrootfilesystemshouldbemountedasthe/mnt/sysimage
directory.Forexample,your/etc/fstabwillbepresentatthe/mnt/sysimage/etc/fstablocation.
7)Youcanswitchcontextssoallthefileswillbeavailableattheirusuallocations:
#chroot/mnt/sysimage
#pwd
/
#
Althoughyouareaccessingtheuserspacefilesofyourrootfilesystem,rememberthatyouarestillusingtheboot
environment(suchasthekernelanddeviceinventory)fromtherescuemode.Programssuchasdf(1)ormount(8)
maynotgivetheexpectedresults.Leavethechroot(1)contextbyusingexit(1)twice:oncetoexitthechroot(1)and
againtoexitrescuemodeandreboot:
#echoLeavingchrootenvronment
#exit
#echoLeavingrescuemodeandrebooting
#exit
Herewehaveomittedsomeextramessagesgivingdetailsabouttheprocess.
Didn'tfindwhatyouarelookingfor?
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrlstate=awks4gm4s_444&id=1516777.1 4/4