Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.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 05:35:08
Message-Id: 4F7A8B84.30709@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 Dale wrote:
2
3 >
4 > So the init thingy is going to print all that stuff each time? Or is
5 > that the debug stuff you had me add to the grub line? Please say it is
6 > so. It's one reason I checked my email. I was counting and realized
7 > the debug stuff that was added may haver done all that. Taking a deep
8 > breath helped tho. ;-) I still want my hands on that neck tho. lol
9 >
10 > When I booted into the new kernel and got what I thought was errors, I
11 > did run dracut -H -f /boot/init<thingy here> and rebooted with it. When
12 > it got booted, I could not get LVM to work. It is /data that has LVM
13 > for now. I plan to add /usr and /var later on tho. The /data partition
14 > has my videos and such on it. I plan to reorganize all this under
15 > /home, which will be on LVM too, later on. Also, while I was booted in
16 > the new kernel, I re-emerged lvm2 and then restarted the service. Still
17 > a no go. Attaching kernel config file this time, since it could be the
18 > issue. Maybe I added something I shouldn't have?
19 >
20 > Got to get shower and such for tomorrow so back in a bit. No plans to
21 > count things right now.
22 >
23 > Dale
24 >
25 > :-) :-)
26 >
27
28
29 OK. I notice this when I build the init thingy with dracut:
30
31 root@fireball / # dracut -H -f /boot/init-thingy
32 E: Dracut module "lvm" cannot be found.
33 E: Dracut module "lvm" cannot be found.
34 I: *** Including module: dash ***
35 I: *** Including module: udev-rules ***
36 I: Skipping udev rule: 50-udev.rules
37 I: Skipping udev rule: 95-late.rules
38 I: *** Including module: base ***
39 I: *** Including module: fs-lib ***
40 I: *** Including module: shutdown ***
41 I: Skipping program kexec as it cannot be found and is flagged to be
42 optional
43 I: *** Including modules done ***
44 I: Wrote /boot/init-thingy:
45 I: -rw-r--r-- 1 root root 2406253 Apr 3 00:03 /boot/init-thingy
46 root@fireball / #
47
48 So, it is not able to find the lvm module and honestly, I didn't know
49 there was one. Anyway, I googled and only found one reference on this
50 and it has no fix for it. So, if I put /usr on lvm, how is dracut going
51 to be able to find /usr? This is my current versions:
52
53 root@fireball / # emerge -vp dracut lvm2
54
55 These are the packages that would be merged, in order:
56
57 Calculating dependencies... done!
58 [ebuild R ~] sys-fs/lvm2-2.02.95-r1 USE="lvm1 readline udev (-clvm)
59 (-cman) (-selinux) -static -static-libs" 0 kB
60 [ebuild R ~] sys-kernel/dracut-017-r3 USE="device-mapper -debug
61 -net (-selinux)" DRACUT_MODULES="lvm -biosdevname -btrfs -caps -crypt
62 -crypt-gpg -dmraid -dmsquash-live -gensplash -iscsi -livenet -mdraid
63 -multipath -nbd -nfs -plymouth -ssh-client -syslog" 0 kB
64
65 Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
66 root@fireball / #
67
68 I have tried all I know to try. I'm note sure what is broke now. If
69 the init thingy is working, then I guess the new kernel is messing up
70 lvm. Speaking of, I have to boot with my old kernel for lvm to work.
71 It won't work with the kernel I built for the init thingy. I'm thinking
72 there is a conflict somewhere. I just don't know where. Based on the
73 fact the new kernel breaks whether I use a init thingy or not, I'm
74 thinking kernel this time.
75
76 Ideas? Thoughts? Making sense yet?
77
78 Dale
79
80 :-) :-)
81
82 --
83 I am only responsible for what I said ... Not for what you understood or
84 how you interpreted my words!
85
86 Miss the compile output? Hint:
87 EMERGE_DEFAULT_OPTS="--quiet-build=n"