View previous topic :: View next topic |
Author |
Message |
chris_andrew Apprentice
Joined: 19 Sep 2004 Posts: 291 Location: Wiltshire, UK
|
Posted: Sun Aug 31, 2008 9:20 pm Post subject: New install boots and then has a kernel panic. |
|
|
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 |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sun Aug 31, 2008 9:25 pm Post subject: |
|
|
your grub.conf and partition information? _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
chris_andrew Apprentice
Joined: 19 Sep 2004 Posts: 291 Location: Wiltshire, UK
|
Posted: Sun Aug 31, 2008 10:46 pm Post subject: |
|
|
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 |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sun Aug 31, 2008 10:47 pm Post subject: |
|
|
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 |
|
|
chris_andrew Apprentice
Joined: 19 Sep 2004 Posts: 291 Location: Wiltshire, UK
|
Posted: Sun Aug 31, 2008 10:50 pm Post subject: |
|
|
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 |
|
|
chris_andrew Apprentice
Joined: 19 Sep 2004 Posts: 291 Location: Wiltshire, UK
|
Posted: Sun Aug 31, 2008 11:04 pm Post subject: |
|
|
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 |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sun Aug 31, 2008 11:18 pm Post subject: |
|
|
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 |
|
|
chris_andrew Apprentice
Joined: 19 Sep 2004 Posts: 291 Location: Wiltshire, UK
|
Posted: Sun Aug 31, 2008 11:31 pm Post subject: |
|
|
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 |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sun Aug 31, 2008 11:35 pm Post subject: |
|
|
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 |
|
|
chris_andrew Apprentice
Joined: 19 Sep 2004 Posts: 291 Location: Wiltshire, UK
|
Posted: Sun Aug 31, 2008 11:42 pm Post subject: |
|
|
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 |
|
|
|