It can't find the specified uuid and ubuntu drops in to a busybox in initramfs. PVE version 8.4.1 I Need no solution on restoring the guest. I need to know why something trivial as backup/restore doesn't work for me. During the recovery phase I had to fix some partition errors. Steps taken to get access to the data
The system has:
/dev/sda: 64GB SSD (system disk) (bare linux that has the guest drive attached)
/dev/sdb: 256GB secondary disk (This is the drive I am trying to restore)
/dev/sdb shows a corrupt primary GPT, but a valid backup GPT exists.
Two partitions detected on /dev/sdb:
/dev/sdb1: BIOS boot (1MB)
/dev/sdb2: Linux filesystem (256GB)
Initial Mount Attempts Failed
Mounting /dev/sdb or /dev/sdb2 failed due to:
Missing device node for /dev/sdb2
Possibly bad superblock or unrecognized file system
Package Installations to recover data
Installed file, parted, and confirmed kpartx was already installed.
Recovery Steps
Used kpartx -av /dev/sdb to map GPT partitions:
Created /dev/mapper/sdb1 and /dev/mapper/sdb2
Successful Mount
Mounted /dev/mapper/sdb2 to /mnt/guest
Browsed contents successfully; includes typical Linux filesystem structure
Recovered Data
Navigated to /mnt/guest/home/user/
Found directories and files like:
apps/, guest/, updates.sh, whisper.cpp, piperdata/, webui.db, etc.
Final Result
The partition was successfully mounted using kpartx after detecting a corrupt GPT.
All intended user data under /home/user/ was accessible and appears intact.