Ré : don't boot: last line autofs4 module inserted

Paul Dufresne <[email protected]> Wed, 18 Dec 2024 14:35:31 -0500
Newsgroups gmane.linux.debian.user.testing
Message-ID <[email protected]>
I have been able to boot latest kernel by modifying (with E key) the boot entry:

replaced:

set root='lvmid/sMjw7e-rWxK-OkJd-RNtY-4599-Hz1q-3DtcNn/nbU01K-S2Qi-z01i-W3xO-s27B-UrZD-Fs8YLE'

by

set root=/dev/mapper/main-myroot



So now:

paul@albukerk:/boot/grub$ cat /proc/version

Linux version 6.11.10-amd64 (mailto:[email protected]) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-8) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43.1) #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1 (2024-11-23)

paul@albukerk:/boot/grub$



I am not much familiar with lvmid...

https://unix.stackexchange.com/questions/298068/system-unbootable-grub-error-disk-lvmid-not-found seems to suggest:

paul@albukerk:/boot/grub$ ls -l /dev/disk/by-uuid

total 0

lrwxrwxrwx 1 root root 10 18 déc 14:20 5d8325c5-27b7-4c42-8c73-ac2dc5936b4b -> ../../dm-0

lrwxrwxrwx 1 root root 10 18 déc 14:20 8A31-4125 -> ../../sda2

lrwxrwxrwx 1 root root 10 18 déc 14:20 a9d23244-eea3-4239-b6d4-43b6e9339321 -> ../../dm-1

paul@albukerk:/boot/grub$



lvm> vgs -v

  VG   Attr   Ext   #PV #LV #SN VSize   VFree VG UUID                                VProfile

  main wz--n- 4,00m   3   2   0 437,01g    0  sMjw7e-rWxK-OkJd-RNtY-4599-Hz1q-3DtcNn        

lvm>



Guess I would need to replace that string... still not knowing exactly where.