Click to See Complete Forum and Search --> : Gentoo Problems


badpenguin
07-31-2004, 12:03 PM
Well, I followed the instilation guide on www.gentoo.org/docs/ for the x86 machine, and as far as I could tell, I copied it exactally as they wanted (while still changing the needed info). Well, when It came time to reboot thats when i got my problems.

At first, grub couldnt find my kernel source, so i used this line:

/kernel /boot/bzImage root=/dev/hda3

insted of

/kernel /kernel-2.4.26-gentoo-r6 root=/dev/hda3

and it worked. So I though everything was ok, but I was wrong. It started booting, and then a message came up saying something along the lines of "Kernel was not build with DEVFS Support .... you need it install DEVFS Support". Well great, ill install it. But then, a few seccond later into the boot, there errors show up during boot:

* Checking Root Filesystem...
/sbin/rc: line 28: fsck: command not found
*File System Could Not Be Fixed

Give root password for matinence
(or type Control-D for normal startup)


well, typing Control-D leads to the unmounting of the drives, and then a restart. and if i type in my root password, it takes me to a bash line, but none of the devices are loaded, and you cannot load them, because you get crazy errors. Anybody have any ideas? My filesystems are
/dev/hda1 /boot (ext2)
/dev/hda2 swap
/dev/hda3 / (reiserfs)

knute
07-31-2004, 12:11 PM
When you compiled your kernel, did you include resierfs as part of the kernel?

That's the only reason that I can think of that you'd be getting errors about the file system, is that the kernel isn't recognizing it -- barrring hardware malfunction that is.

If you boot back up to the universal CD, and go thru the process of mounting the install, and then do genkernel -menuconfig all it'll let you go in and check to see if resider is written into the kernel or set up as a module. For your setup, I'd make it part of the kernel, so that you don't have the headache of having to load that module every time.

HTH

Dark Ninja
07-31-2004, 12:20 PM
Yes, you most definitely need the support built in for DevFS (and do NOT build these as modules -- they need to be a part of the kernel). Also, the same rule applies for the file systems. Any file system that you have (that mounts on boot, anyway) needs to be compiled into the kernel and cannot be compiled as a module.

badpenguin
07-31-2004, 12:54 PM
now, when i do the
genkernel --menuconfig all
where does that copy my bzImage file? so I know where to boot from?

badpenguin
07-31-2004, 01:17 PM
now I have another situation. During the comple of the gentoo kernel (genkernel), towards the end, I get this error:

/usr/bin/genkernel: line 9: mke2fs: command not found
*error: coulnd not format initrd-2.4.26-gentoo-r6 !

then it goes on abou the log, and so on and so forth. Any idea's whats wrong?

squeegy
07-31-2004, 01:40 PM
Sounds like you missed a portion of the install. I'd try installing again, or if you're knowledgable enough to figure out what you left out, possibly chroot it and fix it. If you're gonna try to install again, here's the advice I give to everyone who talks about installing gentoo, "Print out the manual, read it twice, have it by your side during install. Missing one step can cause your entire system to be useless." If you don't want to print out all the pages of the install, make sure you have another computer that you can view the guide on.