Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs?
Date: Tue, 03 Apr 2012 02:45:23
Message-Id: CADPrc81Q6Tmzpg0p7cbOYr8iXQFO_L4QGKid=LGZPXLB1dt5Xw@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: After /usr conflation: why not copy booting software to /sbin rather than initramfs? by Dale
1 On Mon, Apr 2, 2012 at 9:08 PM, Dale <rdalek1967@×××××.com> wrote:
2 > Dale wrote:
3 >
4 >>
5 >> I think I got it all sorted and am building a new kernel.  It will have
6 >> a -2 on the end instead of a -1.  I'll test it in a bit.  I got some
7 >> things to prepare for tomorrow plus we have storms coming in tonight.
8 >> The rain is already on the radar and it is a bit windy here.  May take a
9 >> bit before I reboot.  Just depends.  ;-)
10 >>
11 >> I'm hoping to get this sorted so I can then move on to more issues, and
12 >> maybe a new thread. lol
13 >>
14 >> Will reply in a bit on what blows up.  ROFL
15 >>
16 >> Dale
17 >>
18 >> :-)  :-)
19 >>
20 >
21 >
22 > Well, I rebooted.  I'm also back to my old kernel.  The new kernel broke
23 > all sorts of things.  I thought about writing down the errors until I
24 > saw how many there was. It was PAGES of problems.  It booted to a prompt
25 > tho.  One thing I noticed, LVM failed.  I have a drive that has LVM on
26 > it and it would not mount although LVM service was started.  I even
27 > restarted it and it reported no errors when starting.  I dunno.
28 >
29 > So, this appears to be nowhere close to fixed.  Right now, this is on my
30 > nerves again.  Let me know what you want me to post but right now, I'm
31 > going to go have a sit down.  I'll count those things hanging from the
32 > ceiling or something.  I can't recall what they call them but I count
33 > them sometimes.
34 >
35 > If I was eyeball to eyeball with the dev that started this, I could
36 > patent and new color of purple/blue.  You know, hands around the neck
37 > and all.  :/
38 >
39 > I'm attaching the dmesg from the failed attempt.  It's a whopper.  I'm
40 > not sure all the errors are in there either.  Here's grub line:
41 >
42 > title=Initramfs-new_kernel
43 > root (hd0,0)
44 > kernel /bzImage-3.2.11-2 root=/dev/sda3 init=/sbin/init  rd.debug
45 > rd.udev.debug nox
46 > initrd /initramfs-3.2.11.img
47 >
48 > I also tried other settings for the root line but that was the only one
49 > that worked.
50 >
51 > Thoughts?  Should I just switch and save myself the aggravation?
52 >
53 > Back to my hole.
54
55 Actually, the initramfs finished without a single error: between
56
57 [ 1.962007] dracut: + source_conf /etc/conf.d
58
59 and
60
61 [ 2.395576] dracut: Switching root
62
63 there is not a single error. The initramfs did what it needed to do;
64 the user space failed *after* initramfs switched root.
65
66 Did you recreated the initramfs after the kernel recompilation? 1st
67 rule of non-trivial initramfs: you need to recreate it everytime you
68 change kernels.
69
70 Which partition is the LVM one? /home or /data? Either way, either
71 partition should not matter to boot the system correctly. We need to
72 see the errors *after* the initramfs switched root; maybe you can
73 delete /var/log/messages, reboot, and post it?
74
75 Regards.
76 --
77 Canek Peláez Valdés
78 Posgrado en Ciencia e Ingeniería de la Computación
79 Universidad Nacional Autónoma de México

Replies