After resizing /home directory on my Ubuntu 18.04 (used Gparted while booting from LinuxMint-LiveCD my Ubuntu boots exclusively in emergency mode. What can I do to fix it?
I ran lsblk in emergency mode, and saw that:
- my /dev/sda3 (/home) partition was unmounted (its size was changed)
- unallocated space presumably still is considered as part of sda device (because sda size is shown as before 931Gb), but not recognized as /dev/sda4 or anyhow.
After mounting /dev/sda3 to the system I am able to start a normal session, but after reboot it happens again.
What can I do to make my Ubuntu boot normally again?
Content of /etc/fstab:
#
# / was on /dev/sda2 during installation
UUID=d5eb2396-e9df-4a63-84da-d628c915d809 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=3E0D-5C34 /boot/efi vfat utf8,umask=007,gid=46 0 1
# /home was on /dev/sda3 during installation
UUID=f79558ec-8e55-4fa5-81ed-b6c77c87a43b /home ext4 defaults 0 2
/swapfile none swap sw 0 0
I solved the problem in the following manner:
- In the emergency mode, I ran
journalctl -xb | less
and searched for errors.
It appeared that /dev/sda3
couldn't pass control sum check and therefore was refused to be mounted. Fortunately right there was a proposition to run manually fsck /dev/sda3
to fix it.
- I ran
fsck /dev/sda3
and, in a while, it fixed the problem.
Since then I didn't have problems booting into Ubuntu.
No comments:
Post a Comment