View previous topic :: View next topic |
Author |
Message |
juniperoots n00b
Joined: 18 Feb 2004 Posts: 24
|
Posted: Wed Feb 18, 2004 11:09 pm Post subject: Kernel 2.6 need recompiling? |
|
|
As per this thread, I am having the perpetual reboot on choosing Gentoo on bootup. I did everything as the docs told me (although 2.6 is lacking a bit on documentation because it's so new) and then found that thread. My question is: Does this mean I must compile my whole kernel over again? |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Wed Feb 18, 2004 11:17 pm Post subject: |
|
|
Yes, indeed.
However, it will be significantly faster if you don't run "make clean" or "make mrproper" before. If you're using genkernel, there are options for that, too. --no-mrproper and --no-clean, I think, but better verify it yourself. |
|
Back to top |
|
|
juniperoots n00b
Joined: 18 Feb 2004 Posts: 24
|
Posted: Wed Feb 18, 2004 11:38 pm Post subject: |
|
|
Earthwings wrote: | Yes, indeed.
However, it will be significantly faster if you don't run "make clean" or "make mrproper" before. If you're using genkernel, there are options for that, too. --no-mrproper and --no-clean, I think, but better verify it yourself. | Thank you! I used the 2.6 kernel and didn't run make clean or make mrproper as that isn't in the install docs and i didn't wanna do anything other than what those told me. I also used gentoo-dev-sources and "make", "make modules_install". I guess I'll get back to compiling now as I have a K6-350 OC'ed to 400 and it usually takes a couple hours to compile a kernel. Is there anywhere I can get more 2.6 specs and docs? I feel like a bat in a cave while installing such a fresh kernel. |
|
Back to top |
|
|
juniperoots n00b
Joined: 18 Feb 2004 Posts: 24
|
Posted: Thu Feb 19, 2004 2:25 am Post subject: |
|
|
Oy vey! I recompiled my kernel and now on bootup I have two errors: DEVFS not being recognized as installed and "sbin/rc line 29:fsck the command could not be found File system could not be fixed"
I dropped the clock on the machine back to normal just in case, and i know for a fact devfs is compiled in the kernel cause i checked before compiling. I also adjusted my lilo config to point to the new kernel. so... what now? *can't wait to use gentoo*
edit: i just found this thread. That may work but I still need help in case it doesn't. I really don't want to drop back to 2.4 genkernel..lol |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Thu Feb 19, 2004 10:14 am Post subject: |
|
|
Quote: |
Oy vey! I recompiled my kernel and now on bootup I have two errors: DEVFS not being recognized as installed and "sbin/rc line 29:fsck the command could not be found File system could not be fixed"
|
You also need to activate "mount devfs on boot" (or similar). For fsck: Have you installed the filesystem-tools for the filesystem you are using? E.g., for reiserfs it's "emerge reiserfsprogs", for XFS "emerge xfsprogs".
Quote: |
edit: i just found this thread. That may work but I still need help in case it doesn't. I really don't want to drop back to 2.4 genkernel..lol
|
had a quick look at that one, I wouldn't trust every reply in there |
|
Back to top |
|
|
juniperoots n00b
Joined: 18 Feb 2004 Posts: 24
|
Posted: Thu Feb 19, 2004 10:04 pm Post subject: |
|
|
Earthwings wrote: | Quote: |
Oy vey! I recompiled my kernel and now on bootup I have two errors: DEVFS not being recognized as installed and "sbin/rc line 29:fsck the command could not be found File system could not be fixed"
|
You also need to activate "mount devfs on boot" (or similar). For fsck: Have you installed the filesystem-tools for the filesystem you are using? E.g., for reiserfs it's "emerge reiserfsprogs", for XFS "emerge xfsprogs".
| Yeah, I did an "emerge udev" and the devfs problem is fixed. But that other one isn't. I tried "emerge baselayout" to no avail and I know I've already emerged my system. I saw something about pointing my fsck (my root is reiserfs )to another link because fsck is probably linked to the fsck for ext2(?). Ex: ln -s /sbin/fsck.reiserfs /bin/true
Is that correct syntax and possible solution you think? |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Thu Feb 19, 2004 10:37 pm Post subject: |
|
|
juniperoots wrote: | ln -s /sbin/fsck.reiserfs /bin/true
|
that would link fsck.reiserfs to "true", so that running fsck.reiserfs would do nothing (!) but exit successfully. Ugly workaround, don't use it and wouldn't solve your problem. Does /sbin/fsck exist? What does "stat /sbin/fsck" give you? |
|
Back to top |
|
|
juniperoots n00b
Joined: 18 Feb 2004 Posts: 24
|
Posted: Fri Feb 20, 2004 12:22 am Post subject: |
|
|
You've been a lot of help! Danke! I ran "stat" on /sbin/fsck and it showed fsck was missing. After running emerge e2fstools I can now RUN GENTOO! SWEET LORDY! Unfortunately I now need to run "emerge net-tools" as ifconfig is missing and "netmount" on net.eth0 won't work. I'm also wondering what the package for "ps" is... that's missing as well. Once i can get things running w/o incident on bootup..i'm doing a rsync on portage. |
|
Back to top |
|
|
|