Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-15-2009, 07:45 AM   #1
LQ Newbie
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
aa1 - How do I edit fstab to automount external ntfs-3g hdd?

AA1 Linux linpus user

I'm trying to find out how my external hdd may open so I can write to it. I have made this file:
with this content:

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<match key="volume.fstype" string="ntfs">
<match key="@block.storage_device:storage.hotpluggable" bool="true">
<merge key="volume.fstype" type="string">ntfs-3g</merge>
<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
<append key="volume.mount.valid_options" type="strlist">locale=</append>
I have also made several mountpoints, and they work, but only when I mount manually. I used this code:
[root@localhost user]# mount -t ntfs-3g /dev/sdb1 /media/"Name of my disk" -o force
I found a tip saying that I could add something like this to my fstab-file
/dev/sdb1 /media/"Name of my disk" ntfs-3g auto 0 0
1. I have installed fuse-convmvfs-0.2.4-4.fc8. Do I need this file? (I have also installed the ntfs-3g file. It seems to work ok)

2. Is the code I want to put in my fstab file the right one? Should I f.ex. write default instead of auto?

3. How do I actually open the fstab file and write to it? I have tried to find the code, but I didn't want to try them, because I have had enough recoveries..... Typical

4. Is there other solutions on this problem?

Old 03-15-2009, 09:52 AM   #2
Senior Member
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,667

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494

your 3 & 4 questions:

3. How do I actually open the fstab file and write to it? I have tried to find the code, but I didn't want to try them, because I have had enough recoveries.....

==> fstab is located at /etc/fstab (you just cd there)
you can write and save your edit on fstab file using your root account: so you have to su or sudo -i first in order to edit the file by issuing command: vi fstab {read man pages first how to use vi editor==> man vi}

4. Is there other solutions on this problem?

==> a) enter command as root at the terminal: fdisk -l and you will see what drives are available in the peripherals

==> b) you should mount them manually, or if you want to auto mount them you must enter the commands within fstab

==> c) to take a peep at how the system handled devices and mountings cat or less these files:

cat /proc/mounts
cat /etc/mtab
cat /proc/partitions
cat /etc/fstab

finally, there is a gold mine of user information in solving basic user challenges in this directory:


hope it helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
1.5 TB external HDD will not automount... IcoNyx Linux - Hardware 10 03-28-2009 02:25 AM
External HDD+Ntfs delta_9 SUSE / openSUSE 2 01-02-2008 11:46 AM
NTFS to FAT32 - External HDD SugarHiccup General 4 03-17-2007 01:39 PM
debian and ntfs external hdd wael_nasreddine Debian 22 03-16-2005 07:22 PM
Unable to edit fstab... problems with ext. usb hdd removal gardyloo Linux - Newbie 1 12-27-2003 06:35 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration