LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-14-2007, 05:07 PM   #1
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Rep: Reputation: 30
Error 15 file can't be found


I know this is not a subject that hasn't been taken up time and time again - but I haven't found the right answer.

I have been working with grub for several very long days and very long nights trying to solve what some think as been a very simple problem.

Well, like I always say when the people that know crawl out of the wood work - it's always easy when you know how.

Anyway, enough of that and down to business!! I have been trying to configure grub to run two distros ( to become three later on ) on an old pentium 3 computer which I use to play around a bit with distros I don't know.

I have Absolute on hdb1 and Ubuntu 7.10 on hda1. After changing Ubuntu from another distro I found that only Ubuntu was included on start up!! I tried using a super grub cd to add Absolute to the boot configuration.

I ended up with Absolute booting OK and Ubuntu giving me a Error 15 code.

I have checked the boot/grub/menu.list to see if something didn't look right, but couldn't find anything odd.

When I tried to boot Ubuntu I had the following:


Quote:

Booting ubuntu on (/dev/hda1)
root (hd0,0)
File system type is ext2fs, partition type 0x83
kernel /boot/vmlinuz root=/dev/hda1 ro vga=773
Error 15: File not found
Press any key to continue...

I can't give the read out of the boot/grub/menu.list because I forgot to write it down!! I did compare the info from the error code to the menu.list and there were no differences.

There must be other files that get affected by the changing of grub info?

Appreciate any suggestions.

bookie

Like I said I have checked that the files are in their right places but can't seem to find the problem?!

Apart from boot/grub/menu.list what other files can be affected to give this fault?
 
