You are not logged in.
Pages: 1
I get the following error every single time I boot my machine, altough everything works, it worries me something will break eventually.
Upon selecting the kernel I want to boot, I get the following error:
Error. File not found...
Error. File not found...
Error. File not found...
Loading initial ramdisk....
Press any key to continue....
Thats exactly the error I am getting, 3 times the same error, after I press a key, everything boot smothly.
Is there a misconfiguration somewhere? What should I do to solve the problem?
thanks a lot for the help.
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
Is there a misconfiguration somewhere?
Presumably.
But how would you expect anyone to be able to answer that with any certainty without including the relevant files?\
Not a laptop issue; moving to Newbie Corner...
Offline
655321 wrote:Is there a misconfiguration somewhere?
Presumably.
But how would you expect anyone to be able to answer that with any certainty without including the relevant files?\
Not a laptop issue; moving to Newbie Corner...
You are right.
The only relevant file I can think of is /boot/grub/grub.cfg, if there is anything else please let me know
#
# 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,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 cd3928fb-7745-4320-bf4b-b2deae0560d1
else
search --no-floppy --fs-uuid --set=root cd3928fb-7745-4320-bf4b-b2deae0560d1
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 core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-cd3928fb-7745-4320-bf4b-b2deae0560d1' {
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 ce851224-8c6b-4df0-a53f-4ca87dd2454f
else
search --no-floppy --fs-uuid --set=root ce851224-8c6b-4df0-a53f-4ca87dd2454f
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=cd3928fb-7745-4320-bf4b-b2deae0560d1 ro elevator=noop initcall_debug printk.time=y quiet init=/sbin/bootchartd
echo 'Loading initial ramdisk ...'
initrd /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-cd3928fb-7745-4320-bf4b-b2deae0560d1' {
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 ce851224-8c6b-4df0-a53f-4ca87dd2454f
else
search --no-floppy --fs-uuid --set=root ce851224-8c6b-4df0-a53f-4ca87dd2454f
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=UUID=cd3928fb-7745-4320-bf4b-b2deae0560d1 ro elevator=noop initcall_debug printk.time=y quiet init=/sbin/bootchartd
echo 'Loading initial ramdisk ...'
initrd /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 ###
menuentry 'Debian GNU/Linux (Kali Linux 1.0)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-749e870f-54d3-4df1-9cd9-f027922cbb0a' {
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 749e870f-54d3-4df1-9cd9-f027922cbb0a
else
search --no-floppy --fs-uuid --set=root 749e870f-54d3-4df1-9cd9-f027922cbb0a
fi
linux /boot/vmlinuz-3.7-trunk-amd64 root=UUID=749e870f-54d3-4df1-9cd9-f027922cbb0a ro initrd=/install/gtk/initrd.gz quiet
initrd /boot/initrd.img-3.7-trunk-amd64
}
submenu 'Advanced options for Debian GNU/Linux (Kali Linux 1.0)' $menuentry_id_option 'osprober-gnulinux-advanced-749e870f-54d3-4df1-9cd9-f027922cbb0a' {
menuentry 'Debian GNU/Linux, with Linux 3.7-trunk-amd64 (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.7-trunk-amd64--749e870f-54d3-4df1-9cd9-f027922cbb0a' {
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 749e870f-54d3-4df1-9cd9-f027922cbb0a
else
search --no-floppy --fs-uuid --set=root 749e870f-54d3-4df1-9cd9-f027922cbb0a
fi
linux /boot/vmlinuz-3.7-trunk-amd64 root=UUID=749e870f-54d3-4df1-9cd9-f027922cbb0a ro initrd=/install/gtk/initrd.gz quiet
initrd /boot/initrd.img-3.7-trunk-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.7-trunk-amd64 (recovery mode) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.7-trunk-amd64-root=UUID=749e870f-54d3-4df1-9cd9-f027922cbb0a ro single initrd=/install/gtk/initrd.gz-749e870f-54d3-4df1-9cd9-f027922cbb0a' {
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 749e870f-54d3-4df1-9cd9-f027922cbb0a
else
search --no-floppy --fs-uuid --set=root 749e870f-54d3-4df1-9cd9-f027922cbb0a
fi
linux /boot/vmlinuz-3.7-trunk-amd64 root=UUID=749e870f-54d3-4df1-9cd9-f027922cbb0a ro single initrd=/install/gtk/initrd.gz
initrd /boot/initrd.img-3.7-trunk-amd64
}
}
### 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 ###Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
Is there a reason you insist on always booting with bootchartd? Doesn't systemd provide similar functionality now?
Offline
I tried to use bootchartd yesterday, but failed miserably and forgot to remove the kernel parameter, thanks for reminding me!
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
So you don't have to go through that crap again, do this instead (no setup required):
$ systemd-analyze plot > ~/bootchart.svg Of course you have to have the two python packages necessary to make systemd-analyze work in the first place.
Offline
So you don't have to go through that crap again, do this instead (no setup required):
$ systemd-analyze plot > ~/bootchart.svgOf course you have to have the two python packages necessary to make systemd-analyze work in the first place.
Awesome, worked beatifully
, thanks a lot
Now only thing left would be to fix this "file not found error" that is rather annoying
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
Yeah, that doesn't really solve the original problem now does it? ![]()
Edit: Have you checked all your grub.cfg and /etc/default/grub crap against the partition layout, kernel location/name, etc? Also you might try reinstalling grub to see if the errors go away. I assume that part of the installation procedure is that those modules get copied to a place where they can be easily read... but I don't know because I don't use grub.
Last edited by WonderWoofy (2013-04-02 23:55:17)
Offline
I also get same error.
Error. File not found...
Error. File not found...
Error. File not found...
Loading initial ramdisk....
Press any key to continue....
Thats exactly the error I am getting, 3 times the same error, after I press a key, everything boot smothly.
Is there a misconfiguration somewhere? What should I do to solve the problem?
My grub.cfg is below
#
# 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 ###
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
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,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' 0f67c94e-226c-495e-a7d6-78e4e464fa7a
else
search --no-floppy --fs-uuid --set=root 0f67c94e-226c-495e-a7d6-78e4e464fa7a
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1366x768x32
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' 0f67c94e-226c-495e-a7d6-78e4e464fa7a
else
search --no-floppy --fs-uuid --set=root 0f67c94e-226c-495e-a7d6-78e4e464fa7a
fi
insmod png
background_image -m stretch /boot/grub/boot.png
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-0f67c94e-226c-495e-a7d6-78e4e464fa7a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' 0f67c94e-226c-495e-a7d6-78e4e464fa7a
else
search --no-floppy --fs-uuid --set=root 0f67c94e-226c-495e-a7d6-78e4e464fa7a
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=0f67c94e-226c-495e-a7d6-78e4e464fa7a rw quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
}
menuentry 'Arch Linux 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-0f67c94e-226c-495e-a7d6-78e4e464fa7a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' 0f67c94e-226c-495e-a7d6-78e4e464fa7a
else
search --no-floppy --fs-uuid --set=root 0f67c94e-226c-495e-a7d6-78e4e464fa7a
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=0f67c94e-226c-495e-a7d6-78e4e464fa7a rw quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
}
menuentry 'Arch Linux Linux, with Linux core repo kernel (recovery mode)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-recovery-0f67c94e-226c-495e-a7d6-78e4e464fa7a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 --hint='hd0,msdos3' 0f67c94e-226c-495e-a7d6-78e4e464fa7a
else
search --no-floppy --fs-uuid --set=root 0f67c94e-226c-495e-a7d6-78e4e464fa7a
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=0f67c94e-226c-495e-a7d6-78e4e464fa7a rw single
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/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/40_custom.pacsave ###
# 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.
#(2) windosvista
menuentry "windowsvista" {
set root=(hd0,2)
chainloader +1
}
### END /etc/grub.d/40_custom.pacsave ###
### 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 ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ #### If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch Linux"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to disable graphical terminal
#GRUB_TERMINAL=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=1366x768x32
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# 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_LINUX_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="/boot/grub/boot.png"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"Last edited by piyushbhatt (2013-08-14 18:03:39)
Offline
@piyushbhatt
Look at your UUID's there all the same..... pacnew?
I checked , now they're supposed to be the same, sorry I have disturbed hyperspace;)
Last edited by qinohe (2013-08-14 21:42:43)
Offline
Have you reinstalled grub to disk as well as regenerating grub.cfg?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Yes , i have re installed Grub and generated grub.cfg.
Offline
This guy did an interesting work-around on the problem.
Offline
That's not the best way to fix it, though, because Arch installs the all_video.mod so it really shouldn't be failing the conditional. Does anybody know whether $feature_all_video_module should be set to y?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
In my 00_header
if [ x\$feature_all_video_module = xy ]; then
insmod all_videoOffline
That's how it tests it. But does anybody know whether that should test positive in Arch?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
This problem occurs due to not updating the grub stuff installed in /boot/grub (by running grub-install). Don't simply regenerate grub.cfg without updating grub files in /boot because the new features added in grub.cfg require updated files in /boot/grub.
Last edited by the.ridikulus.rat (2013-08-16 14:08:18)
Offline
Yes , i have re installed Grub and generated grub.cfg.
@the.ridikulus.rat, I too continue to assume that the problem is that the piyushbhatt needs to re-run grub-install. But I think that after getting this above answer after cfr asked "Have you reinstalled grub to disk as well...?" has made the contributors to this thread assume that this took place. I still have my doubts. When it comes to bootloader stuff, I tend to trust what you tell me.
Offline
Pages: 1