I’ve rebooted my server and got this - can’t mount root. How can I fix it?
Any ideas?
Ubuntu server 22.04
I’ve rebooted my server and got this - can’t mount root. How can I fix it?
Ubuntu server 22.04
I believe this is a Urback issue. I can see my filesystem from Grub shell, is there some way to stop Urback from running on boot, so the root is booted directly?
Yes, something is trying to mount a urbackup made snapshot.
Urbackup is not an os, it does not handle mounts at boot.
If it is an image you restored and rebooted, then that is a different story.
If so, please provide more info or it is impossible to find reason.
Edit
Kinda says what you have to do, something has changed the boot parameters.
Please edit root= boot parameter to be the root device....
Looks like you are trying to load a snapshot from grub and not the root… ^^
Anyway, def not a urbackup thing.
Fixed it, I’m sorry, my brain is now working today
Can you tell us what you did to fix it ?
Sure!
I’ve used live Ubuntu usb.
In the terminal:
sudo -i
fdisk -l (find your boot partition, mine showed up as /dev/sda5)
mount /dev/sda5 /mnt
mount --bind /dev /mnt/dev
mount --bind /sys /mnt/sys
mount --bind /proc /mnt/proc
chroot /mnt
exit
update-grub
reboot
Thanks, always nice to know how problems were resolved.
Pretty sure you did that in the other order, or you would exit your chroot before you ran update-grub.
Also, you are looking for your root partition with fdisk to chroot into, not your boot. And then mount the boot partition inside your root (wherever that is, that depends on your system)
So your setup (ubuntu) does not have a separate boot I assume (have actually never ran it), because you do not mount it before you chroot in your sollution, maybe that is why you call it “boot”…
Just wanted to make sure the info is correct since a solution was requested.