Closed emarsk closed 9 years ago
Hmm, do your kernel support devicemapper at all? Do you have /dev/sd* nodes? I suspect that your kernel is missing something.
The same kernel works fine with both genkernel- and dracut-created initramfs. The drivers for my hardware are compiled built-in (unless I missed something, and except stuff like audio). Same for the DM support.
Mind sharing kernel config paste it somehwere, even to gist? And did you checked if /dev/sd* are in place as well as /dev/mapper/control?
Ooohhh sssshhh____t! Well, this is embarrassing, I messed up all my info. The kernel I'm using now, built from gentoo-sources, actually works perfectly fine with better-initramfs! It's even faster to boot.
It's the other kernel I used, built from debian-sources as per the Funtoo manual, which fails. I just checked and, as you suggested, I don't see any /dev/sd* when I'm dropped to the rescue shell. It works with its own initramfs, though... I was sure I had checked the new kernel, but it seems I didn't. I guess the problem is solved then, evidently my old kernel didn't have the necessary drivers built-in, but only as modules, which its own initramfs includes but better-initramfs doesn't. Sorry for the mess. Bye.
I have a simple lvm structure on my disk: one pm, one vg, some lv's, no raid, no luks. I'm on gentoo (funtoo, actually). When booting with the initrd automatically built with genkernel, everything is fine, but with better-initramfs, I get the "Unable to mount '/newroot'" error. From the rescue shell, "lvm vgscan" doesn't find anything, neither "pmscan" nor "lvscan". I realize I'm not giving you much info, but I don't know what else to check.