[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.

Similar Messages

  • [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)

  • [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.

  • [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

  • [SOLVED]KDE 4.4, file not found

    I did the sudo pacman -Sy --asdeps qt as stated in announcement, then sudo pacman -Su
    Proceed with installation? [Y/n] Y
    :: Retrieving packages from extra...
    error: failed retrieving file 'akonadi-1.3.1-1-i686.pkg.tar.gz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'akonadi-1.3.1-1-i686.pkg.tar.gz' from mirrors.kernel.org : Not Found
    error: failed retrieving file 'libv4l-0.6.4-1-i686.pkg.tar.gz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'libv4l-0.6.4-1-i686.pkg.tar.gz' from mirrors.kernel.org : Not Found
    error: failed retrieving file 'kdeplasma-applets-networkmanagement-1073182-1-i686.pkg.tar.gz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'kdeplasma-applets-networkmanagement-1073182-1-i686.pkg.tar.gz' from mirrors.kernel.org : Not Found
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (Not Found)
    Errors occurred, no packages were upgraded.
    and this in the beginning:
    [felix@myhost ~]$ sudo pacman -Ss akonadi
    extra/akonadi 1.3.1-1
    PIM layer, which provides an asynchronous API to access all kind of PIM data
    extra/kdepim-akonadiconsole 4.4.0-1 (kde kdepim)
    Akonadi Management and Debugging Console
    [felix@myhost ~]$ sudo pacman -Su
    :: Starting full system upgrade...
    :: Replace kdelibs-experimental with extra/kdelibs? [Y/n] Y
    :: Replace kdeplasma-applets-networkmanager with extra/kdeplasma-applets-networkmanagement? [Y/n] Y
    resolving dependencies...
    warning: provider package was selected (phonon-gstreamer provides phonon-backend)
    kernel.org is updated hours ago when I check mmirror status and I already have Qt 4.6, what to do?
    What could be the problem?
    Thanks
    Last edited by Nibble (2010-02-09 16:57:24)

    Sounds like a good reason, as when I do pacman -Ss akonadi it shows up.
    EDIT: when speaking of which, it works.
    But:
    error: failed to commit transaction (conflicting files)
    kdelibs: /usr/share/apps/cmake/modules/FindKDevPlatform.cmake exists in filesystem
    should I just delete it(the file)? I have kdevelop installed along side cmake.
    Last edited by Nibble (2010-02-09 15:40:04)

  • [SOLVED] GRUB: Error 15: File not found

    I've used the beginners guide to install Arch on my laptop and everything went smooth untill I rebooted and ended up with GRUB error 15. I've seen some other people having trouble with this one but neither of the solutions that worked (or didn't work) for them have worked out for me. I will try to provide you with as much information as possible:
    I get to the GRUB menu and get the error after choosing 'Arch Linux' from it.
    menu.lst
    title Arch Linux
    root (hd0,0)
    kernel /vmlinuz26 root=/dev/disk/by-uuid/0b899428... ro vga=773
    initrd /kernel26.img
    The only thing I've changed in menu.lst is that I've added vga=773. I left out the rest of the UUID because I'm writing it of my laptop beside me.
    fdisk -l
    Device Boot Start End Blocks ID System
    /dev/sda1 * 1 13 104422 83 Linux
    /dev/sda2 14 144 1052257+ 82 Linux swap / Solaris
    /dev/sda3 145 1101 7687102+ 83 Linux
    /dev/sda4 1102 9729 69304410 83 Linux
    blkid
    /dev/sda1: UUID="1afac34a-..." TYPE="ext2"
    /dev/sda2: TYPE="swap" UUID="abd14101-..."
    /dev/sda3: UUID="0b899428-..." TYPE="jfs"
    /dev/sda4: UUID="3b33ca9f-..." TYPE="jfs"
    I've also tried poking around in the GRUB console:
    grub> root (hd0,0)
    Filesystem type is ext2fs, partition type 0x83
    grub> setup (hd0)
    Checking if "/boot/grub/stage1" exists... no
    Checking if "/grub/stage1" exists... yes
    Checking if "/grub/stage2" exists... yes
    Checking if "/grub/e2fs_stage1_5" exists... yes
    Running "embed /grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal)
    Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
    Running "install /grub/stage1 (hd0) grub/stage2 p /grub/menu.lst "... succeeded
    Done.
    Any help would be much appreciated and I'll gladly provide you guys with any other information if necessary.
    EDIT: Solved through re-installing.
    Last edited by zulustar (2009-09-13 20:20:57)

    I moved the boot parition to hdd sda, but doing so I had to reinstall everything, and it seemed to fix it. I also found that one of the sata cables had been knocked out, but I don't think that was the orginal fault.
    ibendiben wrote:
    fumbles wrote:
    timeout 5
    default 1
    color light-blue/black light-cyan/blue
    #(0) Arch
    title Arch Linux
    root (hd2,0)
    kernel /vmlinuz26 root=/dev/disk/by-uuid/blah(aka sda1) ro vga=795
    initrd /kernel26.img
    I wonder why you have "default 1". If you want to boot Archlinux (above) as default you should use "default 0", or has something changed lately?
    Also:
    root=/dev/disk/by-uuid/blah(aka sda1)
    that doesn't seem to be very valid. You need to fill it in.
    /edit
    Ofcourse you used blah(aka sda1) just here, not in the real file... sorry for the unhelpfull post
    The default was a typo, as I could not boot into anything except the Arch CD I had to type it in manually. Although thanks for the reply anyways.
    kgas wrote:
    Hello fumbles, As you have a separate /boot partition, the grub entry is not correct, I believe. if  should be /boot/vmlinuz For more help this link may also help you.
    http://www.experts-exchange.com/Operati … 72531.html
    This is simply not true. The reverse however is. I did NOT have a seperate boot parition, ie boot was just in the root partition   then yes I would have to add /boot to the kernel and initrd lines.
    Last edited by fumbles (2009-01-08 04:32:07)

  • BCD FILE NOT FOUND

    Hello guys,
    First of all, I am using windows 8.1. Everytime I attempt to reset it the error "REQUIRED DRIVE PARTITION IS MISSING" always appears. I have googled this problem and I've found the suggestion (using bootrec):
    In the command prompt, type
    1. bootrec /fixmbr
    2. bootrec /fixboot
    3. bootrec /rebuildbcd
    Now,  bootrec /rebuildbcd command always results in 0 total...
    So (4) attrib C:\Boot\BCD -h -r -s
    However, I always get the response "C:\Boot\BCD FILE NOT FOUND"
    Can anyone help me please? Thanks so much!

    Hi Blessed,
    Have you got an installation media ?
    If we haven`t got one ,we can made one referring to the following link :
    Create installation media for Windows 8.1
    http://windows.microsoft.com/en-HK/windows-8/create-reset-refresh-media
    We can boot from the installation media and then choose the repair mode during the  “install now “ screen .And choose the “Startup repair” option in the Windows Repair Environment .
    If the automatic repair will not work ,choose the command line mode and take the following steps to have a check.
    Type diskpart
    Type select disk 0
    Type list partition
    then note the partition number where you installed windows 8.1.
    Type select partition X   (X is the partition number where Windows is installed)
    type active
    type exit
    type bcdboot c:\windows  (if C is your windows partition)
    Here is a link for reference of this method (Juke Chou`s answer):
    BCDboot "Failure when attempting to copy boot files" (This method should also be applied to Windows 8.1 )
    https://social.technet.microsoft.com/Forums/windows/en-US/7998d8fe-14f1-4e03-bf9e-49a1918e099f/bcdboot-failure-when-attempting-to-copy-boot-files?forum=w7itproinstall
    Best regards

  • [Solvd]hd0,gpt1error: file /EFI/Microsoft/Boot/bootmgfw.efi' not found

    I'm trying to configure GRUB2 to load Windows 8 on UEFI system.
    os-prober does not detect it.
    grub-mkconfig creates only for Linux (tried both with mounted and unmounted Windows partition).
    So I went for manual entry.
    I executed the following
    $ mount /dev/sde1 /boot/efi/
    $ grub-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    69DB-D2EB
    # grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    --hint-bios=hd4,gpt1 --hint-efi=hd4,gpt1 --hint-baremetal=ahci4,gpt1
    Created menuentry for /boot/grub/grub.cfg
    menuentry "Microsoft Windows 8" {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    search --fs-uuid --hint-bios=hd4,gpt1 --hint-efi=hd4,gpt1 --hint-baremetal=ahci4,gpt1 69DB-D2EB
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    And when I choose it it says
    hd0,gpt1error: file /EFI/Microsoft/Boot/bootmgfw.efi' not found
    Note that EFI partition is not mounted is fstab (does it make a difference for GRUB?).
    Also, specifying
    chainloader /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    Gives the same not found.
    P.S. Windows "fast start" is disabled
    Last edited by Doctor Drive (2013-09-29 09:57:25)

    Doctor Drive wrote:
    Thank you, the.ridikulus.rat.
    I just booted back from windows to tell the same.
    I just found the solution here
    http://unix.stackexchange.com/questions … th-windows
    I was configuring according to the ArchWiki.
    The ArchWiki was missing that point.
    https://wiki.archlinux.org/index.php/GR … I-GPT_Mode
    it said
    menuentry "Microsoft Windows Vista/7/8 x86_64 UEFI-GPT" {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    search --fs-uuid $hints_string $uuid
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    Just edited the wiki. Thanks!
    I initially wrote that section of the wiki (with "--set=root" included), but someone had changed it recently ( https://wiki.archlinux.org/index.php?ti … did=276742 ).
    Last edited by the.ridikulus.rat (2013-09-29 10:02:48)

  • 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

  • [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)

  • [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)

  • Solaris 10 boot error 15 file not found

    During a reboot to one of our solaris 10 servers when it reboots it comes up with this error message
    Findroot (pool_rpool,0,a)
         Filesystem type is zfs, partition type 0xbf
    kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS
    loading '/platform/i86pc/multiboot -B $ZFS-BootFS' ....
    Error 15: File not found
    press any key to continue...
    The grub file menu.lst content is as follows
    #pragma ident   "@(#)menu.lst   1.2     10/06/11 SMI"
    default 0
    timeout 10
    # Uncomment the following line to enable GRUB splashimage on console
    splashimage /boot/grub/splash.xpm.gz
    #---------- ADDED BY BOOTADM - DO NOT EDIT ----------
    title Oracle Solaris 10 1/13 s10x_u11wos_24a X86
    findroot (pool_rpool,0,a)
    kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS
    module /platform/i86pc/boot_archive
    #---------------------END BOOTADM--------------------
    #---------- ADDED BY BOOTADM - DO NOT EDIT ----------
    title Solaris failsafe
    findroot (pool_rpool,0,a)
    kernel /boot/multiboot -s
    module /boot/amd64/x86.miniroot-safe
    #---------------------END BOOTADM--------------------
    During a shell session using a recovery disk i mount the rpool to /a , if I do a zpool status it comes back that rpool mirror-0 with both disks are online
    rpool          ONLINE
    mirror-0      ONLINE
    c0t0d0s0      ONLINE
    c0t1d0s0      ONLINE
    However if I do a zpool import it shows
    rpool          UNAVAIL     insufficient replicas
      mirror-0     UNAVAIL     insufficient replicas
         c0t0d0s0 FAULTED   corrupted data
         c0t1d0s8 UNAVAIL    corrupted data
    This is highly confusing
    Any help would be much appreciated

    What's confusing to me is that the second disk in this mirrored root pool shows c0t1d0s0 in one output and c0t1d0s8 is another output. I hope this is a typo. Otherwise, you need to find out why this device path changed. Its look like the primary disk is faulted. FMA will tell you if the disk is faulted and whether the second disk's device path changed. You will have to boot from media or an install server.
    Thanks, Cindy

  • 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) grub rescue file not found

    I reinstalled arch, also installed grub with arch installation. After reboot grub gives that error.
    "file not found"
    what should i do now? I'm writing from ubuntu live cd
    Last edited by bilgee0629 (2011-04-16 07:22:25)

    First thing to do, Assuming an Error 15: file not found, would be to check your grub's menu.lst to make sure that it is referencing the correct partition and vmlinuz26. If you have a separate boot partition it should reference that partition and just use /vmlinuz26 (as explained on the following thread https://bbs.archlinux.org/viewtopic.php?id=56251). However if everything there seems correct, you will have to post more information for people to help you, such as the contents of /etc/fstab along with your menu.list.
    you can check the menu.lst through the ubuntu live cd by mounting the arch root partition (or /boot if you partitioned it that way) and opening /boot/grub/menu.lst.
    Also, this might be of help http://ubuntuforums.org/showthread.php?t=1263009.
    Last edited by eyhaszewin (2011-04-15 13:28:13)

  • 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