Old 11-14-2007, 06:29 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
That error usually shows that either the kernel or the initial ramdisk image you specified in your grub entry was not found. You can do the following,
  1. boot into Absolute Linux
  2. Fire up a terminal emulator like konsole, xterm or gnome-terminal
  3. do
    Code:
    #mkdir /media/ubuntu
  4. mount the Ubuntu partition
    Code:
    #mount /dev/hda1 /media/ubuntu
  5. take a look at /media/ubuntu/boot/grub/menu.lst and post the contents here (just the entries here
 
Old 11-15-2007, 12:32 AM   #3
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Hi reddazz

Thanks for stopping by to give us a hand. The situation at the moment is I did a reinstall of Ubuntu 7.10 yesterday evening here in Sweden - couldn't wait to find out everything.

I am like a lot of people who can actually solve the problem if they have the answer in front of them first!!

OK! Before I change anything, perhaps you can give me the best possible solution to copying files from boot/grub/menu.list and any others that get affected by the changing of boot loader info.

Like I said, I have Ubuntu on hda1 and Absolute on hdb2. What I did to change things before is use another live distro NimbleX (which I would like to get up and running on hdd1, or should really say hdd2 because NimbleX seems to create a fat partition when formating the hard drive for installation, but that's another story). Nimblex uses grubconfig v1.27 which being a graphical interface helps us idiots a little instead of working from the command line all the time.

I reinstalled grub to the mbr hda and relabelled my partitions with names for ease of distinction!

After reinstalling the boot loader in expert mode, I rebooted to find that I could boot Absolute but not Ubuntu?!

Perhaps you can tell me another way of making additions to boot/grub/menu.list to add Absolute without reinstalling grub?

After the reinstall, I can boot Ubuntu but not Absolute. Absolute is listed at boot under the heading "others" I looked in boot/grub/menu.list (before making changes) and found that Absolute is listed to a point but wouldn't boot.

Bear with me a little bit. On the wrong computer at the moment, so I will continue this post again when I have booted Ubuntu.

bookie
 
Old 11-15-2007, 12:55 AM   #4
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
continuing

OK back again. The following is a copy of my Ubuntu menu.list before I make changes:

Quote:

menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=06f5a334-18ba-4d75-91b8-1b417d53542d ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=06f5a334-18ba-4d75-91b8-1b417d53542d ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=06f5a334-18ba-4d75-91b8-1b417d53542d ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title Linux (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hdb1 ro vga = 773
savedefault
boot

Please tell me what else you need!! Perhaps we could start with changing this menu.list to make Absolute boot. Absolute uses lilo!!

Look forward to your reply! If I seem to go missing on you, that is because certain days are bad pain days ( chronic back Pain) I will leave my test computer alone until I hear from you!


Thanks again for helping me. I know I will get there in the end!! I have now saved a copy of grub/menu.list in my documents with gedit in case I **** things up again!!



bookie
 
Old 11-15-2007, 01:22 AM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Why don't you try chainloading lilo


Code:
title Other
    rootnoverify (hd1,0)
    chainloader (hd1,0)+1
 
Old 11-15-2007, 02:27 AM   #6
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Hi billymayday

Thanks for stopping by! I don't mind trying anything! Where on my menu.list would your entry go and would I replace something that is already there?

bookie
 
Old 11-15-2007, 02:35 AM   #7
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Try the above as well as reinstalling grub from within Ubuntu. To do this, follow the steps in my first post and then after step 4, do
Code:
#chroot /media/ubuntu
#grub-install /dev/hda
#exit
Reboot and see if you can boot into Ubuntu.
 
Old 11-15-2007, 03:06 AM   #8
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
Hi reddazz

Look don't shoot me down, please! I said earlier today that after posting yesterday I did a reinstall of Ubuntu and can boot into Ubuntu now - hence the post with new menu.list!

Just thought to try and see if I could add info to my menu.list instead of reinstalling grub?

Am I making sense? BTW how is the weather back in old Blighty? Haven't been home to England for some time now.

bookie
 
Old 11-15-2007, 03:32 AM   #9
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
You can put my entry at the very bottom if you want
 
Old 11-15-2007, 03:46 AM   #10
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
update

Thanks for the update!

bookie
 
Old 11-15-2007, 05:02 AM   #11
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Quote:
Originally Posted by bookie View Post
Look don't shoot me down, please! I said earlier today that after posting yesterday I did a reinstall of Ubuntu and can boot into Ubuntu now - hence the post with new menu.list!

Just thought to try and see if I could add info to my menu.list instead of reinstalling grub?

Am I making sense? BTW how is the weather back in old Blighty? Haven't been home to England for some time now.

bookie
Oops, I must have missed that.


Its windy and cold in the UK at the moment.
 
Old 11-15-2007, 05:08 AM   #12
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
update

Thanks for getting back to me! We have had our first real snow here in Sundsvall up in the middle of Sweden.

Do I take it from your post that I should try billymayday's ideas first?

bookie
 
Old 11-15-2007, 06:35 AM   #13
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
update

Well, just about now I should be hearing the word idiot from you guys!!

I feel a bit stupid!! On boot up there is the link "other operating systems" That link is dead? But under that link I hadn't noticed that they had listed my other distro even though it wasn't called Absolute. I can make that change to boot/grub/menu.list so it looks better on boot up.

If you look at the menu list again, I was wondering if one could remove the info about other operating systems, so that there is just a clean link to Absolute? If I show you the changes I was thinking about - perhaps you could give me your opinions?

Quote:

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=06f5a334-18ba-4d75-91b8-1b417d53542d ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=06f5a334-18ba-4d75-91b8-1b417d53542d ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title Linux (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hdb1 ro vga = 773
savedefault
boot

OK at the moment it looks like above. What if I remove a little and have it as follows:



Quote:

title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=06f5a334-18ba-4d75-91b8-1b417d53542d ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=06f5a334-18ba-4d75-91b8-1b417d53542d ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title Absolute (on /dev/sdb1)
root (hd1,0)
kernel /boot/vmlinuz root=/dev/hdb1 ro vga = 773
savedefault
boot

What do you think about that? Please hang with me guys after we solve this because the NimbleX problem still exists!! I will try to do things logically,so that it is easier for you to comment!!


bookie
 
Old 11-15-2007, 01:33 PM   #14
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If the only change is the title line, should be fine
 
Old 11-15-2007, 01:53 PM   #15
bookie
Member
 
Registered: Nov 2006
Location: Sweden
Distribution: Testing just about everything.....Debian still a favourite and now Dreamlinux!!
Posts: 320

Original Poster
Rep: Reputation: 30
update

Hi billymayday, I thought you'd deserted me (only kidding). Well, I took a chance and removed the parts I showed you two. It cleaned up the dead link and I added Absolute instead of Linux.

Can't understand why you have a link to other operating systems if it doesn't run boot up? My startup interface is a lot tidier now!!

Would like you guys to keep following my posts while I try to get NimbleX on to the third hard drive hdd2.

As I have pointed out earlier, Bogdan at NimbleX has developed this live cd which has now capabilities to install to hard drive. I love a challenge and testing new distros.

I am not to enthralled with his installer formating my hard drive with a small fat partition and then the standard ext3?

I was thinking of starting a thread about the possibilities of incorporating another installer? Which is a little more user friendly and allows me to have the standard partitions?

I might be taking on more than I can chew - but open to suggestions.

bookie
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
Error 15: File not found capucino Linux - General 1 05-18-2006 11:18 AM
Error 15:File not found baruah Linux - Newbie 1 04-07-2006 05:03 AM
Error 15 file not found PenguinMolester Suse/Novell 5 08-29-2005 07:07 AM
snmpd installed, see file, but get error file not found PCHelper Slackware 0 11-06-2003 12:44 PM


All times are GMT -5. The time now is 02:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration