I installed Ubuntu Mate 18.10 with LVM for managing the disk.
The first time with luks (cryptsetup) in order to keep the disk encrypted.
After installation, it is suggested to update the system and this update affectes update-initramfs.
If I update then I cannot boot any more and I get the following message :
BusyBox v1.27.2 (Ubuntu 1:1.27.2.Z-Zubuntu4) built-in shell (ash) Enter 'help' for a list of built-in commands. (initramfs)
If I hit exit (one of the commands), I get the following error :
Gave up waiting for root file system device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay = (did the system wait long enough) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/mapper/ubuntu--mate--vg--root does not exist. Dropping to a shell!
And again it prompts me for shell input.
I searched the topic on the internet, the first answer I found was this one :
The second answer seemed to be my case, so I followed the steps (which were not enough because you need to add other things to make it even possible, the comment made by icio here :
https://gist.github.com/dragon788/e777ba64d373210e4f6306ad40ee0e80 was helpful
I changed the file (I don’t use EFI and my drive isn’t a NVMe) , after iterative changes, update-initramfs worked, however, this didn’t make any progess as I was getting the same message over and over after reboot.
I then reinstalled Ubuntu Mate 18.10, but this time with no disk encryption and only LVM.
I still got the same problem.
Now I’ll try to install Ubuntu Mate 18.04, but in the mean time if anyone has a beginning of a solution to the problem I’ll be glad to take it.