After upgrading my system from 21.10 to 22.04 it does not boot anymore.
Let me describe my setup first: I do have two SSDs combined in a Raid 0 (Intel Rapid Storage Technology). This is where my main system is installed. There is a fat32 boot partition (EFI System Partition) and the rest is an ext4 pratition for the root file system. I also have a HDD outside of the raid array, which is just there for data and backups.
This setup worked nicely for quite a while and survived multiple Ubuntu upgrades.
Now, when booting the system I get the message that the system gave up waiting for the root file system device. It also tells me the UUID of the ext4 partition, which is actually the right one. Then the system falls back to the initramfs shell.
In the shell I can actually see that some kind of raid devices were assembled. I have /dev/md126 and /dev/md127.
But when I try to mount /dev/md127 to a newly created directory I just get an error message like this:
EXT4-fs (md127): unable to read superblock
Now, one might think that the device or at least the raid array is broken. But that's not the case. I used a live usb version of Ubuntu (also 22.04) to boot my machine. The system does also not recognize the raid array on the fly. But it works after running following command:
sudo partprobe /dev/mapper/isw_bbfdhiijgj_SSD
After running this, I can immediately use nautilus to browse the whole filesystem without problems. All the files are there and work. At this point I could also verify that the UUID used in the boot process is the right one.
What I tried so far to solve the problem:
- Used boot-repair, it did not make a difference
- Chrooted into the system, uninstalled, reinstalled und updated the grub config and rebuilt initramfs
None of this was successful so far.
So, what can I do to fix the booting process?