1 |
I've started a new thread on my kernel troubles. I thought the thread |
2 |
subject should be more indicative of the semi OT nature of the query. |
3 |
|
4 |
Also thought it might make the information that accrues here more |
5 |
findable for any future searchers. |
6 |
|
7 |
Here is the general setup and the general problem: |
8 |
|
9 |
vmware appliance made from gentoo-2008.0 |
10 |
|
11 |
|
12 |
I downloaded this appliance from a friendly sight that has all kinds. |
13 |
The appliance was built in July and so needed some updating. I |
14 |
|
15 |
www.bagvapp.com |
16 |
|
17 |
So cutting to the chase here. All software updated nicely but when I |
18 |
started fooling with the kernel I hit a brick wall. |
19 |
|
20 |
The original is 2.6.24-r8. Apparently built with genkernel as it has |
21 |
just about everthing possilbe enabled. |
22 |
|
23 |
The original setup was rigged to boot with an initrd |
24 |
(from grub) |
25 |
|
26 |
title=linux-2.6.24-gentoo-r8 |
27 |
root (hd0,0) |
28 |
kernel /kernel-genkernel-x86-2.6.24-gentoo-r8 |
29 |
root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sdb3 |
30 |
initrd /initramfs-genkernel-x86-2.6.24-gentoo-r8 vga=0x317 |
31 |
|
32 |
And originally used /dev/sda3 for root. |
33 |
|
34 |
It worked just fine. But none of my attempts to bring the kernel up |
35 |
to date have worked. All failing with a error message something like: |
36 |
`/dev/sdb3 is not a valid device'. |
37 |
|
38 |
But of course it is because reverting to the original kernel allows a |
39 |
successful boot. |
40 |
|
41 |
You'll notice I've since moved root from /sda3 to sdb3... expanding |
42 |
everthing. That is not the cause of the problem though since the |
43 |
original kernel boots just fine with the edit to /dev/sdb3 as root. |
44 |
|
45 |
I will post exact error messages in a bit but I'd gotten rid of the |
46 |
extra sources.. and was about to give up messing with this. |
47 |
|
48 |
I'm redownloading the latest gentoo-source and will post what ever |
49 |
errors occur with it. I'll build using the old kernel config as |
50 |
basis. And ditch the initrd. |
51 |
|
52 |
(hours later) |
53 |
|
54 |
Looks like I fogot to mail the message above so even better... Now I |
55 |
have a screen shot of the messages. |
56 |
|
57 |
I've compiled 2.6.27-r5 using the config that works with 2.6.24-r8 as |
58 |
the basis. I did prune out a few things... all wireless some hid and |
59 |
most usb. |
60 |
|
61 |
This kernel fails as I expected and here is small screen shot of the |
62 |
error. It appears something is lacking that lets the kernel know that |
63 |
/dev/sda1 (boot) and /dev/sdb3 are valid /boot and / |
64 |
|
65 |
Here are the grub lines: |
66 |
|
67 |
title=/dev/sda1 hp 2.6.27-r5 NO INTITRD |
68 |
root (hd0,0) |
69 |
kernel /kernel-2.6.27-r5 root=/dev/sdb3 video=vesafb:mtrr3,ywrap vga=0x317 |
70 |
|
71 |
Screen shot of boot messages: |