Linux - NewbieThis 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.
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.
The more I read on the internet the more confused I become. Would someone be so good as to tell me how I would write this mount, (it works fine) into my /etc/fstab
Code:
mount /dev/sdb1 /media/EHD/ -t ntfs -o nls=utf8,umask=0222
I got it from a post on the Internet but nothing about fstab other mounts don't work and what I have put into fstab I get a 'bad line 16'
The more I read on the internet the more confused I become. Would someone be so good as to tell me how I would write this mount, (it works fine) into my /etc/fstab
Code:
mount /dev/sdb1 /media/EHD/ -t ntfs -o nls=utf8,umask=0222
I got it from a post on the Internet but nothing about fstab other mounts don't work and what I have put into fstab I get a 'bad line 16'
Thanks unfortunately it is rejected as a bad line. This is what I find so frustrating about Linux in my case I have the correct mount doing it manually but trying to write it in fstab is another thing. In the last 3 weeks you would not believe the hours I have spent trying to get a simple server operational.
The article on UUID does not seem to apply in my case as I am not using ext3 on my external drive.
- /dev/sdb1 => the device which you want to mount
- /media/EHD/ => the destination where you want your device mounted
- ntfs => the filesystem type of the device you are mounting
- nls=utf8,umask=0222 => option(s) for the filesystem you are mounting
also, this line will work for your other external drives as long as their fs type is 'ntfs'.
- /dev/sdb1 => the device which you want to mount
- /media/EHD/ => the destination where you want your device mounted
- ntfs => the filesystem type of the device you are mounting
- nls=utf8,umask=0222 => option(s) for the filesystem you are mounting
also, this line will work for your other external drives as long as their fs type is 'ntfs'.
Thanks that has helped me. Any chance you could recommend a good Linux book for newbies as books can be as confusing as Internet resources?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.