Hello all, first of all I am more or less a complete noob, as you will notice most likely later on anyway, sorry already if I missed anything important.
I am running Fedora 42. I have a boot partition and a luks encrypted root partition on my harddrive.
I was running a dnf upgrade forgot that it was still running and closed the laptop, which normally sends it to suspend. A few hours later I went back to the laptop, saw it was frozen on the screen and powered it off with the power off button.
Upon restart I get asked for my disk encryption password and then takes a while to load, after that it lets me choose between my fedora 42 workstation or a fedora 35 (why not an in between version, I dont know)
Whatever I choose I get
Warning: /dev/disk/by-uuid/UUID does not exist
and
Cannot open access to console, the root acount is locked.
in the fedora 42 I cant do anything in the shell in the 35 I can type journalctl and get a lot of stuff among other things I get
Warning: dracut-initqueue: starting timeout scripts
Things I have tried:
- decrypt and mount via live/usb (plan was to follow these instructions: restore bootloader with live usb )
sudo cryptsetup luksOpen /dev/nvm0n1p2 cryptdrivewhich asked me for password and was fine as far as i can tell aslsblkshowed me the/dev/mapper/cryptdrive
thensudo mount /dev/mapper/cryptdrive /mnt
this came up with
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mapper/cryptdrive, missing codepage or helper program, or other error.
dmesg(1) may have more information after failed mount system call.
-
wanted to try
dracut -f --regenerate -alltried it in grub (prob wrong) and then it told me there is no dracut -
in grub tried to remove
rhgbandquietand addedrd.shell(which came with error msg that it cant find rd.shell) and then spit out the initqueue problem again
also sudo fdisk -l turns up with (dont know if that has anything to do with anything)
Device Boot Start End Sectors Size Id Type
/dev/nvme0n1p1 * 2048 2099199 2097152 1G 83 Linux
/dev/nvme0n1p2 2099200 500117503 498018304 237.5G 83 Linux
GPT PMBR size mismatch (5355839 != 121077760) will be corrected by write.
The backup GPT table is not on the end of the device.
as I am a fool I of course didnt make a backup before everything went south, so I would prefer to get it running again. Any help is majorly appreciated.
I already tried to skim the forum for ideas but it seems most people with a similar issue can still mount via live usb. And secretly I am of course hoping that because of my little understanding of this I have just not realised an easy solution. Also because often I am confused in which shell I am supposed to put my commands.
