Oel Kernal Failed to Boot

4
PowerView is Off (7) Anthony (Available) Contact Us Help In this Document Goal Solution APPLIES TO: Linux OS Version Oracle Linux 5.0 and later Information in this document applies to any platform. GOAL Fix "Error 15: File Not Found" during boot SOLUTION When you see "Error 15: File Not Found" during boot and the system won't boot, it indicates that grub is configured incorrectly. The stanzas in /boot/grub/grub.conf are not pointing to kernel/initrd pairs that actually exist in /boot. Here is a real life example. First, this is the /boot/grub/grub.conf that was in use when the "Error 15: File Not Found" message was showing during boot: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuzversion ro root=/dev/VolGroup00/root # initrd /initrdversion.img #boot=/dev/cciss/c0d0 default=0 timeout=5 Was this article helpful? Document Details Type: Status: Last Major Update: Last Update: HOWTO PUBLISHED 21Nov2013 21Nov2013 Related Products Linux OS Information Centers Information Center: Oracle Linux [1381248.2] Document References No References available for this document. Recently Viewed How to fix "Error 15: File Not Found" During Boot (Doc ID 1600268.1) To Bottom Yes No Bug 10335771 Full data pump fails with ORA39127 ORA6502 exporting RULES [10335771.8] How to fix "Error 15: File Found" During Boot [1600 Full DataPump Export Fails With ORA39127 ORA6502 ORA651 Exporting Rules [1282993.1] Dashboard Service Requests Patches & Updates Knowledge Give Feedback...

description

oel kernal

Transcript of Oel Kernal Failed to Boot

Page 1: Oel Kernal Failed to Boot

5/19/2015 Document 1600268.1

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=294247526884373&id=1600268.1&displayIndex=1&_afrWindowMode=0&_adf.ctrlstate=te2az5j57_268#FIX 1/4

PowerView is Off (7)Anthony (Available) Contact Us Help

In this Document

Goal

Solution

APPLIES TO:

Linux OS Version Oracle Linux 5.0 and laterInformation in this document applies to any platform.

GOAL

Fix "Error 15: File Not Found" during boot

SOLUTION

When you see "Error 15: File Not Found" during boot and the system won't boot, it indicates that grub is configured incorrectly. The stanzas in /boot/grub/grub.conf are not pointing to kernel/initrd pairs that actually exist in /boot.

Here is a real life example. First, this is the /boot/grub/grub.conf that was in use when the "Error 15: File Not Found" messagewas showing during boot:

# grub.conf generated by anaconda## Note that you do not have to rerun grub after making changes to this file# NOTICE: You have a /boot partition. This means that# all kernel and initrd paths are relative to /boot/, eg.# root (hd0,0)# kernel /vmlinuzversion ro root=/dev/VolGroup00/root# initrd /initrdversion.img#boot=/dev/cciss/c0d0default=0timeout=5

Was this article helpful?

Document Details

Type:Status:Last MajorUpdate:Last Update:

HOWTOPUBLISHED21Nov201321Nov2013

Related Products

Linux OS

Information Centers

Information Center: OracleLinux [1381248.2]

Document References

No References available forthis document.

Recently Viewed

How to fix "Error 15: File Not Found" During Boot (Doc ID 1600268.1) To Bottom

YesNo

Bug 10335771 Full data pump exportfails with ORA39127 ORA6502 whenexporting RULES [10335771.8]

How to fix "Error 15: File NotFound" During Boot [1600268.1]

Full DataPump Export Fails With ErrorsORA39127 ORA6502 ORA6512 WhenExporting Rules [1282993.1]

Dashboard Service Requests Patches & UpdatesKnowledge

Give Feedback...

Page 2: Oel Kernal Failed to Boot

5/19/2015 Document 1600268.1

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=294247526884373&id=1600268.1&displayIndex=1&_afrWindowMode=0&_adf.ctrlstate=te2az5j57_268#FIX 2/4

