From: Richard Fish <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] udev & recent genkernel + gentoo-sources
Date: Wed, 13 Jul 2005 21:18:27 +0200 [thread overview]
Message-ID: <42D56903.8020100@asmallpond.org> (raw)
In-Reply-To: <200507131139.34961.dmitry@athabascau.ca>
Dmitry S. Makovey wrote:
>I recently updated portage tree & kernel and using usual
>
>genkernel --menuconfig --save-config all
>
>produced unbootable system :(
>Symptoms point most probably to udev being used by default etc. Here's
>what I have in grub.conf:
>
>title Gentoo linux (updated)
> root (hd0,0)
> kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n root=/dev/ram0
>real_root=/dev/hda11 init=/linuxrc video=vesafb:1024x768-32@72
>splash=verbose gentoo=nodevfs udev devfs=nomount
> initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n
>
>
>I've tried to follow those:
>
>http://www.gentoo.org/doc/en/udev-guide.xml
>http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html
>http://gentoo-wiki.com/HOWTO_Migrate_to_UDEV
>http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ
>
>But it doesn't look like it applies to my case or maybe I jumped too
>far ahead and udev is not fully supported yet?
>
>
>
Well, udev is most definitly supported, since as of 2.6.12 devfs has
been officially "removed" from the kernel. Ok, technically only the
config option was removed, but you can expect that 2.6.13 will be
released without any devfs at all.
>Here's what I get booting (I'm writing it from memory mostly so don't
>think it's exact output):
>
>-install: applet not found
>/init: 41: ln: not found
>/init: 45: cat: not found
>
>
It looks to me like your /initramfs is completely screwed. Whatever
created that missed copying a bunch of necessary utilities (or more
likely, a dependant library) to the /initramfs. The "/init" messages
you see are almost certainly from the "/init" script in the initramfs.
Every line indicates it went to run a command, and either the command or
a library wasn't found.
I'm with Aj here...you need to skip genkernel and configure a kernel
from scratch. Compile everything you need to boot (disk drivers, root
filesystem driver, etc) into the kernel statically (not as a module!).
Then get rid of the "initrd" line in grub, lose the real_root=, init=,
splash=, gentoo=, and devfs= options on the kernel command line, and
change the "root=" option to "root=/dev/hda11".
What a freakin' mess!
-Richard
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-07-13 19:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-13 17:39 [gentoo-user] udev & recent genkernel + gentoo-sources Dmitry S. Makovey
2005-07-13 17:43 ` A. Khattri
2005-07-13 19:04 ` Dmitry S. Makovey
2005-07-13 19:17 ` Rumen Yotov
2005-07-13 19:56 ` A. Khattri
2005-07-13 20:09 ` Zac Medico
2005-07-13 20:47 ` Richard Fish
2005-07-13 21:11 ` Dmitry S. Makovey
2005-07-13 23:41 ` Dmitry S. Makovey
2005-07-14 0:13 ` Zac Medico
2005-07-14 17:33 ` A. Khattri
2005-07-14 6:03 ` Richard Fish
2005-07-14 6:15 ` Ow Mun Heng
2005-07-14 14:35 ` Dmitry S. Makovey
2005-07-13 18:14 ` Zac Medico
2005-07-13 19:18 ` Richard Fish [this message]
2005-07-13 19:42 ` Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42D56903.8020100@asmallpond.org \
--to=bigfish@asmallpond.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox