Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error 15 file not found
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
Kort
n00b
n00b


Joined: 01 Apr 2004
Posts: 6

PostPosted: Thu Apr 01, 2004 12:32 pm    Post subject: error 15 file not found Reply with quote

Hi

I´m new to linux/gentoo. I've just installed gentoo on my desktop. But when I boot my computer I get error 15, file not found. I am using GRUB. I think the kernel name in Grub is wrong. How do I find the right name and how do I change it in GRUB?

TIA
Back to top
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Thu Apr 01, 2004 12:43 pm    Post subject: Reply with quote

when the grub menu shows up press the "c" key and you'll get the grub prompt
type "ls /boot" and you'll get a list of your installed kernels
type "kernel /boot/<any_installed_kernel_name>" and then the "boot" command
after the boot process has fineshed, mount your boot partitition and change your /boot/grub/grub.conf file with the right kernel name
Back to top
View user's profile Send private message
Kort
n00b
n00b


Joined: 01 Apr 2004
Posts: 6

PostPosted: Thu Apr 01, 2004 12:52 pm    Post subject: Reply with quote

Hi

pressing 'c' I get the promt, but typing 'ls' gives error 27 unrecognized command. By pressing TAB I get list of possible commands 'ls' is not there.
Back to top
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Thu Apr 01, 2004 1:23 pm    Post subject: Reply with quote

ops... i thought there was also a ls command...
however you can use tab completition after entering "kernel /boot/" to get a list of installed kernels
Back to top
View user's profile Send private message
Kort
n00b
n00b


Joined: 01 Apr 2004
Posts: 6

PostPosted: Thu Apr 01, 2004 1:38 pm    Post subject: Reply with quote

ok, I entered 'kernel /boot/' and TAB

then I get:

Possible files are: lost+found boot .keep grub

does this mean I have no kernel on HD?

(thanks for your help)
Back to top
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Thu Apr 01, 2004 1:50 pm    Post subject: Reply with quote

yes, i think so...
maybe you forgot to mount your boot partitition before copying the kernel image there...
i suggest you to mount a livecd and to check it out
Back to top
View user's profile Send private message
Kort
n00b
n00b


Joined: 01 Apr 2004
Posts: 6

PostPosted: Thu Apr 01, 2004 2:13 pm    Post subject: Reply with quote

well.. it should be somewhere. I followed the installation guide carefully, but I failed to make a note of the actual kernel name. I think the installation went ok, so the only problem should be wrong kernel path in GRUB.

I´m new to linux so I need detailed instructions...
Back to top
View user's profile Send private message
skunk
l33t
l33t


Joined: 28 May 2003
Posts: 646
Location: granada, spain

PostPosted: Thu Apr 01, 2004 2:26 pm    Post subject: Reply with quote

as i said in my previous post, you should boot a livecd and mount your hd partititions.
then copy the kernel image you have compiled during the installation process (supposing you run a x86 machine, you'll find it on your root partitition as usr/src/linux/arch/i366/boot/bzImage) to your boot partitition.
modify grub/grub.conf on your boot part.
reboot...
Back to top
View user's profile Send private message
LeTene
Guru
Guru


Joined: 02 Mar 2004
Posts: 348
Location: Ah'll glass ye!

PostPosted: Thu Apr 01, 2004 3:45 pm    Post subject: Reply with quote

Step-by-step instructions:

  1. Boot your computer from the Gentoo CD
  2. type in mount /dev/hda3 /mnt/gentoo (see Note 1)
  3. type in mount /dev/hda1 /mnt/gentoo/boot (see Note 2)
  4. type in cp /mnt/gentoo/usr/src/linux/arch/i386/boot/bzImage /boot/bzImage (see Note 3)
  5. type in umount /mnt/gentoo/boot /mnt/gentoo
  6. reboot your system (with the reboot command)


Note 1
Assuming your boot partition is /dev/hda1

Note 2
Assuming your root partition is /dev/hda3

Note 3
Assuming your kernel is called bzImage in the /boot/grub/grob.conf file.
If it was called kernel-2.6.3-gentoo-r1 the command would look like cp /mnt/gentoo/usr/src/linux/arch/i386/boot/bzImage /boot/kernel-2.6.3-gentoo-r1
_________________
Docs, Tips & Tricks at the Gentoo Wiki page.
Back to top
View user's profile Send private message
chINeSe mIDgEts
Apprentice
Apprentice


Joined: 02 Mar 2004
Posts: 209
Location: look behind you

PostPosted: Thu Apr 01, 2004 4:59 pm    Post subject: Reply with quote

did you typr the kermel name in right?
i spent a week to later find out that my kernel name was spelled wron in grub.conf :oops:
_________________
...it must have been very demanding having to learn how to use Microsoft Office, right up there with other lofty challenges like learning how to zip your fly without getting your dick caught.
Back to top
View user's profile Send private message
Kort
n00b
n00b


Joined: 01 Apr 2004
Posts: 6

PostPosted: Sat Apr 03, 2004 2:29 pm    Post subject: Reply with quote

I followed the advices from LeTene
when I did:

cp /mnt/gentoo/usr/src/linux/arch/i386/boot/bzImage /boot/bzImage

I got: No such file or directory

the directory /mnt/gentoo/usr/src/linux/arch/i386/boot
has following files:
Makefile bootsect.S install.sh setup.S video.S
and directories:
tools compressed

any suggestions?
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