View previous topic :: View next topic |
Author |
Message |
Dark Link n00b
Joined: 12 May 2005 Posts: 23
|
Posted: Wed Jun 08, 2005 3:41 am Post subject: So close.. |
|
|
Hey,
I finally got around to trying gentoo, i followed the guide as best i could. When installation was done, i rebooted the computer, the grub screen appeared and i hit enter. I got some error about it failing to mount the root file system and then followed by kernel panic or something. I only have gentoo installed on my system and im not sure how i can edit the files without installing another distro. I'm on the gentoo live cd at the moment typing this up in links. So any ideas? =/. |
|
Back to top |
|
|
dmitchell Veteran
Joined: 17 May 2003 Posts: 1159 Location: Austin, Texas
|
Posted: Wed Jun 08, 2005 3:54 am Post subject: |
|
|
Just mount your partitions somewhere (/mnt/gentoo is fine, just like in the installation guide) and edit away. If you used genkernel there's most likely a problem with /etc/fstab; otherwise you probably forgot to build support for your filesystem into your kernel. _________________ Your argument is invalid. |
|
Back to top |
|
|
Frodg l33t
Joined: 11 Feb 2004 Posts: 761
|
Posted: Wed Jun 08, 2005 4:08 am Post subject: |
|
|
It is most probably an issue with the /etc/fstab file.
If you could copy it into this message and post it??? _________________ Aerosolo ergo sum - I spray therefore I am
Gentoo - Registered Linux User # 361400 |
|
Back to top |
|
|
Dark Link n00b
Joined: 12 May 2005 Posts: 23
|
Posted: Wed Jun 08, 2005 4:39 am Post subject: |
|
|
I'm not sure im doing it right, when i boot up the live cd should i use this: "mount -t ext3 /dev/sda3 /mnt/gentoo" if so, then i did that and went to look at the fstab it showed me the live cd's fstab, what am i doing wrong? =/
Also i wrote down the error from when i boot up. "Kernel panic - not syncing :VFS: unable to mount root fs on unknown block (1,0) |
|
Back to top |
|
|
Canadaan n00b
Joined: 08 Jun 2005 Posts: 4
|
Posted: Wed Jun 08, 2005 7:36 am Post subject: |
|
|
I had the same problem. It turned out that I did not compile the correct SATA drivers in the kernel. I mounted the drives again. Did the chroot. Went into the kernel config with make menuconfig. Checked the SATA and SCSI drivers and compiled the new kernel. |
|
Back to top |
|
|
Varg_ n00b
Joined: 07 Jun 2005 Posts: 10 Location: Toronto, Canada
|
Posted: Thu Jun 09, 2005 6:47 am Post subject: |
|
|
If you have a SATA drive, you need to compile those drivers into your kernel, and same goes for IDE.
Additionally, you need to make sure that you've compiled in the proper filesystem (ext3, reiserfs, etc) drivers into your kernel as well. _________________ Tautological Defenestration |
|
Back to top |
|
|
projectle Tux's lil' helper
Joined: 30 Jan 2005 Posts: 90
|
Posted: Thu Jun 09, 2005 7:43 am Post subject: |
|
|
Did you use Genkernel? If so, you did not include the --udev flag.
Try recompiling as the following
genkernel --udev all
Then, you should be set. |
|
Back to top |
|
|
Dark Link n00b
Joined: 12 May 2005 Posts: 23
|
Posted: Thu Jun 09, 2005 7:54 am Post subject: |
|
|
projectle wrote: | Did you use Genkernel? If so, you did not include the --udev flag.
Try recompiling as the following
genkernel --udev all
Then, you should be set. |
Actually, i did use that option. I was going to try and compile my own kernel but it looked uber confusing. At the moment i'm struggling to get any distro working on this hardware (except ubuntu) the hardest bit for me during the install was the fstab and grub, since the guide is more focused on IDE. Could someone share their sata fstab and grub config? Just so i could get a rough idea what to do. I'm not gonna give up though, i'll get this damn thing working.
This is my pc, just incase you wanted a better idea what's in it.
http://www.meshcomputers.com/updated/matrix_1_3.htm <that minus winxp
it hates linux for some reason =(. |
|
Back to top |
|
|
tomvollerthun Guru
Joined: 19 Mar 2005 Posts: 316
|
Posted: Thu Jun 09, 2005 9:31 am Post subject: |
|
|
The fstab of the partition you just mounted is in the etc subdirectory of the mountpoint, not in /etc.
If you did
Code: | mount -t ext3 /dev/sda3 /mnt/gentoo |
then the fstab of your installation is
Code: | /mnt/gentoo/etc/fstab |
That is the one you need (and the one you want to change).
Alternatively you can chroot to /mnt/gentoo and proceed as explained in the handbook.
Whereas
contains the fstab of the livecd which is of no use for you at the moment!
cu, tom _________________ Computer science is no more about computers than astronomy is about telescopes.
Dijsktra
---------------
Don't believe my "Guru" status! |
|
Back to top |
|
|
|