Gentoo Archives: gentoo-user

From: Zac Medico <zmedico@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev & recent genkernel + gentoo-sources
Date: Wed, 13 Jul 2005 18:18:11
Message-Id: 42D559F6.7090500@gmail.com
In Reply to: [gentoo-user] udev & recent genkernel + gentoo-sources by "Dmitry S. Makovey"
1 Dmitry S. Makovey wrote:
2 > I recently updated portage tree & kernel and using usual
3 >
4 > genkernel --menuconfig --save-config all
5 >
6 > produced unbootable system :(
7 > Symptoms point most probably to udev being used by default etc. Here's
8 > what I have in grub.conf:
9 >
10 > title Gentoo linux (updated)
11 > root (hd0,0)
12 > kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n root=/dev/ram0
13 > real_root=/dev/hda11 init=/linuxrc video=vesafb:1024x768-32@72
14 > splash=verbose gentoo=nodevfs udev devfs=nomount
15 > initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n
16 >
17 >
18 > I've tried to follow those:
19 >
20 > http://www.gentoo.org/doc/en/udev-guide.xml
21 > http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.html
22 > http://gentoo-wiki.com/HOWTO_Migrate_to_UDEV
23 > http://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ
24 >
25 > But it doesn't look like it applies to my case or maybe I jumped too
26 > far ahead and udev is not fully supported yet?
27 >
28 > Here's what I get booting (I'm writing it from memory mostly so don't
29 > think it's exact output):
30 >
31 > -install: applet not found
32 > /init: 41: ln: not found
33 > /init: 45: cat: not found
34 > ...
35 >
36 >>>Loading modules
37 >
38 > /init: 172: touch: not found
39 > /init: 172: cat: not found
40 > /init: 172: sed: not found
41 > ...
42 >
43 >>>Activating udev
44 >
45 > /init: 178: mkdir: not found
46 > /sbin/udevstart: not found
47 > -=*something about not being able to mount root partition*=-
48 > (boot)::
49 >
50
51 FOr the initrd/initramfs in >=genkernel-3.2 you need CONFIG_FEATURE_INSTALLER enabled in the busybox config. You'll have to build a new busybox unless you want to use an older version of genkernel.
52
53 For most people the initrd isn't required anyways. Are you just using it for splash? I think you can bypass the initrd in that case:
54
55 root (hd0,0)
56 kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n
57 root=/dev/hda11 video=vesafb:1024x768-32@72
58 splash=verbose gentoo=nodevfs udev devfs=nomount
59 initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n
60
61 Zac
62 --
63 gentoo-user@g.o mailing list