LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-28-2007, 03:53 PM   #1
mdgross@qwest.net
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Rep: Reputation: 0
wont keep NTFS mount info


I am new to linux, and have FC6 installed. Every time I launch linux, I seem to loose the NTFS mount info and must run following to mount partition. Any ideas why ???

mount /dev/sda2 /media/c_drive -t ntfs-3g -r -o umask=0222
 
Old 04-28-2007, 04:06 PM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
See if there's an entry for it in /etc/fstab.
 
Old 04-28-2007, 04:12 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by mdgross@qwest.net
I seem to loose the NTFS mount info and must run following to mount partition
What do you mean by to lose the mount info? Mounting will not carry over between reboots. For this, look at /etc/fstab.
 
Old 04-28-2007, 10:38 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Try adding this line to /etc/fstab:
Code:
/dev/sda2      /media/c_drive     ntfs-3g     defaults     0 0
Do not copy and paste it from here, type it in and use the "Tab" key between entries.
 
Old 04-29-2007, 12:24 PM   #5
mdgross@qwest.net
LQ Newbie
 
Registered: Apr 2007
Posts: 2

Original Poster
Rep: Reputation: 0
ntfs

Wow, you guys are great! Thanks for the info. My fstab file looks like this, what will the ntfs entry look like?

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-sda5 swap swap defaults 0 0
 
Old 04-29-2007, 10:12 PM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Well
First, if as you suggest, you installed ntfs-3g, you need to add the line I mentioned above. This is a default entry when installing ntfs-3g from source. If you installed ntfs-3g from Fedora repos., you can still use the same format for the entry in fstab, although some may have different options they prefer to have in it.
Because obviously, there is no entry in fstab for your ntfs partition/drive, therefore it will not be automatically mounted at boot up till there is an entry for it here.
One thing I noticed, is that you mount it manually with the -r switch which will only give you read access to it, ntfs-3g gives read/write access, that is why you would choose to install ntfs-3g which is not installed by default in Fedora. If you did not install it and you have the x86_64 Fedora (64bit), you should install ntfs-3g from source from here and install fuse from the link provided also.
If you have Fedora 32bit, set SELinux to "Permissive" if you want to install ntfs-3g from repositories. Installing ntfs-3g from repositories on the 64bit version will produce problems even with SELinux set to permissive or disabled.
 
  


Reply

Tags
ntfs



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
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
FSTAB: My Win Share Wont Mount @ Boot, but will when I sudo mount -a...please help! TruANTOlogy Ubuntu 8 06-20-2006 08:00 AM
One NTFS partition has errors, the other wont mount. dave`2005 Slackware 3 04-06-2006 09:44 AM
ntfs partition wont mount mdkusr Linux - Hardware 2 01-01-2006 02:57 AM
suse 7.2 still wont install.. new info..still trying... AbbyXmix Linux - Software 3 10-07-2001 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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