If the boot process hangs after loading the #initrd and timeouts while mounting a FS from a #LVM volume, because the FS was moved from one host block device to another (here also LVM on host, from a VG used for slow storage to a VG used for fast storage), it may help to get into the initrd shell and see if the FS is on a deactivated LV.
I used the pvscan --cache -aay sledgehammer command but lvchance -aay would have fixed it too.
#LogicalVolumeManager #Linux
#initrd #lvm #logicalvolumemanager #linux
New blog post : Initramfs and dracut - https://blog.anotherhomepage.org/post/2022/12/08/initramfs-and-dracut/ #blogmas #blogmas2022 #sysadmin #initram #initramfs #initrd #dracut #fedora #centos #rhel #redhat #linux
#blogmas #blogmas2022 #sysadmin #initram #initramfs #initrd #dracut #fedora #centos #rhel #redhat #linux
Yes, succeeded to install #Slackware on my #eeepc using #luks & #lvm having the root volume on the sd card 😃
Key solution was in the #init script within #initrd. Needed to input a sleep. Felt kind of stupid, because there was this comment in the script informing to extend the default sleep period when the root volume is located on USB. In the case of a eeepc the sd-card reader is USB connected.
#slackware #eeepc #luks #lvm #init #initrd
Und heute suche ich einen fiesen Bug bei der Interface-Benennung, der nur im Live-System und nur auf echter Hardware auftritt, und zwar irgendwo in den Tiefen der #initrd.
Ich darf also nicht nur jedesmal die Initrd neubauen, wenn ich meine, einen Ansatz zu haben, nein, auch das Live-System. Und das muß dann der Hardware zum Booten bereitgestellt werden. Mit VMs ginge das irgendwie leichter …
@whilelm
Du coup sur un serveur derrière un #NAT, je l'active par exemple dès l'#initrd, pour faire et maintenir un tunnel traversant le #NAT vers un serveur relai depuis lequel je peux remonter le tunnel afin d'aller déchiffrer le disque du système : ssh -J relai.example.org root@machine-to-boot.intranet -p 2222
Je pourrais faire pareil avec du reverse #SSH (-R), mais ce serait plus dur de gérer les aléas réseau pouvant faire tomber ou geler le tunnel. Et puis #wireguard est déjà dans #Linux.
#linux #wireguard #ssh #initrd #nat