LinuxQuestions.org
Visit Jeremy's Blog.
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 12-15-2008, 12:51 AM   #1
matrix13
Member
 
Registered: Nov 2006
Location: Kerala, India
Distribution: Arch Linux
Posts: 134

Rep: Reputation: 25
mounting by force. is it harmful?


I am using Ubuntu 8.04.
I tried to mount the ntfs partition of Windows. But, couldnt work. I used ntfs-3g also.
Then I read in the man page about mounting by force. I added this line on /etc/fstab. And it worked.

Quote:
$ mount -t ntfs-3g /dev/sda2 /media/Windata -o force
Now, I have a doubt. Will this mounting method harm my windows partition?

Another query. Where is the good mount point. /mnt or /media.
 
Old 12-15-2008, 01:16 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I usually make a directory called /data, easier to navigate to via command line. Usually you need to force mount ntfs when it was unmounted uncleanly either from Windows or Linux, many times all you have to do is restart Windows so it can clear the offending message in the journal.
Using force all the time in my opinion would not be wise if there is a more serious issue with the current state of the file system where it needs to checked. My Mac OS X has forced Windows to check em' on a few occasions.
I haven't booted into Ubuntu in a little and can't remember how mine is set up, but usually put:
Code:
/dev/sda2     /media/Windata   ntfs-3g defaults    0    0
 
Old 12-15-2008, 07:59 PM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Here is my fstab that was set up by Ubuntu 7:
Code:
# /etc/fstab: static file system information.
#
#  -- This file has been automaticly generated by ntfs-config -- 
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

proc /proc proc defaults 0 0
# Entry for /dev/sdb1 :
UUID=bfaaca5f-74c5-44a4-a941-cc24604f6370 / reiserfs notail 0 1
# Entry for /dev/sdb3 :
UUID=9C587CAA587C8534 /media/sda3 ntfs-3g defaults,locale=en_CA.UTF-8 0 1
# Entry for /dev/ !! UNKNOW DEVICE !! :
UUID=d4f2b367-03db-4161-ac1f-84fd890aa583 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/sdc1 /media/large1 ntfs-3g defaults,locale=en_CA.UTF-8 0 0
 
  


Reply

Tags
ubuntu


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
ifdef is harmful - but simple workaround is not working amitbern Programming 9 12-07-2008 04:34 PM
".bin" files harmful? Tux-O-Matic Linux - Desktop 5 09-22-2006 06:28 AM
Is this harmful ?? Wynand1 Linux - Wireless Networking 3 09-03-2005 08:55 AM
hot swap SCSI SCA bus transients harmful to non SCA drives? bdp Linux - Hardware 4 01-29-2004 01:47 AM
Is bittorrent harmful to harddisk gexiaofei Linux - General 5 09-06-2003 04:53 PM

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

All times are GMT -5. The time now is 02:44 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