Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error with Kernel from X86 LiveCD
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
Elephant_hog
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2005
Posts: 80
Location: Sonora, CA USA

PostPosted: Sun May 07, 2006 9:46 pm    Post subject: Error with Kernel from X86 LiveCD Reply with quote

I ame installing a X86 2006.0 version of gentoo on a PIII 1gig computer. Using the live cd I went through setup using the diolog based installer because the GTX+ would not start. It finished installing and I rebooted, when it went to boot up it came up with this error

Booting 'Gentoo Linux'

root (hd1,0)
Filesystem type is fat, partition type 0xc
kernel /kernel genkernel x86 2 6 15 gentoo r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdc3

Error 15: File not found

Press any key to continue

There were some weird signs that look like video glitches in between all of the space here (/kernel genkernel x86 2 6 15 gentoo r5) and three different signs after (Press any key to continue)

So I press enter...

It brings me to a screen with words and vertical white dots in lines (video glitch i presume) It has gentoo linux selected and a few instructions (up down arrows... to select,,, c for command line) I used the kernel that the live cd created for my system(fastest)

If I push enter to use the Gentoo Linux it goes back to the previos screen but this time it has those vertical white dots...

Maybe I need to make a new kernel I don't know?-I also forget how to make a new kernel...

Thanks in advance
_________________
Motherboard = GA-K8NS
Chipset = nForce3 250
Processor = Socket 754 AMD64 3000+
Video Card = AGP8X Nvidia GeForce5200
RAM = 512MB DDR400
Back to top
View user's profile Send private message
dylnuge
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2006
Posts: 106

PostPosted: Sun May 07, 2006 9:51 pm    Post subject: Reply with quote

Look up. There is a post entitled Most Common Errors with GRUB. It will tell you exactly what to do.

EDIT: Sorry, it is called Grub Error Collection [Part 5]

Here is what you need:
Quote:
Grub error 15
After hitting return in the grub prompt you get something similar to this one?

Booting 'gentoo Linux'

Code:
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel (hd0,0)/boot/kernel-2.4.20 root=/dev/hda3 vga=792

Error 15: File not found
Press any key to continue...
[quote]info grub wrote:
15 : File not found[/quote]

This error is returned if the specified file name cannot be found, but everything else (like the disk/partition info) is OK.

If it's the kernel that it's missing (bzImage, kernel...):make sure that the file it is referring to exists on your boot partition.

To find out what the exact name of your kernel is, first boot from the live-cd or into your existing linux installation. Then mount /boot if you've got a seperate partition, or mount / if you don't. Then do the following:
Code:

cd /boot
ls

This will list all the kernels that you've got on your boot partition.

If your kernel is missing make sure that you compiled a kernel either with genkernel or make menuconfig

Code:
 cd /usr/src/linux/
make menuconfig

and you copied it to your boot partition.

Code:
cp /usr/src/linux/arch/[your architecture, e.g. i386]/boot/bzImage /boot/


Instructions on mounting:
I am assuming your boot partition is /dev/hda1. Replace it with whatever it actually is
Code:

mount /dev/hda1 /mnt/gentoo/boot
chroot /mnt/gentoo /bin/bash
Back to top
View user's profile Send private message
Elephant_hog
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2005
Posts: 80
Location: Sonora, CA USA

PostPosted: Mon May 08, 2006 2:01 am    Post subject: Reply with quote

So are you saying that I need to check and see if my kernel is in that directory (I let the live cd install it so it should be there) and if it is to mount my boot directory? (I did this on a previos installation of gentoo 2004.3 AMD64)
_________________
Motherboard = GA-K8NS
Chipset = nForce3 250
Processor = Socket 754 AMD64 3000+
Video Card = AGP8X Nvidia GeForce5200
RAM = 512MB DDR400
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon May 08, 2006 2:08 am    Post subject: Re: Error with Kernel from X86 LiveCD Reply with quote

Elephant_hog wrote:
Booting 'Gentoo Linux'

root (hd1,0)
Filesystem type is fat, partition type 0xc

