On 21/04/17 02:13 PM, Carlos E. R. wrote:
The procedure for repair would be to boot a rescue system, mount your new system on it (bind mount /proc, /sys, /dev), chroot, edit the modules in /etc/modules-load.d/ as Per mentioned, and then simply run "mkinitrd". That should be all. Then reboot to try.
But as I don't use LVM I can't be 100% certain.
I can and I'd rather you didn't use /etc/modules-load.d/ If you want the booting kernel to activate the LVM LVs then do it in the bootin kernel. That directory above is for after booting As you say, Carlos, dracut is the default of the vanilla install was done from DVD with no buqqering around. If there was a LVM in the initrd (use lsinitrd to look-see) then it will propogate. If not set "lvm" as one of the dracut modules in /etc/dracut.conf under add_dracutmodules+ That's dracut module, NOT a /lib/modules module it is, as I said above, "lvm, so you have add_dracutmodules+="lvm" You may need others too but that takes care of LVM. You may also want to enable dracut logging. q.v. DRACUT.CONF(5) ========================================== All that being said, there is of course /etc/modprobe.d and its contents, which *is* included n the initrd. If you want to tweak /etc/modprobe.d/99-local.conf then you can, but I'd *not* recommend using that to try and activate LVM. The above method using dracut modules not only brings in the .so modules needed, but also brings in the LVM binaries and set's up the udev rules and takes care of the activation that Linda currently has to do manually. Believe me, that works, it works well. I was designed that way. Forget buqqqering around with Yast. Like the Nike people say "Just Do It". I set it up that way back when and it's definitely a 'fire and forget'. No problems with LVM startup in any ways, shape or form since. I'd recommend the same for RAID, Crypto and a lot more. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org