Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error 15: file not found resolved
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
nightlite
n00b
n00b


Joined: 29 Oct 2011
Posts: 35

PostPosted: Sun May 12, 2013 3:11 am    Post subject: Error 15: file not found resolved Reply with quote

Hello,

I've used terminal within Mint on a 20g hdd, internal, to install Gentoo on a 2TB hdd ,also internal.

As this is my first install I selected used Genkernel (and the initrd's)

When I reboot I get the choice of Gentoo and rescue

Alas irrespective of whether I select Gentoo or rescue, boot stop at:

Code:
Root (hd0,0)

filesystem type ext2fs       partition type 0x83

kernel /boot/kernel-genkernel-x86-64.3.7.10-gentoo-r1 real_root=/dev/sda3

Error 15: file not found

Press any key to continue


Which takes me back to the question of whether I want to boot Gentoo or rescue........ At this stage to boot into Mint I change the sequence in the bios.

I've found the thread a similar thread (error 15: ........) 12days ago and followed DONAHUE's suggestion in that thread and believe GRUB is in the correct position.

It's probably a silly question which you can't immediately answer, because I haven't given you the needed information, but I'd like to know what file is missing? and from where?


Last edited by nightlite on Tue May 14, 2013 6:58 am; edited 1 time in total
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1609
Location: U.S.A.

PostPosted: Sun May 12, 2013 3:15 am    Post subject: Reply with quote

One might assume the file that cannot be found is /boot/kernel-genkernel-x86-64.3.7.10-gentoo-r1.

Are you sure your real-root=/dev/sda3 is correct? Is gentoo perhaps on sdb, not sda?
_________________
patrix_neo wrote:
The human thought: I cannot win.
The ratbrain in me : I can only go forward and that's it.
Back to top
View user's profile Send private message
nightlite
n00b
n00b


Joined: 29 Oct 2011
Posts: 35

PostPosted: Sun May 12, 2013 4:28 am    Post subject: Reply with quote

I've changed the sda to sdb without any change in the result.

On impulse I checked my /etc/fstab. Which looks like three lines of md5sum when I reckon I closed it there was reference to my four partitions and a cd (all on different lines).

I'll correct the fstab and try again.
Back to top
View user's profile Send private message
nightlite
n00b
n00b


Joined: 29 Oct 2011
Posts: 35

PostPosted: Sun May 12, 2013 7:12 am    Post subject: Reply with quote

I've repaired the /etc/fstab but still getting the same result

Code:
error15: file not found


Where should I go looking next?
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1609
Location: U.S.A.

PostPosted: Sun May 12, 2013 1:25 pm    Post subject: Reply with quote

You haven't provided a lot of information about your disks and disk layouts, but in trying to isolate the error, I'd focus on disk identification errors that might have resulted from booting from linux on one drive, installing to another that is allegedly sda, and then changing the bios boot order. I'd make sure the bootloader knows which disk and partition in which to find the kernel and root filesystem. I'd verify that the kernel and initrd (or whatever you're using) are installed where they are supposed to be. I'd verify that I have all the needed filesystem support in the kernel (which I wouldn't think would be a problem if you're using genkernel, although I myself have never used it). Sorry I can't offer more.
_________________
patrix_neo wrote:
The human thought: I cannot win.
The ratbrain in me : I can only go forward and that's it.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7094
Location: Saint Amant, Acadiana

PostPosted: Sun May 12, 2013 1:33 pm    Post subject: Reply with quote

To my knowledge this is Grub error letting you know the file specified as kernel image is not found. Look for typos in grub.conf and make sure the kernel image you are trying to boot is actually present in /boot. You are getting this error before root is mounted and way before fstab is read.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
nightlite
n00b
n00b


Joined: 29 Oct 2011
Posts: 35

PostPosted: Mon May 13, 2013 7:12 am    Post subject: Reply with quote

Please forgive my delay in replying

I have not posted much information because I did not know what would, and not be relevant.

Googling has turned up this

http://www.gentoo.org/doc/en/grub-error-guide.xml

where I found the
Code:
cd /boot

ls


now returns
Code:
 
boot
grub

initramfs-genkernel-x86_64-3.7.10-gentoo-r1
kernel-genkernel-x86_64-3.7.10-gentoo-r1

lost+found
System.map-genkernel-x86_64-3.7.10-gentoo-r1


Yesterday it did not. (I've since gone back over the installing the kernel on the hdd)

parted dev/sda on My gentoo hdd shows

Code:
Model: ATA Hitachi HDS5C302 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name      Flags
 1      17.4kB  45.0MB  45.0MB  ext2            primary
 2      45.1MB  16.0GB  16.0GB  linux-swap(v1)  primary
 3      16.0GB  50.0GB  34.0GB  ext4            prmary
 4      50.0GB  2000GB  1950GB  ext4            extended


and parted /dev/sdb shows the mint hdd
Code:
Model: ATA WDC WD400BD-60JP (scsi)
Disk /dev/sdb: 40.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
 1      32.3kB  38.1GB  38.1GB  primary   ext4            boot
 2      38.1GB  40.0GB  1875MB  extended
 5      38.1GB  40.0GB  1875MB  logical   linux-swap(v1)


there is no cross referencing in either /etc/fstab.

Looking at that I have just noticed there is no boot flag on the Gentoo hdd. Will that be the trouble?

I'm currently toggling between the hdd is the BIOS
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Mon May 13, 2013 4:07 pm    Post subject: Reply with quote

there are many bios that do not care about boot flags
there are a very few bios that require a boot flag but do not care if there are many boot flags
there are a very very few bios that require a boot flag and only one boot flag
in general newer bios do not need boot flags

your problem may be:
/boot/grub/grub.conf may contain a typo; the kernel name must exactly match between ls /boot and /boot/grub/grub.conf
based on what you provided and assuming the gentoo drive is selected as boot drive in bios, grub.conf:
Quote:
default 0
timeout 5
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 3.7.10-r1
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-3.7.10-gentoo-r1 real_root=/dev/sda3
initrd /boot/initramfs-genkernel-x86_64-3.7.10-gentoo-r1
must exactly match the names in /boot

if genkernel was run while /dev/sda1 was not mounted at /boot; grub looking for a kernel on /dev/sd1 will fail because the kernel will have been installed on /dev/sda3 in the /boot directory.
check the content of /dev/sda1: boot the install media, mount /dev/sda1,
Code:
mount /dev/sda1 /mnt/gentoo
ls /mnt/gentoo
ls /mnt/gentoo/grub
ls /mnt/gentoo/boot
ls /mnt/gentoo/boot/grub

_________________
Defund the FCC.


Last edited by DONAHUE on Mon May 13, 2013 4:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1609
Location: U.S.A.

PostPosted: Mon May 13, 2013 4:09 pm    Post subject: Reply with quote

Your kernel and initramfs not being present in the /boot directory yesterday would produce a "file not found" error.

I don't think having the boot flag on the boot partition really matters, unless you're relying on the BIOS to identify the boot device. It won't hurt to set the flag, though.

I don't use grub, but if you're still experiencing the error, maybe you should post your grub.conf file so Jaglover or somebody can look it over.

Also, I notice you have a GPT partition table on sda. Verify that GPT is supported in the version of grub you are using. I think you may have to use grub2 (the last time I used grub, only grub2 supported GPT, but that may have changed).
_________________
patrix_neo wrote:
The human thought: I cannot win.
The ratbrain in me : I can only go forward and that's it.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7552
Location: Goose Creek SC

PostPosted: Mon May 13, 2013 4:17 pm    Post subject: Reply with quote

legacy grub has been patched to handle gpt,
run emerge -s grub ; latest version is 0.97-r12
_________________
Defund the FCC.
Back to top
View user's profile Send private message
nightlite
n00b
n00b


Joined: 29 Oct 2011
Posts: 35

PostPosted: Tue May 14, 2013 6:08 am    Post subject: Reply with quote

Got Gentoo to boot ...... at least to the grub screen.

Turned out that I had *86-64-3.7.10-gentoo-r1, instead of *86_64-3.7.10-gentoo-r1 (had - instead of _ )

Thanks everyone for your time, patience and assistance.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum