N/APosted on - 04/10/2014
I have a new Linux for two days and today for the first time this error appeared on my desktop after the startup finished to load. Is my first Linux and I am lost with this error. Please experts help me to fix this!
Why I have this error and is a system error or a user error?
Unable to mount Marcos Lai
Error mounting mount exited with exit code 1: helper failed mount: wrong fs type. bad option, bad superbiock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful Info is found in syslog -try dmesg tail or so
Error mounting mount exited with exit code 1
In Linux, you might encounter an issue where your drive can’t be mounted maybe during startup. This is mostly caused by file system failures. There are several reasons why this happens. Some may be caused by faulty utilities or device driver which sometimes happens when you are using third-party utilities. Another possible reason is a sudden power outage which can really damage the data in your hard drive.
And when a file system failure happens, you can experience stuffs like the system suddenly freezes, the file system doesn’t mount, and sometimes even if you managed to mount the file system you may notice some odd behavior. When a file system failure happens, it can be fixed most of the time when you use the command “fsck” or the front end to ext2/ext3 utility.
If your drive didn’t mount, run the following command in the terminal:
But if the drive was successfully mounted, you need to unmount it first by running the following command:
Where “-f” will do force checking in the file system even if it’s clean. “/dev/sda3” represents the partition. You can also run any of the following commands to check for alternative-superblock locations:
mke2fs -n /dev/sda3
dumpe2fs /dev/sda3|grep -i superblock
You can repair a file system using alternative-superblock by running the following command:
e2fsck -f -b 8193 /dev/sda3
But as recommended, you should create a backup first before doing any repairs on your file system. Run the following command to create a backup:
dd if=/dev/sda2 of=/disk2/backup-sda2.img
But make sure you have enough space before creating the backup.