timeout=5splashimage=(hd0,0)/grub/splash.xpm.gzhiddenmenutitle Oracle Linux Server (2.6.39400.24.1.el5uek) root (hd0,0) kernel /xen.gz module /vmlinuz2.6.39400.24.1.el5uek ro root=/dev/VolGroup00/root rhgb quiet numa=off module /initrd2.6.39400.24.1.el5uek.imgtitle Oracle Linux Server (2.6.39100.10.1.el5uek) root (hd0,0) kernel /vmlinuz2.6.39100.10.1.el5uek ro root=/dev/VolGroup00/root rhgb quiet numa=off initrd /initrd2.6.39100.10.1.el5uek.imgtitle Oracle Linux Server (2.6.32300.10.1.el5uek) root (hd0,0) kernel /vmlinuz2.6.32300.10.1.el5uek ro root=/dev/VolGroup00/root rhgb quiet numa=off initrd /initrd2.6.32300.10.1.el5uek.imgtitle Oracle Linux Serverxen (2.6.18308.el5xen) root (hd0,0) kernel /xen.gz2.6.18308.el5 numa=off module /vmlinuz2.6.18308.el5xen ro root=/dev/VolGroup00/root rhgb quiet module /initrd2.6.18308.el5xen.imgtitle Oracle Linux Serverbase (2.6.18308.el5) root (hd0,0) kernel /vmlinuz2.6.18308.el5 ro root=/dev/VolGroup00/root rhgb quiet numa=off initrd /initrd2.6.18308.el5.img

This is actually what was in /boot:

[root@localhost ~]# ls l /boottotal 68197rwrr 1 root root 67541 Feb 25 2012 config2.6.18308.el5rwrr 1 root root 67568 Feb 25 2012 config2.6.18308.el5debugrwrr 1 root root 67182 Feb 25 2012 config2.6.18308.el5xenrwrr 1 root root 98986 Feb 23 2012 config2.6.32300.10.1.el5uekrwrr 1 root root 98961 Feb 23 2012 config2.6.32300.10.1.el5uek.debugrwrr 1 root root 114503 Jun 20 2012 config2.6.39100.10.1.el5uekrwrr 1 root root 115022 May 15 23:45 config2.6.39400.24.1.el5uekdrwxrxrx 2 root root 1024 Nov 10 20:08 grubrw 1 root root 4436613 Jul 1 04:05 initrd2.6.18308.el5debug.imgrw 1 root root 4427948 Jul 1 04:04 initrd2.6.18308.el5.imgrw 1 root root 4430269 Jul 1 04:04 initrd2.6.18308.el5xen.imgrw 1 root root 4102409 Jul 1 04:05 initrd2.6.32300.10.1.el5uek.debug.imgrw 1 root root 4104637 Jul 1 04:04 initrd2.6.32300.10.1.el5uek.imgrw 1 root root 4351422 Nov 10 16:55 initrd2.6.39100.10.1.el5uek.imgrw 1 root root 4363882 Nov 10 20:08 initrd2.6.39400.24.1.el5uek.imgdrwx 2 root root 12288 Jul 1 03:52 lost+foundrwrr 1 root root 94600 Jan 25 2009 memtest86+1.65

Exporting Rules [1282993.1]

Bug 7112024 ORA39127 executingEXPDP commands concurrently[7112024.8]

DataPump Export ORA39127 CallingSYS.DBMS_RULE_EXP_RULES.create_expReturns Error ORA1403 [784814.1]

Show More

Page 3: Oel Kernal Failed to Boot

5/19/2015 Document 1600268.1

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=294247526884373&id=1600268.1&displayIndex=1&_afrWindowMode=0&_adf.ctrlstate=te2az5j57_268#FIX 3/4

