dantes33
April 12th, 2021, 08:02 PM
Ubuntu 20.04 crashed badly and then grub booted on a minimal text interface. I likely can boot Windows partition changing the bios startup sequence (yes, I've two disks for any OS) but I can't get Ubuntu partition back. It happened as I was cleaning the system with Bleachbit (never more!) … maybe a screen saver while cleaner processing caused the system freeze in the wrong moment.
Using a live usb I made a file system check on every partition (sdb1 and sdb5) and got an undamaged system partitions feedback message.
I also run Grub Repair tool but I had things getting worst, because I had two error message: the first is about partition mapper/vgubuntu-root (Ubuntu 20.04.2 LTS) quite full, but there’s no way to solve the issue deleting files for having more space (I always get recursive message about “at least 128 Mega needed”, and seemed to me that such location is aleatory), so I ignored it, went to the next step and got second error message:
“Please enable a repository containing the [grub-efi-amd64-signed] packages in the software sources of Ubuntu 20.04.2 LTS (mapper/vgubuntu-root)”
I found a patch to this issue (never been able to google it again on further attempts, so I can't link it just now) and to go ahead until the “Boot successfully repaired” message.
But since I write here down the subsequent link generated by Grub Repair :
http://paste.ubuntu.com/p/pvQCYbjdXw/
it has not been that successful!
I also tried with Grub Customizer but I have the message
“grub-mkconfig wrong execution
/usr/sbin/grub-probe:error:failed to get canonical path of /-cow”
https://askubuntu.com/questions/254491/failed-to-get-canonical-path-of-cow
I chased this “cow” around its path for a couple of hours also trying to setting up a chroot environment
https://unix.stackexchange.com/questions/96977/grub-probe-error-failed-to-get-canonical-path-of-cow
but no way.
I also post here some mount attempts over sdb partition the SSD Ubuntu is installed on
ubuntu@ubuntu:~$ sudo mount /dev/sdb1 /mnt
mount: /mnt: /dev/sdb1 already mounted on /mnt.
ubuntu@ubuntu:~$ sudo mount /dev/sdb1 /mnt/boot/efi
mount: /mnt/boot/efi: mount point does not exist.
ubuntu@ubuntu:~$ sudo mount /dev/sdb1 /mnt/efi
ubuntu@ubuntu:~$ for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
mount: /mnt/dev: mount point does not exist.
mount: /mnt/dev/pts: mount point does not exist.
mount: /mnt/proc: mount point does not exist.
mount: /mnt/sys: mount point does not exist.
mount: /mnt/run: mount point does not exist.
ubuntu@ubuntu:~$ sudo mount /dev/sdb5 /mnt
mount: /mnt: unknown filesystem type 'LVM2_member'.
Thanks in advance for any help (my Ubuntu optimized installation, the upgrades, add-ons, selected software is still there)
Using a live usb I made a file system check on every partition (sdb1 and sdb5) and got an undamaged system partitions feedback message.
I also run Grub Repair tool but I had things getting worst, because I had two error message: the first is about partition mapper/vgubuntu-root (Ubuntu 20.04.2 LTS) quite full, but there’s no way to solve the issue deleting files for having more space (I always get recursive message about “at least 128 Mega needed”, and seemed to me that such location is aleatory), so I ignored it, went to the next step and got second error message:
“Please enable a repository containing the [grub-efi-amd64-signed] packages in the software sources of Ubuntu 20.04.2 LTS (mapper/vgubuntu-root)”
I found a patch to this issue (never been able to google it again on further attempts, so I can't link it just now) and to go ahead until the “Boot successfully repaired” message.
But since I write here down the subsequent link generated by Grub Repair :
http://paste.ubuntu.com/p/pvQCYbjdXw/
it has not been that successful!
I also tried with Grub Customizer but I have the message
“grub-mkconfig wrong execution
/usr/sbin/grub-probe:error:failed to get canonical path of /-cow”
https://askubuntu.com/questions/254491/failed-to-get-canonical-path-of-cow
I chased this “cow” around its path for a couple of hours also trying to setting up a chroot environment
https://unix.stackexchange.com/questions/96977/grub-probe-error-failed-to-get-canonical-path-of-cow
but no way.
I also post here some mount attempts over sdb partition the SSD Ubuntu is installed on
ubuntu@ubuntu:~$ sudo mount /dev/sdb1 /mnt
mount: /mnt: /dev/sdb1 already mounted on /mnt.
ubuntu@ubuntu:~$ sudo mount /dev/sdb1 /mnt/boot/efi
mount: /mnt/boot/efi: mount point does not exist.
ubuntu@ubuntu:~$ sudo mount /dev/sdb1 /mnt/efi
ubuntu@ubuntu:~$ for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
mount: /mnt/dev: mount point does not exist.
mount: /mnt/dev/pts: mount point does not exist.
mount: /mnt/proc: mount point does not exist.
mount: /mnt/sys: mount point does not exist.
mount: /mnt/run: mount point does not exist.
ubuntu@ubuntu:~$ sudo mount /dev/sdb5 /mnt
mount: /mnt: unknown filesystem type 'LVM2_member'.
Thanks in advance for any help (my Ubuntu optimized installation, the upgrades, add-ons, selected software is still there)