On 29/10/2020 06:56, Andrei Borzenkov wrote:
28.10.2020 12:41, Robin Klitscher пишет:
On 28/10/2020 18:56, Andrei Borzenkov wrote:
....................................
Boot into emergency mode, dump journal:
journalctl -b > journal.out
then mount your root file system from working instance and upload resulting file together with modified /etc/fstab.
journalctl.out and modfied fstab attached.
Oh! It does stop in dracut (although I am still surprised it asks for password) and the reason is indeed that dracut adds ESP as required for booting. You can verify it with
1. Mount partition containing /boot of installation that fails to boot 2. Use command
lsinitrd <mountpoint>/boot/initrd | grep initqueue/finished
I expect to see one line for device containing /boot/efi with old, no more valid, UUID.
That was completely new to me. And yes, this means you need to regenerate initrd if ESP is reformatted.
Here's the output of lsinitrd on one of the broken systems as you suggest above:
lsinitrd /mnt/boot/initrd | grep initqueue/finished drwxr-xr-x 2 root root 0 Oct 21 09:57 lib/dracut/hooks/initqueue/finished -rw-r--r-- 1 root root 37 Oct 21 09:57 lib/dracut/hooks/initqueue/finished/devexists-\\x2fdev\\x2fdisk\\x2fby-uuid\\x2f0908-2851.sh
... and that last part after the double \ does indeed reference UUID 0908-2851, which no longer exists, so you are right. In the running system it's 4D62-1AA8 for the ESP - confirmed by issuing the same lsinitrd command against the running system's /boot/initrd. How that error came about is another matter. But a lesson may be that those who don't fully understand what they're doing should not ignore warning messages. When I was booted externally to Parted Magic and mistakenly deleted and remade the partition /dev/sda1, I thought nothing of the ensuing message that the kernel had not been informed. Mea culpa. Meantime I'll try my hand at a chroot and mkinitrd. -- Robin K Wellington "Harbour City" New Zealand -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org