Error mounting mount exited with exit code 1

Asked By 60 points N/A Posted on -
qa-featured

Hi there,

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?

Thanks!

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

SHARE
Answered By 562900 points N/A #172278

Error mounting mount exited with exit code 1

qa-featured

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:

  • e2fsck

But if the drive was successfully mounted, you need to unmount it first by running the following command:

  • e2fsck -f /dev/sda3

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.

Login/Register to Answer

Related Questions