rwrr 1 root root 94600 Jan 25 2009 memtest86+1.65rwrr 1 root root 117099 Feb 25 2012 symvers2.6.18308.el5debug.gzrwrr 1 root root 116635 Feb 25 2012 symvers2.6.18308.el5.gzrwrr 1 root root 116295 Feb 25 2012 symvers2.6.18308.el5xen.gzrwrr 1 root root 161800 Feb 23 2012 symvers2.6.32300.10.1.el5uek.debug.gzrwrr 1 root root 161619 Feb 23 2012 symvers2.6.32300.10.1.el5uek.gzrwrr 1 root root 183497 Jun 20 2012 symvers2.6.39100.10.1.el5uek.gzrwrr 1 root root 189006 May 15 23:45 symvers2.6.39400.24.1.el5uek.gzrwrr 1 root root 1275921 Feb 25 2012 System.map2.6.18308.el5rwrr 1 root root 1295344 Feb 25 2012 System.map2.6.18308.el5debugrwrr 1 root root 1237606 Feb 25 2012 System.map2.6.18308.el5xenrwrr 1 root root 2444545 Feb 23 2012 System.map2.6.32300.10.1.el5uekrwrr 1 root root 2471059 Feb 23 2012 System.map2.6.32300.10.1.el5uek.debugrwrr 1 root root 2590815 Jun 20 2012 System.map2.6.39100.10.1.el5uekrwrr 1 root root 2634121 May 15 23:45 System.map2.6.39400.24.1.el5uekrwrr 1 root root 2115644 Feb 25 2012 vmlinuz2.6.18308.el5rwrr 1 root root 2168348 Feb 25 2012 vmlinuz2.6.18308.el5debugrwrr 1 root root 2209057 Feb 25 2012 vmlinuz2.6.18308.el5xenrwxrxrx 1 root root 3684928 Feb 23 2012 vmlinuz2.6.32300.10.1.el5uekrwxrxrx 1 root root 3735328 Feb 23 2012 vmlinuz2.6.32300.10.1.el5uek.debugrwxrxrx 1 root root 4054608 Jun 20 2012 vmlinuz2.6.39100.10.1.el5uekrwxrxrx 1 root root 4130096 May 15 23:45 vmlinuz2.6.39400.24.1.el5uekrwrr 1 root root 427337 Feb 25 2012 xen.gz2.6.18308.el5rwxrxrx 1 root root 994384 Feb 25 2012 xensyms2.6.18308.el5

Note that since the grub.conf has "default=0", it will attempt to boot the first kernel listed in the first stanza (stanzas in grub.confstart with the word "title" and continue to the next "title" or EOF). That first stanza ( "title Oracle Linux Server (2.6.39400.24.1.el5uek)") is looking for a kernel called xen.gz in the /boot directory. If you look at the directory though, you can seethat kernel does not exist, hence the "Error 15: file not found" error during boot.

In this case it was an xen kernel that was missing, but it is possible to have any number of files missing. The grub.conf has topoint to valid files.

The way to fix this is to modify /boot/grub/grub.conf so that it instead points to the kernel that IS there, vmlinuz2.6.39400.24.1.el5uek.

We fixed that first stanza so it looks like this now:

title Oracle Linux Server (2.6.39400.24.1.el5uek) root (hd0,0) kernel /vmlinuz2.6.39400.24.1.el5uek ro root=/dev/VolGroup00/root rhgb quiet numa=off initrd /initrd2.6.39400.24.1.el5uek.img

Here is a diff of the broken one vs the fixed one:

$ diff grub.conf.txt grub.conf.new

Page 4: Oel Kernal Failed to Boot

5/19/2015 Document 1600268.1

https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=294247526884373&id=1600268.1&displayIndex=1&_afrWindowMode=0&_adf.ctrlstate=te2az5j57_268#FIX 4/4

$ diff grub.conf.txt grub.conf.new16,18c16,17< kernel /xen.gz< module /vmlinuz2.6.39400.24.1.el5uek ro root=/dev/VolGroup00/root rhgb quiet numa=off< module /initrd2.6.39400.24.1.el5uek.img> kernel /vmlinuz2.6.39400.24.1.el5uek ro root=/dev/VolGroup00/root rhgb quiet numa=off> initrd /initrd2.6.39400.24.1.el5uek.img

If there are multiple kernels properly installed you can boot one of those to do the fix, or if there is no properly configured entryin grub.conf you can boot off a rescue disk to do the changes.

Didn't find what you are looking for? Ask in Community...

RelatedProducts

Oracle Linux and Virtualization > Oracle Linux > Operating System > Linux OS > Linux Kernel

Keywords

BOOT; GRUB; KERNEL; LINUX

Back to Top Copyright (c) 2015, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement