SSD won't mount
I recently created a post thinking I had blown up my bootloader but I've actually narrowed the problem down to the SSD on which my home directory is mounted. The reason my computer has not been booting is because my system is not mounting my home directory's SSD. This started after I opened my box and installed a new SSD which is now unplugged and not being used. Every since I opened my box my computer wouldn't boot again. I edited /etc/fstab while booted in a live USB and commented out the line telling my computer to auto mount the SSD drive to /home/user/. After that my computer has booted up just fine, except that I'm given a generic home directory without all of my files.
When I try to mount the drive manually this is what I get. Code:
user@mothership ~ $ sudo mount /dev/sdd1 /home/user/ And when I plug the device into my fron USB ports this is what I get Code:
Error mounting /dev/sdd at /media/user/86e3838b-7c18-4870-8a7b-684255629264: Command-line `mount -t "ext4" -o "uhelper=udisks2,nodev,nosuid" "/dev/sdd" "/media/user/86e3838b-7c18-4870-8a7b-684255629264"' exited with non-zero exit status 32: mount: wrong fs type, bad option, bad superblock on /dev/sdd, |
Could you run a sudo fdisk -l with the SSD attached and post the output for that device here?
|
Quote:
Posting the contents of your /etc/fstab might help too. |
fdisk -l output
Quote:
Code:
user@mothership ~ $ sudo fsck -l /dev/sdd |
fstab
Quote:
Code:
# <file system> <mount point> <type> <options> <dump> <pass> |
Your SSD filesystem appears to be corrupted. Not only that but the disk appears to not have any partition info (unless you cut that info off the end). Was the connection to the new SSD solid? Did anything happen to your knowledge that could have caused this?
Do you have any backups of your home directory from which you can restore? If so, you need to repartition your SSD and create a fresh filesystem in that partition, before restoring your home directory to it. If not, and your data is important to you, you're going to have to use forensic techniques to try and get as much of the data back off your SSD as possible, after cloning it to another device so that you can revert to that if those recovery techniques cause further damage. In any case, you need to check the health of the SSD. |
recovering my data
Quote:
Any idea one how I could go about recovering this data? I've already googled data recovery commercial options but I'm betting they're going to be really expensive. Thanks. |
Quote:
Quote:
|
If you have an entry in /etc/fstab that uses the option "auto" the drive must be attached during boot or the system won't boot. If you comment out the entry in /etc/fstab, the system should boot with or without the SSD attached.
So, the entry for /home in /etc/fstab is probably incorrect (wrong UUID perhaps). Also, SSDs are usually used for system data, because that's where the increased speed is useful, and because system data changes less than user data, so the SSD doesn't get written to as much. You have made the SSD for your user data, which is perplexing. |
Cloning a corrupt drive
Quote:
|
fstab
Quote:
I've never heard of someone only using SSD for system files, as prices have been coming down on SSD I thought it was pretty common place for people to use them more and more altogether. I would think they are safer because are less susceptible to errors caused by movement and vibrations, don't wear out due to constant spinning, and are less power hunger. |
Quote:
You can use, for example, ddrescue or an offline GUI program such as CloneZilla or Macrium Reflect. |
All times are GMT -5. The time now is 05:00 AM. |