(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)
Similar Messages
-
[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) -
[SOLVED] firefox32 / wine32: file not found
nt@eNTi $ firefox32
/opt/firefox32/run-mozilla.sh: line 143: /opt/firefox32/firefox32-bin: No such file or directory
nt@eNTi $ la /opt/firefox32/firefox32-bin
-rwxr-xr-x 1 root root 44K Oct 4 20:45 /opt/firefox32/firefox32-bin
nt@eNTi $ file /opt/firefox32/firefox32-bin
/opt/firefox32/firefox32-bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
what am i missing?
SOLUTION:
lib32-libtool
libtool-multilib
instead of:
libtool
Last edited by eNTi (2010-10-07 11:38:17)thx for the answers, but the solution was, that i had still installed libtool and not lib32-libtool from multilib. that was quite a strain to find out, because the error message wouldn't lead me in that direction in any way. i only got suspicious because wine suddenly showed the same symptoms.
-
[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 -
Firstly if this is not the right place for this thread feel free to move it, I wasn't sure if it need be here or in installation.
My Debian installation 'died' (my own fault) however I was ready for a change anyway so I took the oppertunity to try arch out as I would prefer to use a 'faster' moving OS. So I followed the installation procedure and after rebooting my system post install I just get GRUB: file not found, then the grub rescue prompt.
I have an unavoidable windows partition on the system that has to be there for development reasons.
I have a 50Mb boot partition for grub, as well as a root partition and home partition, the latter two are logical.
fdisk -l yeilds:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x26951e29
Device Boot Start End Blocks Id System
/dev/sda1 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 22450 180224000 7 HPFS/NTFS
/dev/sda3 * 22450 22456 48195 83 Linux
/dev/sda4 22456 38913 132193053+ 5 Extended
/dev/sda5 * 22456 29751 58597056 83 Linux
/dev/sda6 29751 38670 71641836 83 Linux
/dev/sda7 38670 38913 1954067 82 Linux swap / Solaris
note I only have one actual disk 'sda'
my grub's menu.lst in sda3 /grub/menu.lst is:
# (0) Arch Linux
title Arch Linux
root (hd0,2)
kernel /vmlinuz26 root=/dev/sda5 ro
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,2)
kernel /vmlinuz26 root=/dev/sda5 ro
initrd /kernel26-fallback.img
# (2) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1
Note I have removed the comments at the top for the sake of space.
some other information that might be of use.
sda3 ls of /grub/
e2fs_stage1_5
fat_stage1_5
ffs_stage1_5
iso9660_stage1_5
jfs_stage1_5
menu.lst
minix_stage1_5
reiserfs_stage1_5
stage1
stage2
stage2_eltorito
ufs2_stage1_5
vstafs_stage1_5
xfs_stage1_5
sda3 ls of /
grub kernel26-fallback.img kernel26.img kernel26-lts-fallback.img kernel26-lts.img lost+found System.map26 System.map26-lts vmlinuz26 vmlinuz26-lts
finally ls of sda5 rt partion
bin boot dev etc home lib lib64 lost+found media mnt opt proc root run sbin srv sys tmp usr var
sorry if a lot of that is redundant and let me know if I can provide any more info to assist the problem, I really need this system woking, also if could get access back to the Windows partition that would be a major plus.
Thanks again
Last edited by 651bobby (2011-06-06 11:07:59)651bobby wrote:
Hi thanks for your reply.
I have a more general question, when I install grub is grub supposed to install something to the first 512 or whatever bytes of the HDD to point to where the boot loader actually is?
The way I have a feeling it may have done this to the start of sda3 rather than sda. When I do a grub-install I get a 'Could not find device for /boot: Not found or not a block device'
I am getting to the point where I reckon my machine is fubar-ed enough not to bother trying to save it it's current state, :S
I would bet that your MBR (first sector of your disk) contains remnants of your debian grub. Debian uses grub2 which is notorious for wanting to decide it all - me, I far prefer grub legacy ... then _you_ (or _I_ as the case might be) is in complete control! (end rant)
If you have only _one_ linux - then it's ok to install grub (or grub2) on the MBR. If you have more than one, I would strongly suggest that you install to the first sector of the root (or /boot) filesystem. Actually, if you have more than one - I wouldn't bother about a seperate boot-partition, you will just end up in confusion as to which /boot belongs to which distro.
Seeing you also have 'that other OS', I would use the standard dos-loader on the MBR - this will look for one (and only one) active partition amongst the primary ones. In that case you can happily install arch's grub on sda3 (as in your case) and make this the active partition (boot-flag is set).
However, there is also no problems involved in putting it on the MBR - instructions are given below:
# installing grub on the mbr
grub
grub> root (hd0,2) ## seeing your /boot-partition is on sda3
grub> setup (hd0) ## install to MBR
grub> quit
# installing grub on sda3
grub
grub> root (hd0,2)
grub> setup (hd0,2)
grub> quit
In the latter case, you have to use fdisk to toggle the boot-flag so that sda3 is the 'active' partition.
The above is just my very personal opinion and there will be numerous others that think _their_ way is the best *shrug* Each to his or her own ...
Last edited by perbh (2011-06-06 17:46:20) -
[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. -
Grub Error 15: File not found
I am using Tobias Powalowski's 2008.10 archboot to install archlinux
everything seems fine, except with "setting password", and i skipped that.
after rebooting, grub comes up with an error 15: File not found
It appears that grub find /vmlinuz but not /kernel26.img..
anyone help? thank you.
Some information below
==== grub shows =======
root (hd0,0)
File system type is ext2fs, partition type 0x83
kernel /vmlinuz26 root=/dev/disk/by-uuid/06370655..91 ro
[Linux-bzImage, setup=0x3000, size=0x1be2e0]
initrd /kernel26.img
Error 15: File not found
Press any key to continue...actually i find there is no kernel26.img in /boot/
ls /boot
System.map26 grub lost+found vmlinuz26
where can i get kernel26.img? -
[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. -
[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) -
[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) -
After kernel upgrade "file not found"
I upgraded to kernel version 3 and I rebooted but I didn't do anything in menu.lst, because I thought symlinks would work, so I rebooted but it didn't work. I tried to boot changing names in grub menu but I'm always getting same error "file not found" and I don't know what else to do. I can see the vmlinuz-linux but I can't see initramfs-linux file in /boot from a Live CD. Can you share your menu.lst to try them please.
tbuitenh wrote:
I ran into the same problem. I bookmarked this thread earlier, sorry if the problem has been solved in another one and I didn't notice it.
After putting back the kernel and ramdisk from a backup (using different filenames) and downgrading the kernel (mkinitcpio doesn't work, that's why I had to take the ramdisk from a backup), I was able to get back into my system.
I found a mkinitcpio.conf.pacnew, but no significant changes in there. Applied them anyway.
So let's try that again...
sudo pacman -Syu
(3/5) installing linux [######################] 100%
>>> Updating module dependencies. Please wait ...
/tmp/alpm_kwQ6VA/.INSTALL: line 10: depmod: command not found
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
/tmp/alpm_kwQ6VA/.INSTALL: line 12: mkinitcpio: command not found
Optional dependencies for linux
crda: to set the correct wireless channels of your country
That doesn't look healthy. Perhaps a path problem?
[tb@progress ~]$ su -
Password:
[root@progress ~]# pacman -S linux
warning: linux-3.0.1-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): linux-3.0.1-1
Total Download Size: 0.00 MB
Total Installed Size: 54.55 MB
Proceed with installation? [Y/n]
(1/1) checking package integrity [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) upgrading linux [######################] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio. Please wait...
==> Building image from preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.0-ARCH
-> Parsing hook: [base]
-> Parsing hook: [udev]
-> Parsing hook: [autodetect]
-> Parsing hook: [sata]
-> Parsing hook: [resume]
-> Parsing hook: [filesystems]
-> Parsing hook: [consolefont]
==> Generating module dependencies
==> Creating xz initcpio image: /boot/initramfs-linux.img
6472 blocks
==> Image generation successful
==> Building image from preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.0-ARCH
-> Parsing hook: [base]
-> Parsing hook: [udev]
-> Parsing hook: [sata]
-> Parsing hook: [resume]
-> Parsing hook: [filesystems]
-> Parsing hook: [consolefont]
==> Generating module dependencies
==> Creating xz initcpio image: /boot/initramfs-linux-fallback.img
13946 blocks
==> Image generation successful
[root@progress ~]# ls -l /boot
total 12484
drwxr-xr-x 2 root root 4096 Aug 15 12:18 grub
-rw-r--r-- 1 root root 5216044 Aug 15 12:41 initramfs-linux-fallback.img
-rw-r--r-- 1 root root 1460104 Aug 15 12:41 initramfs-linux.img
drwxr-xr-x 2 root root 4096 Jan 26 2011 memtest86+
-rw-r--r-- 1 root root 1453292 Jul 11 19:22 offmylawn.img
-rw-r--r-- 1 root root 2333056 Aug 6 16:22 vmlinuz-linux
-rw-r--r-- 1 root root 2305152 Jul 9 15:00 vmlinuz-offmylawn
That's better. I'll reboot now and see what happens.
@tbuitenh: I encountered this same situation today when I tried to update linux-ck-corei7 from 3.0.4-1 to 3.0.4-2. Like you, running pacman after "su -" (instead of "su") permitted me to complete the update.
I figure this has to do with default login path, right? What exactly is going on here, and how can I fix it? I don't normally run pacman this way.
Last edited by dhave (2011-09-22 23:07:53) -
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 -
JBO:33001 bc4j.xcfg file not found in class path
Hi,
I am yet another victim of the age-old error JBO:33001 bc4j.xcfg file not found in class path, When i have my BC4JApp.jar in Tomcat Web-inf/lib directory. All the other jar files and class files in my webserver-application web-inf classes and lib directory works.
But Tomcat server is not able to read this bc4j.xcfg file. I can see in my jar file that this bc4j.xcfg exists and in the specified package directory. still the problem persists. My BC4JApp.jar is perfectly working when i use JDeveloper. but not when i use tomcat4.0 and call a JSP using BC4JApp.jar from browser (My environment is Jdeveloper3.2, Tomcat4.0+IIS in middle tier and oracle 8i as DB, everything on windows2k)
I have gone through almost all the threads possible that relates to this error in this form. None of them have a answer except to say "put the file in classpath". and last reply is "will fix in jDeveloper 9i. So what happens to us who are working in Jdeveloper 3.2?
1. I have this file in my jar file.
2. I also tried creating a seperate directory manually, with the same name as my package under web-inf/classes, web-inf/lib , just under web-inf directory and atlast under approot directory also. I tried having my package directory containing bc4j.xcfg in these folders one at a time and also tried having this directory in all these folders at the same time.
Still no solution.
Itz frustrating that neither proper documentation nor a right url page nor i am aware of available addressing this. page links given in above threads only gives me the wonderful page of ie's "Page cannot be displayed".
Is there a answer to this error and my problem. If this doesn't work, then i have to all the way develop from scratch creating my jsp using JDBC calls and Stored packages etc.
I don't want to give up on this Jdeveloper at this final moment because if this bc4j.xcfg file is found, my application will work perfectly. on these final moments, if this doesn't work, i am frightened to imagine to develop my application in standard way. Atlast, if thatz the option left,we have to do that bcos our production date is close by.
Please can some one in this forum or Jdeveloper help me to solve this problem. I am desperate and very urgent.
Waiting for a reply from Jdev team very much...
( I just posted in the other thread which is pretty old, dated backto May 2001, which was relevant to this error. Just to make sure it is noticed, I am posting it seperately too)
Thanks
Hari(2/3/02)Hi All,
For those who are following this thread, I got a solution for this error with the help of Jdev Team.
This solution may work, if you have deployed your application in Tomcat4.0.1. This is the environment in which I work and tested.
As you may be aware, Tomcat ignores value in CLASSPATH variable.
To see any files that are existing or newly deployed, it has it own way of detecting it.
Addition information on Tomcat working, you can follow this link,
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/index.html
Coming to point, Tomcat has got five classloaders and each classloader invoked, looks in their related directories for files in following order.
1. /WEB-INF/classes of your web-application
2. /WEB-INF/lib/*.jar of your web application
3. BootStrap classes of your JVM (Tomcat's $JAVA_HOME/jre/lib/ext)
4. System class loader classes($CATALINA_HOME/bin/bootstrap.jar,CATALINA_HOME/lib/tools.jar)
5. $CATALINA_HOME/common/classes
6. $CATALINA_HOME/common/lib/*.jar
7. $CATALINA_HOME//classes
8. $CATALINA_HOME/lib/*.jar
So All your individual application related files should be deployed in your application's WEB-INF/classes or WEB-INF/lib directory accordingly.
If your application files are unpacked, they should be deployed or copied under WEB-INF/classes directory
if the files are within a jar, they should be under WEB-INF/lib directory.
If your Jar-files contains bc4j components, then those jar files should be deployed under WEB-INF/lib directory. Also,do the next step to copy all relavant BC4J runtime libraries under lib directory.
IMPORTANT: Please remember to copy and paste all the required BC4j runtime libraries in the Same WEB-INF/lib directory along with your application jar files. This is the real reason which can solve this JBO:33001 to disappear. It worked for me.
To configure your directory for tag-lib uri's, use web.xml to set the taglib-uri attribute.
Put your web.xml and DataTags.tld in the WEB-INF directory.
Your simple web.xml may look like as follows.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<taglib>
<taglib-uri>
/webapp/DataTags.tld
</taglib-uri>
<taglib-location>
/WEB-INF/DataTags.tld
</taglib-location>
</taglib>
</web-app>
You may then modify this web.xml to suit further requirements of your application.
Remember to stop and restart the Tomcat Server (service) by using shutdown and startup scripts after updating any jar files/class files/ JSP or source files deployed in Tomcat.
Sometimes, only this helps even though your context's reloadable attribute is set to true in Tomcat Server's server.xml file.
Hope this above information helps you to solve this error in Tomcat environment. My Sincere thanks once again to Juan and Jdev team for their help and efforts to solve this problem.
Thanks
Hari
Maybe you are looking for
-
When I got my new z10, I used the Blackberry Desktop to transfer things like calendar entries, tasks, and memos from my old BB Bold to the new phone. The memos transferred fine, although it took me awhile to locate them in the "remember" folder. Ma
-
FI-MM integration(Interview Question)
Hi frends In FI-MM integration,,,,we will give the GL accounts to Transaction keys...Then how the material type will recognise the GL account??? Kindly give me the solution?
-
Problem changing ALL the colours for Visual Composer
Hi All, <b>To set the scene:</b> I have SP13 installed. I have created a Visual Composer model, selected the option "Enabling styling of flex controls in portal themes", and deployed it. Then gone into the Portal > System Admin > Portal Display > The
-
I have an HP VGA monitor connected, but I want to connect another VGA monitor using a VGA to HDMI cable. Windows 7 Pro does not recognize the second monitor at all - cannot detect. Can anyone help?
-
Merged Dimensions / Extended Merged Dimensions
Hi friends, Can you please help me out in this topics Merged Dimensions / Extended Merged Dimensions any articles or any documents with scenarious. Thanks in advance.