Announcement

Collapse
No announcement yet.

Grub errors: "File Not Found" repeated three times

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Grub errors: "File Not Found" repeated three times

    The subject says it all:
    Grub error:
    File Not Found...
    File Not Found...
    File Not Found...

    press any key to continue.
    If you've read any of my other threads, you might know that I have a slightly complicated setup - multi-boot with grub stanzas pointed at each install's own grub.cfg. This means I sort-of leaf through multiple grub.cfg's once in awhile but usually I let the defaults do their thing and I end up here - my 13.04 Kubuntu install.

    The above error would obviously stall the boot process and otherwise annoy me so it was high time to fix it. Web searches revealed similar errors having to do with missing localization files (Arch forum) but 2009 vintage reports. Nothing newer or on point.

    So I dug in.

    The error would happen on the second grub.cfg page - namely the one belonging to Kubuntu 13.04 - so that's where I started. I scrolled through grub.cfg and almost immediately noticed this paragraph:
    Code:
    function load_video {
      if [ x$feature_all_video_module = xy ]; then
        insmod all_video
      else
        insmod efi_gop
        insmod efi_uga
        insmod ieee1275_fb
        insmod vbe
        insmod vga
        insmod video_bochs
        insmod video_cirrus
      fi
    }
    I knew these commands were supposed to load modules and if a module was missing, might these not produce the above error? Also what stuck out to me is I don't have a efi computer - old BIOS here - so why would I need to load efi_foo? So I scanned the contents of grub's folder and sure enough, no efi_gop.mod or efi_uga.mod. All the others were there except ieee1275_fb.mod. So three missing files and three missing file errors: made sense.

    For a test, I commented out the three lines in my grub.cfg (I know - not a permanent fix - keep reading...) and re-booted. No errors.

    So how to make this permanent (...see)? I found these insmod commands came from /etc/grub.d/00_header so I commented them out (added # to each line at the beginning), ran update-grub: Success!

    Now this isn't a very elegant fix, but it works. My 00_header file isn't going on any other computers so I don't need elegant - just functional.

    I reported this here just in case someone else has encountered this and needs a fix. Have a nice day and thanks for reading
    Last edited by Snowhog; Jul 21, 2013, 12:11 PM.

    Please Read Me

    #2
    My /boot/grub/grub.cfg contains the same code for loading the video. I include 'quiet' in my GRUB_CMDLINE_LINUX_DEFAULT= line so I don't see the text information when booting. There is no 'harm' with this code and the resulting File Not Found... lines.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Originally posted by oshunluvr View Post
      If you've read any of my other threads, you might know that I have a slightly complicated setup
      Too bad you don't have UEFI-based machines. rEFInd is so vastly superior to GRUB in every imaginable dimension, mostly because it auto-detects all bootable operating systems on all mountable volumes. Neat. But you need UEFI.

      Comment


        #4
        Originally posted by SteveRiley View Post
        Too bad you don't have UEFI-based machines. rEFInd is so vastly superior to GRUB in every imaginable dimension, mostly because it auto-detects all bootable operating systems on all mountable volumes. Neat. But you need UEFI.
        I've got my eye on the latest Asus Z board. Maybe next year!

        Please Read Me

        Comment

        Working...
        X