LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-29-2004, 04:33 PM   #1
karaite
LQ Newbie
 
Registered: Oct 2004
Distribution: SuSe 9.1
Posts: 18

Rep: Reputation: 0
How do you mount an NTFS partition?


How do you mount an NTFS partition? Thanks.
 
Old 10-29-2004, 05:55 PM   #2
kshaffer
Member
 
Registered: May 2004
Location: Chicago, IL
Distribution: SuSE Linux Professional 9.1
Posts: 50

Rep: Reputation: 15
Can you actually not mount the NTFS partition, or is it just that you can't find it?

When I installed SuSE 9.0 and 9.1, it was set by default to mount the NTFS partition at startup. To open it, you go to /windows/C (or D, or whatever). In 9.1, open "my computer" on the desktop, and you should see all your disk drives and your windows partitions.

If it's just not mounting on startup, you can probably adjust that in YaST, but then I'm out of my element. Perhaps someone else will have that solution. Hope this is helpful.

Kris
 
Old 10-29-2004, 05:57 PM   #3
jnettles
LQ Newbie
 
Registered: Oct 2004
Distribution: SuSE 9.1
Posts: 1

Rep: Reputation: 0
> How do you mount an NTFS partition?

Use the mount utility, just as you would for any other partition. man mount will help get you started. NTFS is a really uh, INTERESTING file system, so be sure and mount it as read-only (-or) to avoid data corruption on the NTFS volume. Make a FAT32 partition to move stuff back and forth between Windows and SuSE (Partition Magic can help here).

Now, to answer your question:

mount -t ntfs -or /dev/[drive and partition] [place to mount it to, i.e. /mnt/windows]

On my dual-boot laptop, /dev/hda is the Windows drive and /dev/hdb is the SuSE drive. I also have a /mnt/windows directory created to use as a mount point (it has to exist before you can mount to it), so my mount command line is:

mount -t ntfs -or /dev/hda1 /mnt/windows

This translates to:
-t ntfs file system is of type NTFS
-or Options: Read-only
/dev/hda1 partition to mount is /dev/hda (1st hard disk in system), partition #1
/mnt/windows mount it to /mnt/windows

I can now access my NTFS drive like this (use a backslash in front of spaces):

ls /mnt/windows/Program\ Files/

Remember, Linux is case-sensitive!

HTH, and enjoy!
john
 
Old 10-31-2004, 04:09 PM   #4
karaite
LQ Newbie
 
Registered: Oct 2004
Distribution: SuSe 9.1
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by kshaffer
Can you actually not mount the NTFS partition, or is it just that you can't find it?

When I installed SuSE 9.0 and 9.1, it was set by default to mount the NTFS partition at startup. To open it, you go to /windows/C (or D, or whatever). In 9.1, open "my computer" on the desktop, and you should see all your disk drives and your windows partitions.

If it's just not mounting on startup, you can probably adjust that in YaST, but then I'm out of my element. Perhaps someone else will have that solution. Hope this is helpful.

Kris
Yeah... it's not mounting, and I don't know how to have it do it.
 
Old 10-31-2004, 04:12 PM   #5
karaite
LQ Newbie
 
Registered: Oct 2004
Distribution: SuSe 9.1
Posts: 18

Original Poster
Rep: Reputation: 0
Ok, so i get in the console, and type in
Quote:
mount -t ntfs -or /dev/hda1 /mnt/windows
and make sure the windows directory exists within the mnt directory, and it will load the NTFS drive and do so automatically from now on? Or do I have to do it manually every time?
 
Old 11-01-2004, 01:18 PM   #6
pradeepmenon777
Member
 
Registered: Jan 2004
Location: India
Distribution: Android 9.0.6
Posts: 123

Rep: Reputation: 16
doing this will only mount your drive for the login session only. for permanent booting you need to do this
1> enter the file /etc/fstab
2> give the following lines in there and then you are done
/dev/hda1 /mnt/windows ntfs auto,umask= 0 0 0

this is written with respect to the example about and the drive name will depend on your hard drive partition. nothing more can i contribute, so stopping it. hope this will help you out
 
  


Reply


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
mount ntfs partition alaios Linux - General 2 09-09-2005 11:35 AM
How can I mount a NTFS partition? LegendBreath Fedora 1 06-05-2005 12:02 PM
HOW-TO mount NTFS partition? xperts Linux - Newbie 5 02-03-2004 02:21 PM
cannot mount partition (says it's NTFS but it's not!) d33pdream Linux - General 5 02-22-2003 10:46 PM
Mount an NTFS Partition? oostevo Linux - General 3 11-23-2001 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 08:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration