Monday, August 1, 2011

Tip: Solving the problem of automatic mounting of USB drives in Debian Squeeze


Good day dear readers, once again, after another little absence, I take this space to share with you a little tip that is really useful for users of Debian Squeeze.

Turns out, though Debian Squeeze is a distribution very solid, stable and interesting, I had problems mounting USB drives, an error quite sensible, but browsing the net I was lucky to find a solution to the problem.

When we try to automatically mount a USB drive in Debian Squeeze we get the following error message:


When you run the command that tells us the error message on a terminal we get:


An unsatisfactory answer, however, we are lucky because we pragmart recommended the following steps to solve this problem:

1) Open a terminal (Menu>Accessories>Terminal) and we log in as root, by typing:
su
We asked our root password, the digits and go to the next step.

2) Edit the text file /etc/fstab ,To do this in the terminal write the following:
gedit /etc/fstab
Note:We can also use nano, vim, kedit or any text editor according to preference.

By doing so, opens a text file as follows:


3) Locate the line that causes the problem and delete the text file, in my case:

/dev/sdb1       /media/cdrom0   udf,iso9660 user,noauto     0       0
Note: To choose the error line should look good in the error message, I showed at the beginning, in my case read: "….. bad superblock on /dev/sdb1" As you get it in this message, choose the line that you must delete the text file fstab


After clearing the error line, the file is as follows:


Save the changes, close the gedit and ready, from now we will have no problem with automatic mounting of our USB drives:


Thank you very much for your attention, dear readers see you later.
If this article was useful and you want to help us to grow Subscribing to our feed or Click "Like" in our Facebook page ,or follow us via Twitter or subscribing to our feed.

People who read this post also read :



0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More