Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 714

How to restore a partition after messing up fstab?

$
0
0

My laptop would not boot

integrity: problem loading x.509 certificate -65

I looked up on the internet and found out that my hard disk could be broken. After testing it with a live flash drive it seemed to be working so I tried to reinstall Ubuntu only formatting the OS partition so I could keep my files.

Went fine, at this point I had this partition sda1 where I had my stuff. I was using mount --bind /username /home/username to mount and bind sda1 with the home directory. Because it would not remain like that after a reboot I looked for something to make it permanent.I added the following to the fstab and rebooted.

UUID=288a84bf-876c-4c4b-a4ba-d6b4cc6fc0d2  /mnt/device            ext4    defaults,noatime,nofail   0       2/mnt/device                                /srv/binded_device     none    bind                      0       0 

What happened is that it would fail after the login so I was stuck in a loop where I could not get past the login screen. I managed to edit the fstab again, comment the new lines and reboot. After rebooting again I opened the Disk app and saw that the files I kept (sda1, that partition I tried to mount) is now titled as unknown not sda1. By this I mean that I could not mount it neither from Disk neither from Files->Other Locations.


Viewing all articles
Browse latest Browse all 714

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>