marianogedisman
New Member
Hello! I installed Debian 12 on a VMware VM.
It was working fine until I rebooted it and then I was greeted with grub.
Based on the current volume info:
I tried the following commands:
Which gives me a booting Linux but stuck at:
And then greeted by
Of course, I could redo the VM but my goal is to learn from this situation in case I run into this issue in Production env. I've googled to no avail only to find all the steps above but still unable to mount root.
Any help or pointers to documentation would be greatly appreciated!
It was working fine until I rebooted it and then I was greeted with grub.
Based on the current volume info:
Code:
grub> Is
(proc) (memdisk) (lvm/debian--vg-home) (lvm/debian--vg-tmp)
(lvm/debian--vg-swap_1) (lvm/debian--vg-var) (lvm/debian--vg-root) (hd0)
(hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (cd0) (cd0, apple2) (cd0,apple1) (cd0,msdos2)
Code:
grub> Is (hd0,gpt2)/
lost+found/ efi/ config-6.1.0-22-amd64 vmlinuz-6.1.0-22-amd64 grub/ System.map-6.1.0-22-amd64 initrd.img-6.1.0-22-amd64
grub> Is (lvm/debian--vg-root) /
Possible files are:
lost+found/ boot/home/ tmp/ var/ etc/ media/ vmlinuz.old usr/ lib lib64 sbin bin dev/proc/ root/ run/sys/ mnt/srv/opt/initrd.img.old vmlinuz initrd.img
I tried the following commands:
Code:
grub> linux (hd0,gpt2)/vmlinuz-6.10.0-22-amd64
grub> initrd (hd0,gpt2)/initrd.img-6.10.0-22-amd64
grub> set root=(lvm/debian--vg-root)
grub> boot
Which gives me a booting Linux but stuck at:
Code:
Begin: Running /scripts/local-block … done
Begin: Running /scripts/local-block … done
Begin: Running /scripts/local-block … done
Begin: Running /scripts/local-block … done
Begin: Running /scripts/local-block … done
Begin: Running /scripts/local-block … done
Begin: Running /scripts/local-block … done
And then greeted by
(initramfs)
where I have an empty fstab
file, thus I can't mount any device (even by readding them), I tried mount -a
but still no luck, getting all sorts of kernel panics.Of course, I could redo the VM but my goal is to learn from this situation in case I run into this issue in Production env. I've googled to no avail only to find all the steps above but still unable to mount root.
Any help or pointers to documentation would be greatly appreciated!