Gentoo Archives: gentoo-user

From: Zac Medico <zmedico@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
Date: Fri, 15 Jul 2005 01:37:54
Message-Id: 42D711F2.7030801@gmail.com
In Reply to: Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems by Iain Buchanan
1 Iain Buchanan wrote:
2 > On Thu, 2005-07-14 at 08:36 +0200, Richard Fish wrote:
3 >
4 >>Iain Buchanan wrote:
5 >>
6 >>
7 >>>-install: applet not found
8 >>>/init: 41: In: not found
9 >>>/init: 45: cat: not found
10 >>>/init: 150: sed: not found
11 >>>
12 >>
13 >>Apparently it is a problem with busybox configuration:
14 >>
15 >>>From another thread on this list less than 12 hours old:
16 >>
17 >>Zac Medico wrote:
18 >>
19 >>
20 >>>It's not as bad as it looks. I had the same problem. You simply
21 >>
22 >>need to enable CONFIG_FEATURE_INSTALLER in the busybox config. Then
23 >>you can do "busybox --install" and it automatically creates hardlinks
24 >>for all the enabled applets.
25 >
26 >
27 > What busybox config? `equery files busybox` doesn't show any config
28 > files for busybox. I found the previous thread here
29 > http://marc.theaimsgroup.com/?l=gentoo-user&m=112127857419654&w=2 and
30 > Zac suggested some different options:
31 >
32 >
33 >>root (hd0,0)
34 >>kernel /kernel-genkernel-x86-2.6.12-gentoo-r4n
35 >>root=/dev/hda11 video=vesafb:1024x768-32@72
36 >>splash=verbose gentoo=nodevfs udev devfs=nomount
37 >>initrd /initramfs-genkernel-x86-2.6.12-gentoo-r4n
38 >
39 >
40 > but that didn't help either.
41
42 So it still uses the initramfs even though you didn't specify root=/dev/ram0? Richard said something about that (I wasn't aware of this behavior). Apparently you need to remove the initrd parameter in order to disable it.
43
44 Genkernel builds busybox with the config file in /usr/share/genkernel/$arch/busy-config. Of course, it will only build busybox if it doesn't find a suitable binary in your bincache (specified in /etc/genkernel.conf).
45
46 >
47 > And why do I need to do a `busybox --install` ?? shouldn't this come up
48 > in some emerge warning or be done by genkernel or something? I monitor
49 > all the output from emerge with enotice, but I didn't see anything about
50 > busybox...
51 >
52 > TIA,
53
54 You don't do busybox --install, that happens automatically in the init script. It seems that the genkernel devs may have overlooked this minor detail. It's easy to forget about it after you have a working busybox in your bincache.
55
56 Zac
57
58 --
59 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems Chee Ong Loh <onnyloh@×××××.com>