Gentoo Archives: gentoo-user

From: Iain Buchanan <iain@×××××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems
Date: Thu, 14 Jul 2005 02:10:46
Message-Id: 1121306885.24388.23.camel@orpheus
1 I just compiled kernel-2.6.12-gentoo-r5 almost exactly the same way I've
2 compiled every other kernel, but this one won't boot!
3
4 I used genkernel as so:
5 sudo genkernel --no-menuconfig --save-config --no-bootsplash --gensplash
6 --gensplash=emergence --install
7 --kernel-config=/home/iain/configs/2.6.12-gr5-2005-07-14 --makeopts=-j3
8 --mountboot --bootloader=grub all
9
10 which is the same as I used for 2.6.12-gentoo and 2.6.11-gentoo-r11
11 (etc) and they worked fine.
12
13 The only difference is I removed --udev from the genkernel options
14 because genkernel told me its specified by default.
15
16
17 The kernel and initrd files are named differently:
18 kernel-genkernel-x86-2.6.12-gentoo-r5
19 initramfs-genkernel-x86-2.6.12-gentoo-r5
20
21 as opposed to
22 kernel-2.6.11-gentoo-r11
23 initrd-2.6.11-gentoo-r11
24
25 Grub loads the initrd ok, but somewhere in the boot process, this
26 happens (with lots more /init lines where I've placed 'etc'):
27
28 ...
29 ACPI wakeup devices:
30 LID PBTN PCIO USB1 USB2 USB4 USB3 MODM PCIE
31 ACPI: (supports S0 S1 S3 S4 S4bios S5)
32 Freeing unused kernel memory: 228k freed
33
34 all ok up to here, but then:
35
36 -install: applet not found
37 /init: 41: In: not found
38 /init: 45: cat: not found
39 /init: 150: sed: not found
40 >> Loading modules
41 /init: 172: touch: not found
42 /init: 172: cat: not found
43 ...
44 etc!
45 ...
46 >> Activating udev
47 /init: 178: mkdir: not found
48 /init: 178: /sbin/udevstart: not found
49 /init: 178: In: not found
50 ...
51 etc!
52 ...
53 [: /dev/md: unknown operand
54 /init: 187: mkdir: not found
55 >> Determining root device...
56 !! The root block device is unspecified or not detected.
57 Please specify a device to boot, or "shell" for a shell...
58 boot() ::
59
60 (this is typed from a photo, so E&OE !!)
61
62 At this stage, I can type shell, but I don't get any commands. When I
63 try to use tab completion, I see some strange directory names (sorry
64 can't remember exactly).
65
66 I thought maybe for some reason I didn't have the right filesystem
67 modules compiled in, but they're certainly there:
68
69 CONFIG_EXT3_FS=y
70 and so on, but anyway, I haven't changed this from 2.6.11.
71
72 So, any ideas on what's going on? Something udev related? google only
73 returned the usual "init not found", MARC showed nothing and I can't
74 connect to gmane, anyone know whats going on there?
75
76 Many TIA!
77 --
78 Iain Buchanan <iaindb@××××××××××××.au>
79
80 --
81 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] strange /init kernel-2.6.12-gentoo-r5 boot problems Richard Fish <bigfish@××××××××××.org>