It looks like you are trying to boot Gentoo from a Windows partition ...

Can you post the output of "fdisk -l" ?
Back to top
View user's profile Send private message
Elephant_hog
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2005
Posts: 80
Location: Sonora, CA USA

PostPosted: Mon May 08, 2006 2:21 am    Post subject: Reply with quote

Hmm that shouldn't be the case... I used the installers (i think prefered) or nessisary config (I let it do it itself)

Here it is:

Code:

Disk /dev/hda: 20.4 GB, 20490559488 bytes
255 heads, 63 sectors/track, 2491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot     Start       End               Blocks         Id      System
/dev/hda1 *      1           2491          20008926        c         W95 FAT32 (LBA)




Disk /dev/hdc: 8455 MB, 8455200768 bytes
255 heads, 63 sectors/track, 1027 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot     Start         End        Blocks             Id         System
/dev/hdc1          1             13          104391           83        Linux
/dev/hdc2          14             76         506047+        82        Linux swap / Solaris
/dev/hdc3           77           1027        7638907+     83        Linux


I guess that it could be that I don't have the linux system(8gig hdd) on the /dev/hda cable... IDE 0 If you think that is the problem could you tell me how to fix the settings on the hdd for /dev/hda .... Ill work on it tomorow. Thanks
_________________
Motherboard = GA-K8NS
Chipset = nForce3 250
Processor = Socket 754 AMD64 3000+
Video Card = AGP8X Nvidia GeForce5200
RAM = 512MB DDR400
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon May 08, 2006 2:38 am    Post subject: Reply with quote

What happened is :
When you told the BIOS to boot from /dev/hdc instead of /dev/hda, this reversed the drives in GRUB too.

Now (hd1,0) = /dev/hda1 and (hd0,0) = /dev/hdc1 so you need to adjust your grub.conf accordingly.
Back to top
View user's profile Send private message
Elephant_hog
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2005
Posts: 80
Location: Sonora, CA USA

PostPosted: Mon May 08, 2006 5:04 am    Post subject: Reply with quote

Ok... could you please give me a detailed explanation on the files to edit and how to edit them... I ame not very experienced with these things.
_________________
Motherboard = GA-K8NS
Chipset = nForce3 250
Processor = Socket 754 AMD64 3000+
Video Card = AGP8X Nvidia GeForce5200
RAM = 512MB DDR400
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon May 08, 2006 5:02 pm    Post subject: Reply with quote

The file you want to edit is /boot/grub/grub.conf

If you post the file, I can give you more detailed help, but in general, you want to change all occurences of (hd1 to (hd0 and all occurences of (hd0 to (hd1
Back to top
View user's profile Send private message
Elephant_hog
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2005
Posts: 80
Location: Sonora, CA USA

PostPosted: Tue May 09, 2006 12:24 am    Post subject: Reply with quote

Here is the output from nano of my grub.conf

Code:
default 0
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd1,0)
kerne. / kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 init=/linuxrc ramd$ initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5


does it have root wrong? should that be (hd1,2) for third partition...
_________________
Motherboard = GA-K8NS
Chipset = nForce3 250
Processor = Socket 754 AMD64 3000+
Video Card = AGP8X Nvidia GeForce5200
RAM = 512MB DDR400
Back to top
View user's profile Send private message
Elephant_hog
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2005
Posts: 80
Location: Sonora, CA USA

PostPosted: Tue May 09, 2006 12:43 am    Post subject: Reply with quote

I changed the grub.conf file to this...
Code:

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,0)
kerne. / kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 init=/linuxrc ramd$ initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5


And now it boots fine
but after it gets booted and tries to load gnome the screen goes black and nothing happens
it goes all the way through boot and then says P1gig login: just for a sec... and then goes black... Is there some other file I need to change?
_________________
Motherboard = GA-K8NS
Chipset = nForce3 250
Processor = Socket 754 AMD64 3000+
Video Card = AGP8X Nvidia GeForce5200
RAM = 512MB DDR400
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