View previous topic :: View next topic |
Author |
Message |
Kort n00b
Joined: 01 Apr 2004 Posts: 6
|
Posted: Thu Apr 01, 2004 12:32 pm Post subject: error 15 file not found |
|
|
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 |
|
|
skunk l33t
Joined: 28 May 2003 Posts: 646 Location: granada, spain
|
Posted: Thu Apr 01, 2004 12:43 pm Post subject: |
|
|
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 |
|
|
Kort n00b
Joined: 01 Apr 2004 Posts: 6
|
Posted: Thu Apr 01, 2004 12:52 pm Post subject: |
|
|
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 |
|
|
skunk l33t
Joined: 28 May 2003 Posts: 646 Location: granada, spain
|
Posted: Thu Apr 01, 2004 1:23 pm Post subject: |
|
|
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 |
|
|
Kort n00b
Joined: 01 Apr 2004 Posts: 6
|
Posted: Thu Apr 01, 2004 1:38 pm Post subject: |
|
|
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 |
|
|
skunk l33t
Joined: 28 May 2003 Posts: 646 Location: granada, spain
|
Posted: Thu Apr 01, 2004 1:50 pm Post subject: |
|
|
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 |
|
|
Kort n00b
Joined: 01 Apr 2004 Posts: 6
|
Posted: Thu Apr 01, 2004 2:13 pm Post subject: |
|
|
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 |
|
|
skunk l33t
Joined: 28 May 2003 Posts: 646 Location: granada, spain
|
Posted: Thu Apr 01, 2004 2:26 pm Post subject: |
|
|
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 |
|
|
LeTene Guru
Joined: 02 Mar 2004 Posts: 348 Location: Ah'll glass ye!
|
Posted: Thu Apr 01, 2004 3:45 pm Post subject: |
|
|
Step-by-step instructions:
- Boot your computer from the Gentoo CD
- type in mount /dev/hda3 /mnt/gentoo (see Note 1)
- type in mount /dev/hda1 /mnt/gentoo/boot (see Note 2)
- type in cp /mnt/gentoo/usr/src/linux/arch/i386/boot/bzImage /boot/bzImage (see Note 3)
- type in umount /mnt/gentoo/boot /mnt/gentoo
- 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 |
|
|
chINeSe mIDgEts Apprentice
Joined: 02 Mar 2004 Posts: 209 Location: look behind you
|
Posted: Thu Apr 01, 2004 4:59 pm Post subject: |
|
|
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 _________________ ...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 |
|
|
Kort n00b
Joined: 01 Apr 2004 Posts: 6
|
Posted: Sat Apr 03, 2004 2:29 pm Post subject: |
|
|
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 |
|
|
|