[Solved] grub2: file not found but booting fine

I just ran grub-mkconfig to update my grub.cfg because I installed E4rat. But now I have a problem: Every entry in grub2 can be booted and E4rat really boosted my boot process so actually everything is fine. But while grub2 is loading it says something like:
Grub 2 is loading...
Welcome to Grub 2!
error: file not found.
error: file not found.
error: file not found.
Now grub shows up and everything is as it should be. When I select Arch it again says "error: file not found." three times and continues with a normal boot process. So basically it's nothing that would brake my system but something seems not right and that's just a huge annoyance.
Here's my grub.cfg just in case:
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
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
set menu_color_normal=light-blue/black
set menu_color_highlight=light-cyan/blue
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' f7960d1a-77ab-4230-ab43-ff931f0b2175
else
search --no-floppy --fs-uuid --set=root f7960d1a-77ab-4230-ab43-ff931f0b2175
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1440x900x32
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_GB
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' f7960d1a-77ab-4230-ab43-ff931f0b2175
else
search --no-floppy --fs-uuid --set=root f7960d1a-77ab-4230-ab43-ff931f0b2175
fi
insmod png
background_image -m stretch /boot/grub/archlinux.png
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-f7960d1a-77ab-4230-ab43-ff931f0b2175' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' f7960d1a-77ab-4230-ab43-ff931f0b2175
else
search --no-floppy --fs-uuid --set=root f7960d1a-77ab-4230-ab43-ff931f0b2175
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=f7960d1a-77ab-4230-ab43-ff931f0b2175 ro init=/sbin/e4rat-preload quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-black
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
menuentry 'Arch Linux GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-f7960d1a-77ab-4230-ab43-ff931f0b2175' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint='hd0,msdos5' f7960d1a-77ab-4230-ab43-ff931f0b2175
else
search --no-floppy --fs-uuid --set=root f7960d1a-77ab-4230-ab43-ff931f0b2175
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=f7960d1a-77ab-4230-ab43-ff931f0b2175 ro init=/sbin/e4rat-preload quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-black
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry 'Windows 7' {
set root='(hd0,1)'; set legacy_hdbias='0'
parttool "$root" boot+
chainloader '+1'
### END /etc/grub.d/40_custom ###
And my /etc/default/grub:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch Linux"
# Default:
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
# Splashy boot:
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 logo.nologo console=tty1 splash=silent,fadein,fadeout,theme:arch-black"
GRUB_CMDLINE_LINUX="init=/sbin/e4rat-preload"
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
# GRUB_GFXMODE=auto
GRUB_GFXMODE=1440x900x32
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_BACKGROUND="/boot/grub/archlinux.png"
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-blue/black"
GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
I haven't updated my grub.cfg in a while because there was no need to.
Thanks in advance for advices.
Last edited by retzu (2012-04-16 14:16:02)

I have the same error message as in the first post.  "error: file not found" listed three times when I first choose Arch from the Grub2 menu.  The solution linked to by the.ridikulus.rat would not seem to apply as I do not have the locales en* in /boot/grub/locale  BTW, I am in the US.  The system does boot though.
I just fixed this a few seconds ago and was going to post how, basically I just did "cp /boot/grub/locale/[email protected] /boot/grub/locale/en_US.mo" which seem to do the trick, the reason I didn't fix this sooner is the error only stays up for a very small fraction of a second making it hard to read.
# ls /boot/grub/locale
ast.mo da.mo fi.mo hu.mo it.mo nl.mo ru.mo uk.mo zh_CN.mo
ca.mo de.mo fr.mo id.mo ko.mo pl.mo sv.mo vi.mo
EDIT:  I get the same three "error: file not found" messages when I boot Fedora (a multiboot system).  This is with grub2 installed from Arch Linux.
Last edited by David Batson (2012-05-02 20:03:41)

Similar Messages

  • [SOLVED]Dual boot Grub2 : file not found

    here is my config :
    Ubuntu 11.1 installed on sd1. It is my default system, and where the GRUB2 config is.
    I installed Archlinux on sd2, with /boot on (hd1,1) and / on (hd1,2).
    I want to set up GRUB to boot both systems.
    here is my /etc/grub.d/11_linux_arch, in the Ubuntu system :
    #!/bin/sh -e
    echo "Adding Archlinux"
    cat << EOF
    menuentry "ArchLinux"  {
    set root=(hd1,2)
    linux /boot/vmlinuz-linux
    initrd /boot/initramfs-linux.img
    EOF
    vmlinux-linux and initramfs-linux.img are well in my /boot folder on (hd1,1)
    At grub prompt, I can see Archlinux as an option. When I select it, I get an error message, "file not found".
    I can't see where is an error.
    TY for any help.
    Last edited by gabx (2011-11-29 22:41:11)

    Here is what I added to /etc/grub.d/40_custom
    # Arch Linux
    menuentry "Arch Linux" {
    set root=(hd1,1)
    linux /vmlinuz-linux root=/dev/disk/by-uuid/38616db1-366f-40f4-a728-1230e81abb21 ro
    initrd /initramfs-linux.img
    I think telling the uuid is better  but /dev/sdb2  (my / partition)  works too.
    Then :
    #sudo update-grub
    and I have been able to dual boot Archlinux and Ubuntu 11.10.
    The resolution is bad, so I will add a line about it, but I guess it is not diificult.

  • [solved] 'ERROR: file not found:' when running 'mkinitcpio -p linux'

    $ sudo mkinitcpio -p linux
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 3.13.5-1-ARCH
    -> Running build hook: [systemd]
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    -> Running build hook: [consolefont]
    -> Running build hook: [keymap]
    ==> Generating module dependencies
    ==> Creating cat initcpio image: /boot/initramfs-linux.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 3.13.5-1-ARCH
    -> Running build hook: [systemd]
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: aic94xx
    ==> WARNING: Possibly missing firmware for module: smsmdtv
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    -> Running build hook: [consolefont]
    -> Running build hook: [keymap]
    ==> Generating module dependencies
    ==> Creating cat initcpio image: /boot/initramfs-linux-fallback.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    Things seems to work, but I'm a bit worried.
    It has just started. PS/2 atkbd stuff went fine.
    journalctl shows
    Feb 26 22:36:09 localhost systemd-udevd[62]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
    Feb 26 22:36:09 localhost systemd-udevd[63]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export -
    Feb 26 22:36:09 localhost systemd-udevd[64]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
    Feb 26 22:36:09 localhost systemd-udevd[65]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export -
    Feb 26 22:36:09 localhost kernel: sda: sda1 sda2 sda3 sda4
    Feb 26 22:36:09 localhost kernel: sd 0:0:0:0: [sda] Attached SCSI disk
    Feb 26 22:36:09 localhost systemd-udevd[66]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
    Feb 26 22:36:09 localhost systemd-udevd[67]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export
    I'm using [testing] but I don't know if it matters.
    What should I post?
    Last edited by karol (2014-03-15 15:03:56)

    The systemd build hook looks like this:
    build() {
    local rules unit
    # from base
    add_binary /bin/mount
    add_binary /usr/bin/kmod /usr/bin/modprobe
    # systemd
    add_binary /usr/lib/systemd/systemd /init
    add_binary /usr/bin/systemd-tmpfiles
    # generate sysroot.mount and sysroot-usr.mount
    add_file "/usr/lib/systemd/system-generators/systemd-fstab-generator"
    # udev rules and systemd units
    map add_udev_rule "$rules" \
    50-udev-default.rules \
    60-persistent-storage.rules \
    64-btrfs.rules \
    80-drivers.rules \
    99-systemd.rules \
    map add_systemd_unit \
    ctrl-alt-del.target \
    initrd-cleanup.service \
    initrd-fs.target \
    initrd-parse-etc.service \
    initrd-root-fs.target \
    initrd-switch-root.service \
    initrd-switch-root.target \
    initrd-udevadm-cleanup-db.service \
    initrd.target \
    kmod-static-nodes.service \
    sockets.target \
    [email protected] \
    systemd-journald.service \
    systemd-tmpfiles-setup-dev.service \
    systemd-udev-trigger.service \
    systemd-udevd-control.socket \
    systemd-udevd-kernel.socket \
    systemd-udevd.service
    add_symlink "/usr/lib/systemd/system/default.target" "initrd.target"
    # libdbus needs the passwd info of the root user
    # TODO: make sure this is no longer necessary when systemctl moves to sd-bus
    add_file "/etc/nsswitch.conf"
    add_file "/etc/passwd"
    add_binary "$(readlink -f /usr/lib/libnss_files.so)"
    # udev wants /etc/group since it doesn't launch with --resolve-names=never
    add_file "/etc/group"
    Do all of those files exist on your sytemd? I'm not running testing nor systemd in my initrd, so I can't do much checking.
    Edit: You're not the only one. Bug report: https://bugs.archlinux.org/task/39059
    Last edited by Scimmia (2014-02-27 06:59:55)

  • [SOLVED] == ERROR: file not found: `/sbin/dmsetup'

    [EDIT] A much simpler way to deal with this is to explicitly ignore the kernel update during a full system update:
    pacman -Syu --ignore linux
    Then explicitly update the kernel alone:
    pacman -S linux
    [EDIT] First, after a full system update I had to move the STUB kernel image from the UEFI directory back to /boot, them recreate the images a second time. The systemd service moved it back to the UEFI directory.
    [EDIT] The use of 'mdadm_udev' in HOOKS= also seems to be no longer just 'preferred' to the 'mdadm' hook but instead is now mandatory.
    I've read the news item...
    Changes to LVM
    2013-02-12 - Thomas Bächler
    With lvm2 2.02.98-3, we now utilize lvmetad to activate LVM volumes automatically. This implies the following changes:
        The lvm2 initramfs hook now requires the udev hook.
        The use_lvmetad = 1 must be set in /etc/lvm/lvm.conf. This is the default now - if you have a lvm.conf.pacnew file, you must merge this change.
        You can restrict the volumes that are activated automatically by setting the auto_activation_volume_list in /etc/lvm/lvm.conf. If in doubt, leave this option commented out.
        If you need monitoring (needed for snapshots), run systemctl enable lvm-monitoring.service.
        The lvmwait kernel command line option is no longer needed and has no effect.
    If you run pacman -Syu and update device-mapper, linux and lvm2 at the same time, you will get an error message that /sbin/dmsetup is missing. Run mkinitcpio -p linux again after the update to avoid any problems.
    ...and I do get the message...
    ==> ERROR: file not found: `/sbin/dmsetup'
    ...but after a full system update with...
    pacman -Syu
    ...when I execute...
    mkinitcpio -p linux
    ...this is what I get...
    Building image from preset: 'default'
    /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ERROR:specified kernel image does not exist: `/boot/vmlinuz-linux'
    Building image from preset: 'fallback'
    /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ERROR:specified kernel image does not exist: `/boot/vmlinuz-linux'
    So of course if I reboot I get the dreaded 'No volume groups found' message.
    I should mention that I use the systemd path and service to move the kennel after it has been updated.
    Last edited by KairiTech (2013-04-07 02:45:12)

    With lvm2 2.02.98-3, we now utilize lvmetad to activate LVM volumes automatically. This implies the following changes:
        The lvm2 initramfs hook now requires the udev hook.
        The use_lvmetad = 1 must be set in /etc/lvm/lvm.conf. This is the default now - if you have a lvm.conf.pacnew file, you must merge this change.
        You can restrict the volumes that are activated automatically by setting the auto_activation_volume_list in /etc/lvm/lvm.conf. If in doubt, leave this option commented out.
        If you need monitoring (needed for snapshots), run systemctl enable lvm-monitoring.service.
        The lvmwait kernel command line option is no longer needed and has no effect.
    Just to confirm. You did all these steps, right?
    EDIT: I just noticed something:
    KairiTech wrote:HOOKS="base udev autodetect sata mdadm usbinput keymap encrypt lvm2 filesystems timestamp shutdown"
    Replace
    mdadm
    with
    mdadm_udev
    . Maybe this is nothing, but it is recommended to use this one instead of the other.
    NEW EDIT: Expecially this one
    The use_lvmetad = 1 must be set in /etc/lvm/lvm.conf. This is the default now - if you have a lvm.conf.pacnew file, you must merge this change.
    Last edited by s1ln7m4s7r (2013-03-24 20:42:55)

  • File Not found, but music is on iPod

    OK, this is strange. I just added some more music to my iPod. But it said that 27 songs hadn't been added. But, they ARE on my iPod, and in my iTunes library and the preferences is pointing in the right direction for the library of all my music. So why do I keep getting file not found?

    I think you misunderstood the problem. Music is on my computer in my iTunes folder under the correct file name and when i try to play the file using itunes there is an error message 'original file cannot be found, would you like to locate it?' If you locate the file where it is supposed to be, it will play the song. It seems to just be losing information about where files are stored on my computer randomly. Could this be because my files are stored on an external hdd?

  • Old problem new angle:EXS24 instrument audio file not found -but its THERE!

    So I know this has been posted on before, but I've read the forums and my problem seems slightly different.
    Was trying to open tenor sax, or alto sax.
    Created a new EXS24 track. In the Logic Studio Library it comes up with a long list of folders, bottom is '12 Legacy Instruments', inside that all there is is '05 Horns and Woodwinds' and '08 Drum Kits'. I go into Horns and Woodwinds, there are my instruments. When I click them it says not found.
    I checked in my finder window, (application support/Logic/Sampler Instruments/ 12 Legacy Instruments/05 Horns and Woodwinds). They ARE there. So that baffles me.
    Now, someone said on another forum its because they arent in the right place and SHOULD be in garage band (application support/garage band/Instrument Library/Sampler/Sampler Files/12 Legacy Instruments/05 Horns and Woodwinds), so I copied them from the previously described Logic destination to there.
    They STILL aren't working. It seems like Logic is looking in the right place but it says it cant find them?!
    Please help!
    (P.S - Annoyingly if it comes to reinstalling Logic Studio, I don't think I can do that. I bought my Mac Mini off ebay, and have forgotten the admin password, and have no OS discs to reset it. So until I can do that, I can't install anything (as you need the admin password. Any solutions that don't involve reinstalling Logic gratefully welcomed!)

    What I think you have to do is refresh the Spotlight index. Open the prefpanel Spotlight, go to the Privacy Tab, put all your disks on it (just drag 'm), close the panel, reopen it, remove the disks, close the panel, let your Mac sit for an hour or so while it is creating Spotlight indeces from scratch. Use *Activity Monitor* to check if Spotlight is done indexing. If you see MDS or MDWorker still active (=using CPU), it is not done.
    O and BTW, you should create an account for yourself of which you do have the admin password, or you will not be able to solve many possible problems.

  • [SOLVED] Module efivars not found but /sys/firmware/efi/efivars avail.

    Hi all,
    I'm installing Arch Linux on a new laptop (Dell Precision M6800) but cannot get UEFI to work.
    Outside arch-chroot, when I type "modprobe efivars" I get the "Module efivars not found". Which indicates that I didn't boot using UEFI.
    But, I booted using it (in my bios I selected my USB drive under the UEFI section and not the BIOS one), and more importantly, I have a fully populated /sys/firmware/efi/efivars folder with non empty files in it. So as I read on some forum, this means I booted using UEFI. So why can't I load the efivars module then? What am I missing? What can I do to debug more?
    I have used the 201311 dual iso image and just dd'ed it on my USB drive, I did not follow the instructions from https://wiki.archlinux.org/index.php/UE … B_from_ISO because I read them afterwards, but this will be my next step if you tell me this is the reason why UEFI does not work (although I have recently installed an UEFI Arch Linux on a UX31A without doing it so I guess these instructions are outdated).
    Thanks for your help,
    Olivier
    Last edited by jolivier (2013-11-14 10:09:48)

    jolivier wrote:
    Hi all,
    I'm installing Arch Linux on a new laptop (Dell Precision M6800) but cannot get UEFI to work.
    Outside arch-chroot, when I type "modprobe efivars" I get the "Module efivars not found". Which indicates that I didn't boot using UEFI.
    But, I booted using it (in my bios I selected my USB drive under the UEFI section and not the BIOS one), and more importantly, I have a fully populated /sys/firmware/efi/efivars folder with non empty files in it. So as I read on some forum, this means I booted using UEFI. So why can't I load the efivars module then? What am I missing? What can I do to debug more?
    Read the whole section: https://wiki.archlinux.org/index.php/Un … _Variables
    Last edited by the.ridikulus.rat (2013-11-13 18:48:21)

  • [SOLVED] LVM volume not found while booting

    I have an error while trying to boot with both Syslinux and GRUB (GRUB was my 1st choice but I got this error so switched to Syslinux). It's BIOS system, my boot is on /dev/sda1 and root is inside LVM on /dev/sda2. It states that device /dev/mapper/TheVG-RootLV can not be found so the problem is with LVM. There is lvm2 hook in mkinitcpio.conf, dolvm in my kernel line... what could I do wrong? I had no problem with this exact setup on my UEFI system and GRUB. Boot partition is loaded even if it's also inside LVM (that was the case when I was trying to run it via GRUB). GPT partition table.
    Last edited by smsware (2013-05-25 16:55:48)

    This has been an ongoing issue with the Arch Linux LVM2 setup since it was changed to using lvmetad.  You did nothing wrong.  My home server still sits on an LVM, so what I did was downgraded lvm2 and device-mapper on that machine and have been ignoring the updates until I can find a better solution... though I haven't been looking very hard.
    Also, with mkinitcpio, there is no "dolvm" command line parameter.  It runs the LVM2 stuff depending on whether or not you have the lvm hook in your mkinicpio.conf (or add it otherwise with the command line).  So yu can safely remove that.
    The reason that Grub is able to read the /boot partition, but then it can still fail to find the rootfs is because these are two separate things.  Grub has its own system to give it LVM compatibility.  So it uses its stuff to read that, gets the information it needs, then loads the kernel and initramfs. It then passes the system off, at which point, this process of detecting the LVM and finding the rootfs happens all over again, albiet with the kernel and native linux userspace tools.
    My laptop was on LVM2 when this change occurred.  It worked for a while, and then just totally borked... well not toally, but it was way inconsistent and super frusturating.  So I changed to btrfs.  There is a thread about luks and lvm2 not booting, but it is actually just about lvm2, as the luks part of it was just cioncidence.  You may want to ahve a look there because there is a slight change you can make in your lvm.conf that might help.  It helped in my case, but it only made it slightly less borked, which is why I eventually changed setups.
    Edit: I remember the edit having something to do with a filter... or global filter... something about having it not scan floppies and cdroms and whatnot.
    Last edited by WonderWoofy (2013-05-23 00:05:31)

  • [SOLVED]getting "error 15: file not found!"

    Hi all, I'm new to Arch and linux in general but i've managed so far and I'm really enjoying it.
    I'm dual booting Arch and Vista.
    Anyway, everything was working fine until I decided that I wanted to stop using GRUB as my bootloader and I used a program called EasyBCD and this guide http://apcmag.com/how_to_dualboot_vista … htm?page=4
    Now, I get "Error 15: File not found!" when i try to boot into arch. I've looked through countless other threads and google results with people with the same problem but none of the solutions in those threads helped me.
    here's my menu.lst
    # Config file for GRUB - The GNU GRand Unified Bootloader
    # /boot/grub/menu.lst
    # DEVICE NAME CONVERSIONS
    # Linux Grub
    # /dev/fd0 (fd0)
    # /dev/sda (hd0)
    # /dev/sdb2 (hd1,1)
    # /dev/sda3 (hd0,2)
    # FRAMEBUFFER RESOLUTION SETTINGS
    # +-------------------------------------------------+
    # | 640x480 800x600 1024x768 1280x1024
    # ----+--------------------------------------------
    # 256 | 0x301=769 0x303=771 0x305=773 0x307=775
    # 32K | 0x310=784 0x313=787 0x316=790 0x319=793
    # 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
    # 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
    # +-------------------------------------------------+
    # for more details and different resolutions see
    # http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution
    # general configuration:
    timeout 3
    default 2
    color light-blue/black light-cyan/blue
    # boot sections follow
    # each is implicitly numbered from 0 in the order of appearance below
    # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
    # (0) Arch Linux
    title Arch Linux
    root (hd0,2)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/6e30f601-1196-41bf-b9f3-063434fa0c45 ro
    initrd /boot/kernel26.img
    # (1) Arch Linux
    title Arch Linux Fallback
    root (hd0,2)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/6e30f601-1196-41bf-b9f3-063434fa0c45 ro
    initrd /boot/kernel26-fallback.img
    # (2) Windows
    title Windows
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    Last edited by tooeasyforkevin (2009-07-13 06:48:38)

    ok, try doing it the manual way by booting the cd as if you where to do an installation where it prompts you to log in as root.
    Once your logged in as root do
    grub
    and you will get the grub prompt
    grub>
    then the at the grub> prompt do
    grub> root (hd0,2)
    that tells grub it will find the boot files on the 3rd partition of the 1st hard drive. Then,
    grub> setup (hd0)
    to setup the grub bootloader on the MBR of the first hard drive.
    If all goes well you should see something like 'Checking if "/boot/grub/stage1" exists... yes '.
    grub> quit
    and reboot.

  • Booting 'Arch Linux' Error 15: File not found

    Booting 'Arch Linux'
    root (hd0,0)
    Filesystem type is ext2fs, partition type 0x83
    kernel /vmlinuz26 root=/dev/sda3 ro vga=792
    Error 15: File not found
    Press any key to continue...
    It's the message that Grub send me choose any option.
    Can I solve or I need to format and reinstall?

    donniezazen,
    Note that you responded to a three year old thread.  I cannot tell if you are having a problem, but I doubt this thread has any bearing on it.
    Closing.  If you are having an issue, please open a new thread.  Our policy
    Thanks

  • Cannot download PS6- error 'file not found'. PS CC downloads fine.

    getting error 'file not found' when try download PS 6 on CC website.  PS CC downloaded fine using CC app but
    PS 6 is not available when using app.

    Hi cbcart,
    Please try downloading Photoshop CS6 from the mentioned link: http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html.
    Regards,
    Romit Sinha

  • [SOLVED] GRUB 2 - "error: file not found" after Clonezilla Restore

    Hello,
    I backed up my Arch Install which is one root partition covering the entire SDD with Clonezilla, to play around with Gentoo and FreeBSD on my Laptop.
    Now I restored the image and when GRUB 2 loads I see "error: file not found" three times for a short momemt before I'm in the GRUB 2 menu.
    When I boot my I also see these 3 messages (probably the once from the early loading process) and "Loading Linux ck kernel...." "Loading initrafms...." "Press any key to continue..." When I wait for a short time or press enter it boots like expected (fsck message appears for a short time since I'm using quite boot and I'm in KDM after that).
    Grub loading...
    error: file not found
    error: file not found
    error: file not found
    Loading Linux ck kernel...
    Loading initramfs...
    Press any key to continue...
    I did not have this when I  backed it up. It booted into the menu and when I booted the menu entry it would go black to show me the fsck message and seconds later I was in KDM.
    I tried $ sudo grub-mkconfig but it did not change anything.
    This is my current /boot/grub/grub.cfg
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    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
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    set timeout=5
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch GNU/Linux, with Linux ck kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck kernel-true-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux ck kernel ...'
    linux /boot/vmlinuz-linux-ck root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-ck.img
    menuentry 'Arch GNU/Linux, with Linux ck kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck kernel-fallback-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux ck kernel ...'
    linux /boot/vmlinuz-linux-ck root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-ck-fallback.img
    menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    Anyone has a clue what files it is looking for? And why it doesn't boot straight away, when there is nothing that keeps it from booting up normal anyway?
    Last edited by blackout23 (2013-03-21 16:16:59)

    the.ridikulus.rat wrote:Upgrade to grub 2.00, that will give info on which file is actually missing. And then recreate /boot/grub/grub.cfg and check whether that error is gone.
    I think I'm already on Grub 2.0.0 otherwise I wouldn't have this cryptic menu configuration file.
    local/grub-bios 2.00-1
    GNU GRand Unified Bootloader - i386 PC BIOS Modules
    local/grub-common 2.00-1
    GNU GRand Unified Bootloader - Utilities and Common Files

  • Can not boot into Xen: Error 15 File not found

    Hi,
    When i boot Arch then there is no problem but selecting Xen will result in Error 15: file not found. I checked /boot and all the files are there. There is also no typo. Why is that ?
    This is my /boot/grub/menu.lst
    timeout 5
    default 0
    color light-blue/black light-cyan/blue
    # (0) Arch Linux
    title Arch Linux
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    # (1) Xen dom0
    title Xen 3.4.1
    root (hd0,0)
    kernel /xen.gz dom0_mem=1024000
    module /vmlinuz-2.6.18.8-xen0 root=/dev/sda3 ro
    module /xen0.img
    lamnk:~% ls /boot
    System.map-2.6.18.8-xen0 config-2.6.18.8-xen0 kernel26-fallback.img vmlinuz-2.6.18.8-xenU xen-3.4.gz@ xen.gz@ xenU-fallback.img
    System.map-2.6.18.8-xenU config-2.6.18.8-xenU kernel26.img vmlinuz26 xen-3.gz@ xen0-fallback.img xenU.img
    System.map26 grub/ vmlinuz-2.6.18.8-xen0 xen-3.4.1.gz xen-syms-3.4.1 xen0.img

    Uhm, because all the files reside in /boot so it should have the same root, no ? The boot partion for Xen is also for Linux so i think it's pretty much bootable ...
    PS: and this is not a multiple disks setup. I'm running Arch on my laptop.
    Last edited by lamnk (2009-09-28 12:14:44)

  • [SOLVED] HPLIP- PPD file not found.

    Hello all,
    I am trying to install an HP Officejet 5610 All-in-One. I have used HPLIP in Ubuntu before to install it and it worked fine. However, I do not seem to be able to get it to work here in Arch.
    I installed hplip through pacman, which seemed to work fine.
    Upon typing:
    sudo hp-setup
    I select USB as the printer I want to detect, and that goes fine. It sees that I have an 'HP Officejet 5600 series' and after clicking next I get a 'PPD file not found' error.
    I try the 'Select Other' option, but there is no PPD file relating to the 5610 AIO or even the 5600 series. I also went to linuxprinting.org to try and find a PPD file, but there doesn't seem to be one for this printer.
    As I say, I know that the printer/scanner/fax-everything worked just fine in Ubuntu, so I am sure that it can be accomplished here. I must just be missing something simple.
    Does anyone have any idea as to how I can get the appropriate PPD file, or which one of the listed ones might work instead? The only Officejet that I see listed is the 'hp_officejet_9100_series-ps.ppd.gz', does that sound like a reasonable choice?
    Any assistance would be greatly appreciated. Thanks.
    I should have mentioned that I am running Arch64, in case that has some bearing on the issue.
    Last edited by The Avatar of Time (2008-07-28 08:30:40)

    Thanks for the reply.
    Well this is all rather odd. I checked and I had chosen 'foomatic/hpijs'. So I tried printing this thread again. No more odd characters. Apart from some seriously awful fonts (it is not printing the fonts that I actually see on the page) the page prints more or less normal. Also though, the Arch Linux banner does not show up, and Home, Forums, etc. do but they don't print right. There should be a black and a blue bar over the Home, Forums, etc., but it doesn't show up. I tried printing a third time and got the same weird characters as the first time.
    So what do you think the problem with this is? I find it strange that it almost works once, then works weird, and I'm sure if I try enough times I will get another decent page. So I am lost here. The scanner seems to be working fine though. So there is definite progress, after all the printer works now. I assume that it is some language of font problem. I really have no idea though. Any more help is appreciated. Thanks.
    I was gonna include screenshots but I don't seem to be able to figure out how to do that. Help please
    Last edited by The Avatar of Time (2008-06-01 17:14:11)

  • GlobalInitNLS: NLS boot file not found or invalid

    Hi,
    we are in 10g Grid on Win 2003.
    I can not connect to 10g Grid. I have this error :
    D:\oracle\oms10g\opmn\bin>opmnctl ping
    globalInitNLS: NLS boot file not found or invalid
    -- default linked-in boot block used
    XML parser init: error 201.
    opmnctl: ping failed.
    Any idea or help ?
    Thank you.

    Hi Thomas,
    It may not be related, but had problems with Beekeeper on Windows with oranls10.dll until I set the following variable
    OPMN_USE_ORACLELIBS=false
    hth
    David

Maybe you are looking for

  • How do I update a column in another block?

    I have a form that has dorm room assignment information in one block--multiple rows, and a related block with check in/out information, one row for each assignment row. If the user updates the assignment information, setting a room assignment to inac

  • Problems syncing new google calendar delegates to iPhone 3

    I got a iPhone 3 a few months ago and had no problem setting up calendar so that all of my google calendar delegates are visible in both iCal and on my iPhone. I haven't had any problems with getting events to update on all of my calendars regardless

  • Why is the new mapping so bad?

    Why is he new mapping system so bad and when will it be fixed?

  • Setup of oracle10gR1 on windos XP

    hi database gorus, i want to install oracle10gR1 on my windows XP machine but during installation on this part... setup pending...Its gone..the screen disappears.what i used to be able to the setup is oracle\install\setup. when i try to click the aut

  • Does OSPF support IP LDP Fast Reroute Loop Free Alternate?

                      I only saw examples with IS-IS protocol. I have got ARS9010 with IOS XR 4.01. OSPF is in MPLS core and I need failover below 1sec. The core will state 5 ASR in ring.