After a power failure my Tumbleweed system won’t boot, as /sysroot is not mounted during boot. I can mount it manually from the emergency console and boot the system by calling systemctl start initrd-switch-root.
How can I fix the boot process so that I don’t have to manually mount my sysroot every time?
I’m using Tumbleweed, btrfs as my root fs and systemdboot
You fix whatever problem prevents automatic mounting. You have not provided any details so it is rather difficult to guess what could it be.
When dracut enters emergency shell it generates rdsosreport.txt
. Upload this file to https://paste.opensuse.org/. You may want to boot with printk.devkmsg=on log_buf_len=16M
kernel parameters to ensure all logs are captured.
https://paste.opensuse.org/pastes/e05ca9607ee3
Thanks, I wasn’t sure where to begin. Here’s the rdsosreport file from my last boot.
printk.devmsg=on
Could you retry with the correct parameter? Just to make sure messages are not lost?
I added that to my boot options. I’ll try again
https://paste.opensuse.org/pastes/3e4dc2d0526e
It is the same number of lines. Just to be clear, I’m adding printk.devmsg=on log_buf_len=16M
to my boot options in my bootloader menu?
It should have been printk.dev
k
msg=on
.