Possible result would be hang your booting at a black screen.
Fix would be restoring the fstab file. Unfortuanatly if you don’t have a back up file have to recreate the file manually.
You
should be able to go to recovery mode by pressing esc button till boot
option menu appears.
Then select advance options and then select
recovery mode.
Then should see a white ui window.
Select Update grub bootloader to to get read write access to file system. Then select drop to root shell prompt.
Now sudo blkid file get partition info
sudo blkid
/dev/sda1: UUID="78985254-78ae-45b3-923d-804c7d56a7dc" TYPE="ext4" PARTUUID="ab55e511-01"/dev/sda2: UUID="a30e14b5-0203-4ef3-a135-2dad9c26c309" TYPE="swap" PARTUUID="ab55e511-02"
/dev/sda3: UUID="377ce2fa-29c3-46d2-87da-88ff55502d66" TYPE="ext4" PARTUUID="ab55e511-03"
Since copy
paste is not possible you will have to manual enter uuid s. better take a
photo of those blkid... info and insert them to fstab file as following. Now crete fstab file with those info. since i am having two partitions above info is shown. sda1 is considered as root folder. sda3 becomes the home as the way i have configured it.
update the fstab file as following.
UUID=78985254-78ae-45b3-923d-804c7d56a7dc / ext4 errors=remount-ro 0 1 UUID=a30e14b5-0203-4ef3-a135-2dad9c26c309 none swap sw 0 0 UUID=377ce2fa-29c3-46d2-87da-88ff55502d66 /home ext4 defaults 0 2
Comments
Post a Comment