View previous topic :: View next topic |
Author |
Message |
VampyreUK n00b
Joined: 18 Jul 2002 Posts: 51 Location: UK
|
Posted: Tue Jul 30, 2002 12:36 pm Post subject: Oooh! So Close! |
|
|
Shockingly I have managed to implement a stage 3 Gentoo on one of my machines ... well ... very nearly!
I went through all the instructions, figured (finally) how to resolve the proxy issue got to the end, restarted, it got to grub, carried on and ....
I get he following line:
Kernel panic: VFS: Unable to mount root fs on 03:03
I figure it's either a typo somewhere on my part or something to do with the way Gento mounts it's partitions ... I'm opting for user error as I figure Gentoo should have a clue about what they're up to
Any ideas? |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jul 30, 2002 12:46 pm Post subject: |
|
|
First thing that comes to mind is the /etc/fstab files... what does yours look like? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
nitro322 Guru
Joined: 24 Jul 2002 Posts: 594 Location: USA
|
Posted: Tue Jul 30, 2002 12:47 pm Post subject: |
|
|
either that or root is set to the wrong partition in grub |
|
Back to top |
|
|
VampyreUK n00b
Joined: 18 Jul 2002 Posts: 51 Location: UK
|
Posted: Tue Jul 30, 2002 12:53 pm Post subject: |
|
|
Hi,
I edited both /etc/fstab and /boot/grub/menu.lst to be be as close to the examples as possible ... in the latters case almost exactly.
I don't think it's grub because the system does exactly what I'd expect but it might be fstab ... how do I check the files if I can't get past this point?
I suppose that I maight not have included everything I was supposed to when I did make menuconfig (it's a possibility I suppose).
Thanks for your help
VampyreUK |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jul 30, 2002 1:08 pm Post subject: |
|
|
You might try reading through this thread/tip. Basically, boot from the install CD and mount your partition with /etc (usually /). If it is obvious, fix the error, if not, post the information here. Also, it couldn't hurt to mention your Grub menu.lst file (/boot/grub/menu.lst). _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Tue Jul 30, 2002 1:40 pm Post subject: |
|
|
Some details on what you actually used for your file systems would also be some help! You are correct in also suspecting your kernel config. If you used ReiserFS or XFS and you did not compile support into your kernel for them you would certainly be having trouble. Once you boot with the CD and go in to check your fstab and menu.lst files you can also go back to /usr/src/linux and make menuconfig to go in and look at what you chose. If you do NOT have support in your kernel for your FileSystem of choice then you need to compile it in and replace your existing kernel with the new one (that should actually work!)
Hope that helps!
Regards,
BonezTheGoon |
|
Back to top |
|
|
VampyreUK n00b
Joined: 18 Jul 2002 Posts: 51 Location: UK
|
Posted: Tue Jul 30, 2002 2:14 pm Post subject: |
|
|
Hi,
Here are my grub & fstab files:
Grub Menu (/boot/grub/menu.lst)
Quote: | default 0
timeout 15
splashimage (hd0,0)/boot/grub/splash.xpm.gz
title=Rocky's Gentoo LX Machine
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3 |
/etc/fstab (unhashed lines only)
Quote: | /dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda3 / xfs noatime 0 1
/dev/hda2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0 |
Is there anything else I need to post?
Oh yeah (edit) I used normal (ext2 ?) for hda1 & xfs for hda3
VampyreUK |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Jul 30, 2002 2:31 pm Post subject: |
|
|
Did you enable XFS support in the kernel built-in rather than as a module? |
|
Back to top |
|
|
VampyreUK n00b
Joined: 18 Jul 2002 Posts: 51 Location: UK
|
Posted: Tue Jul 30, 2002 2:37 pm Post subject: |
|
|
XFS? Not specifically, at least I don't think so!
I'm trying to recompile the kernel now ... how much more of the procedure do I need to do once I'd done it?
VampyreUK |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Jul 30, 2002 2:52 pm Post subject: |
|
|
Not sure what you mean... After you build the kernel, you would have to mount boot, copy bzImage over and reboot. I guess you don't really need to save the old kernel since it does not work. VampyreUK wrote: | ...I'm trying to recompile the kernel now ... how much more of the procedure do I need to do once I'd done it?
VampyreUK |
|
|
Back to top |
|
|
VampyreUK n00b
Joined: 18 Jul 2002 Posts: 51 Location: UK
|
Posted: Tue Jul 30, 2002 2:57 pm Post subject: |
|
|
Hi Naan,
What I meant was that, in the instructions, there are a number of other "final" steps that have to be done. Some of these are text file edits and I would have guessed that they didn't need to be redone but I was specifically wondering about the series of "emerge" commands (I don't know if they need to be done again after kernel recompilation? However I'm guessing from your last reply that I don't ...
Thanks
VampyreUK |
|
Back to top |
|
|
BonezTheGoon Bodhisattva
Joined: 14 Jun 2002 Posts: 1408 Location: Albuquerque, NM -- birthplace of Microsoft and Gentoo
|
Posted: Tue Jul 30, 2002 3:03 pm Post subject: |
|
|
Correct all you need to do is replace your bad kernel with your new shiney (working?) kernel and then reboot.
Hope that helps!
Regards,
BonezTheGoon |
|
Back to top |
|
|
weirdo Tux's lil' helper
Joined: 16 Apr 2002 Posts: 114 Location: Montreal/Quebec/Canada
|
Posted: Tue Jul 30, 2002 3:25 pm Post subject: |
|
|
I had exactly the same problem the other day your have to edit your kernel line in your menu.lst.
Change the root partition to the good one (if its /dev/hda3 in your partition table its /dev/hda3 in grub for that part) but i am sure hda3 is not your root partition since you get that error
hope it works |
|
Back to top |
|
|
weirdo Tux's lil' helper
Joined: 16 Apr 2002 Posts: 114 Location: Montreal/Quebec/Canada
|
Posted: Tue Jul 30, 2002 3:28 pm Post subject: |
|
|
Its not a problem whit your old kernel. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Jul 30, 2002 4:04 pm Post subject: |
|
|
VampyreUK: Are you positive you set up your /etc/fstab correctly? If it is, then your menu.lst file should be accurate.
root(0,0) refers to where /boot is. 1st drive, 1st partition. /dev/hda1 should be accurate.
root=/dev/hda3 points to your / filesystem.
As your /etc/fstab indicates, those are true, if that is how your partitions actually are. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|