Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-24-2012, 12:51 AM
|
#1
|
LQ Newbie
Registered: Jun 2012
Location: Bangkok
Distribution: Linux Mint 13 Mate
Posts: 22
Rep:
|
An Error Occured While Mounting
I am a newbie. I installed a new hdd (I think it's sdb1) and attempted to mount it using Storage Device Manager. I went off on a little adventure trying to get things mounted properly and changed some mount points I shouldn't have.
Now, when I reboot I get the error: "An error occured while mounting /media/File Press S to skip mounting or M for manual recovery". I think I may have created media/file as an incorrect mount point.
The following is now on my pc:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
#Entry for /dev/sda6 :
UUID=07bd9cee-a261-44ae-96bf-41662cd675dc / ext4 errors=remount-ro 0 1
#Entry for /dev/sda5 :
UUID=88C8DA0DC8D9F980 /media/data ntfs-3g defaults,locale=en_US.UTF-8 0 0
#Entry for /dev/sda1 :
UUID=AA7434A2743472E5 /media/File System ntfs-3g defaults,locale=en_US.UTF-8 0 0
#Entry for /dev/sda7 :
UUID=30694711-0914-48eb-ae93-14792c377281 none swap sw 0 0
/dev/sdb1 / ntfs defaults 0 0
~
"/etc/fstab" 16 lines, 827 characters
I have output from sudo bash boot_info_script.sh which I ran when I first set up linux if that's any help.
Any assistance would be appreciated. Thanks.
|
|
|
06-24-2012, 02:48 AM
|
#2
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,960
|
this is the last line:
/dev/sdb1 / ntfs defaults 0 0
You wrote sdb is your new drive, you cannot mount it to /.
|
|
|
06-24-2012, 07:36 AM
|
#3
|
LQ Newbie
Registered: Jun 2012
Location: Bangkok
Distribution: Linux Mint 13 Mate
Posts: 22
Original Poster
Rep:
|
I think I changed /dev/sda1 mount point to something incorrect. What should the mount point be for this? Also, I guess I can change the mount point for /dev/sdb1 (I assume this is my new hdd) to anything I want?
I have output from sudo bash boot_info_script.sh which I ran when I first set up linux if that's any help.
Thanks.
|
|
|
06-24-2012, 08:07 AM
|
#4
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,960
|
actually / is the root filesystem, you cannot mount your new drive as your root filesystem. I suggest you to find a convenient directory, for example /photos or /mydatafolder or /mymedia/music. You must take care about any configured automounter (so probably /media/music will not work if /media was used by automounter).
|
|
|
06-24-2012, 09:30 PM
|
#5
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,620
|
This is the best tutorial I have found on fstab. I recommend it highly.
http://www.tuxfiles.org/linuxhelp/fstab.html
|
|
|
06-25-2012, 12:05 PM
|
#6
|
LQ Newbie
Registered: Jun 2012
Location: Bangkok
Distribution: Linux Mint 13 Mate
Posts: 22
Original Poster
Rep:
|
Thanks for the information about the fstab tutorial. I'm a newbie but I think I may have made some progress. I looked at the setup when I first set up linux. According to blkid output, my primary hard drive was /dev/sda. After I installed the second hard drive my fdisk -l shows my primary hard drive (The one linux mint boots from) as /dev/sdb. However the current fstab shows my primary hard drive as being /dev/sda. Apparently I made some incorrect moint points because of this mix up and using storage device manager didn't help things much.
Anyway, I think the solution is to edit fstab and use the UUID. I may be way off base here. Can anybody concur?
|
|
|
06-25-2012, 12:35 PM
|
#7
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,960
|
yes, uuid should work
|
|
|
06-26-2012, 02:05 PM
|
#8
|
LQ Newbie
Registered: Jun 2012
Location: Bangkok
Distribution: Linux Mint 13 Mate
Posts: 22
Original Poster
Rep:
|
I created a new mount point, mounted sdb1 and changed fstab to reflect the change. that solved it. Thanks.
|
|
|
07-01-2012, 04:18 AM
|
#9
|
LQ Newbie
Registered: Jul 2012
Posts: 1
Rep:
|
Hi everybody,a got a same problem....
Whet i install Linux Ubuntu,I added my backup hard drive,but a can't read NTFS partition....
Then I installed NTFS Configuration Tool,for this,i don'n now whats gona happen,but every boothing I got "An error occured while mounting/media/sdb...?
How to fix this problem?....Thanks
|
|
|
All times are GMT -5. The time now is 05:06 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|