1 |
* Dale <rdalek1967@×××××.com> [120329 16:22]: |
2 |
> Canek Peláez Valdés wrote: |
3 |
> |
4 |
> > Can you try doing |
5 |
> > |
6 |
> > dracut -H /boot/initramfs-<kernel version here> |
7 |
> > |
8 |
> > ?? |
9 |
> > |
10 |
> > The man page from dracut says that -H is for the "current host" |
11 |
> > instead of a "generic host". Maybe the "generic host" configuration is |
12 |
> > messing up something with su that your actual host configuration |
13 |
> > needs. |
14 |
> > |
15 |
> > I use -H. As I have ben saying, my initramfs it's pretty up in sync |
16 |
> > with my normal system. |
17 |
> > |
18 |
> > Regards. |
19 |
> |
20 |
> |
21 |
> Notice, I make the distinction between Console and Konsole by making the |
22 |
> first letter capitalized. It kind of gets confusing. :/ |
23 |
> |
24 |
> I had to reboot so I made a new init thingy with the -H switch. It |
25 |
> works in Console but nothing root works in KDE. I get the same error. |
26 |
> Heck, Konsole won't even try to come up much less ask for my password. |
27 |
> Krusader asks for password and says that su is not in the path. This is |
28 |
> similar to what I got when I was in a Console too. |
29 |
> |
30 |
> So, boot without init thingy, everything works fine. Boot with the init |
31 |
> thingy, I can't access things in KDE as root. All I do is reboot. I |
32 |
> don't change or edit anything other than selecting a different entry in |
33 |
> grub. |
34 |
> |
35 |
> I use Konsole when I emerge and such as that. I use Krusader, since |
36 |
> Konqueror developed a bug, to edit config files. I don't care to switch |
37 |
> to a Console to emerge something or edit a config file. This is not |
38 |
> going to work for me long term. |
39 |
> |
40 |
> Also, keep in mind, I boot the EXACT same kernel whether I use the init |
41 |
> thingy or not. All I do is remove the stuff the init thingy needs to |
42 |
> work. |
43 |
> |
44 |
> Go figure. |
45 |
> |
46 |
> Dale |
47 |
> |
48 |
> :-) :-) |
49 |
|
50 |
My dracut initramfs (created with just hostonly=yes changed from the |
51 |
config installed by Gentoo) is quite "heavy" and starts up udevd in |
52 |
the initramfs. That along with other things that happen in there could |
53 |
possibly be leading to your permission problems. |
54 |
|
55 |
If I were you, I'd manually create an initramfs the way that Neil has |
56 |
mentioned that simply mounts /usr and then does a switch_root and see if |
57 |
you still have problems. |
58 |
|
59 |
It's really not too hard if you can muddle through simple shell scripts. |
60 |
|
61 |
Todd |