Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New install boots and then has a kernel panic.
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
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 291
Location: Wiltshire, UK

PostPosted: Sun Aug 31, 2008 9:20 pm    Post subject: New install boots and then has a kernel panic. Reply with quote

Hi, all.

I'm happy to say that I completed an install today, on a i686 box.

When I did the reboot, I got the Gentoo splash screen, then some scrolling (boot) text. Unfortunately, after Gentoo recognised my harddrives, I got a kernel panic, saying:

"No filesystem could mount root, tried rieserfs, ext.......... kernel panic".

When I compiled the kernel, I made sure that ext2 and ext3 were included (built in, not modules). Can anyone help me?

Many thanks,

Chris.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Sun Aug 31, 2008 9:25 pm    Post subject: Reply with quote

your grub.conf and partition information?
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 291
Location: Wiltshire, UK

PostPosted: Sun Aug 31, 2008 10:46 pm    Post subject: Reply with quote

Ppm,

Thanks for replying.

My partitions look like this:

hda1 / ext3
hdb1 swap
hdb2 /home

Not sure how to get the grub info, can you help me?

Thanks,

Chris.
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Sun Aug 31, 2008 10:47 pm    Post subject: Reply with quote

should be /boot/grub/grub.conf... boot a livecd to get it.
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 291
Location: Wiltshire, UK

PostPosted: Sun Aug 31, 2008 10:50 pm    Post subject: Reply with quote

As I get the splash screen, can I enter grub through that? If not, would I use the Gentoo CD, then mount my root partition?

mount /dev/hda1 /mnt/gentoo ?

Thanks,

Chris.
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 291
Location: Wiltshire, UK

PostPosted: Sun Aug 31, 2008 11:04 pm    Post subject: Reply with quote

I managed to look at Grub from the splash screen. It looks something like this:

title gentoo Linux install-kernel (the name of my kernel)

root (hd0,0)

kernel /boot/install-kernel root=/dev/ram0 real_root=/dev/hda1
#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Sun Aug 31, 2008 11:18 pm    Post subject: Reply with quote

If you have an initrd (if you used genkernel), uncomment the line.

If you don't, take out real_root, replace root with the correct hard drive partition
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 291
Location: Wiltshire, UK

PostPosted: Sun Aug 31, 2008 11:31 pm    Post subject: Reply with quote

I didn't use genkernel.

Can I alter the line so it looks like this?

kernel /boot/install-kernel root=/dev/ram0 root=/dev/hda1
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Sun Aug 31, 2008 11:35 pm    Post subject: Reply with quote

chris_andrew wrote:
I didn't use genkernel.

Can I alter the line so it looks like this?

kernel /boot/install-kernel root=/dev/ram0 root=/dev/hda1

kernel /boot/install-kernel root=/dev/hda1

Either edit the file or use the "e" key in grub, then edit from your system.
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
chris_andrew
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 291
Location: Wiltshire, UK

PostPosted: Sun Aug 31, 2008 11:42 pm    Post subject: Reply with quote

poly_poly-man,

SUCCESS :-)

I can now boot into Gentoo for the first time, after trying on many occasions over several years. Thank you :-).

I have networking problems, but as I have a bootable system, I'm happy to work that out in slow time.

Cheers,

Chris.
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