Dale writes:
> pk wrote:
> > On 2011-09-09 13:35, Alex Schuster wrote:
> >
> >> When I switched to using an initramfs, it was not very complicated. I
> >> simply use genkernel. With CLEAN="no" and MRPROPER="no", it uses my
> >> /usr/src/linux/.config and does not change the kernel options. Then
> >> comes genkernel --install --lvm -luks all, and I have kernel and
> >> initramfs
> > And for those that like to do without genkernel? Again, adding another
> > layer for things to go wrong.
That's just what I do and what I know about. I'm reading about dracut
here, but I don't know how easy that is. Sure, I also wouldn't like an
additional layer, but what if there are no good alternatives?
> I tried genkernel. All I got was a kernel that wouldn't boot. Heck,
> it barely even started to boot. The kernel wouldn't even finish
> loading. After several tries, I put genkernel in the trash. It worked
> a LOT better there for me. It was out of sight and mind. ;-)
Yes, I remember the discussion. But I think you used genkernel as it was
designed, to generate a new kernel .config from scratch. This is not
necessary, as I wrote above you can also make it use your
working .config. That's what I do, and it also gives me the initramfs I
need, without having to think about how it does that. I suggest you just
try it, and I'd say there is a really good chance it just works. When you
use 'genkernel --install kernel', you should get the same kernel as when
you build it manually, just with a different name. With 'genkernel
--install all', you also get the initramfs.
I can't guarantee this, though, and especially you seem to have a history
of being bitten by bugs. But then, that's what people say about me, too,
and I'm using genkernel just fine.
> >> I don't get this one. Why do you want to copy an existing /usr
> >> partition to another one?
> > He said he wishes to move his /usr to a spare partition (the part
> > about KDE4)... I assume his /usr currently resides on / (or maybe a
> > smaller partition that he cannot easily expand).
>
> You hit it, for some reason I put /usr on the root partition without
> thinking. This is where I am now:
>
> rootfs 19534436 10693048 8841388 55% /
>
> Over half full. When I have a critical partition get over 60%, I start
> looking for expansion. Moving /usr was my plan but someone stole that
> from me I guess. Now I got to figure out what I want to do next.
Uh. So you think about leaving Gentopo, because your root partition is
barely over half full, and moving /usr somewhere else might involve an
initramfs soon? I'd just wait until it starts getting to 80-90%, and
think about it again.
Wonko