Linux How To: Need guide to Mount NTFS on SuSE 11.1

Status
Not open for further replies.

b00gieMan

Explorer
Calling all linux users!! Dark Star, prakashan, vishalrao, etc.

Guys need a simple english word guide on how to mount NTFS partitions on SuSE 11.1. ofcourse its Internal HDD.

I know there is a way to edit and add the line in the fstab file.. but need a simple language guide on how to and how to edit fstab?

Thanks in advance.
 
1.mkdir /mnt/windows-ntfs

2. sudo kedit(or gedit) /etc/fstab

3. Add these lines to your fstab- /dev/sdaX /mnt/windows-ntfs ntfs-3g defaults 0 0

4. How to find X for sdaX in step 3. Use this

sudo fdisk -l.

5. O/p similar to

/dev/sda1 1 3259 26177886 7 HPFS/NTFS

(Note HPFS/NTFS is the key here.)

6. sda1(here X=1), your may be something different. See 4 and 5 how to get X for sdaX.

7. save and close.

Either reboot OR

To mount manually without reboot after editing fstab,

do , sudo mount -a

I hope this helps you somehow.
 
You can do that by installing ntfs-config , but you have the power of yast so there must be a drive manager and mount option..

If you want the hard way is like this

Mounting hard drive permanently is like this..

Open Terminal and type

Code:
blkid
Note only root can do that.

You will get something like this

Code:
/dev/sda1: UUID="725CA9255CA8E557" TYPE="ntfs"

/dev/sda2: UUID="a12c7c6c-3fd9-40ce-a4c9-16d1a3e8718e" TYPE="ext4"

/dev/sda3: UUID="dc6c0eaa-9e46-49c9-9df8-18fb4ec6c64f" TYPE="ext4"

/dev/sda5: UUID="c8a4b656-7c7d-4201-905c-9cd33df440b1" TYPE="ext4" LABEL="/home"

/dev/sda6: UUID="8720385a-12a3-439f-af44-a4c5be6d14bc" TYPE="xfs"

/dev/sda7: UUID="e5145b84-c13c-4937-9da8-c9b54be2cce1" TYPE="xfs"

/dev/sda8: UUID="3caa2240-d193-410c-971b-928fc639e26c" TYPE="xfs"

/dev/sda9: TYPE="swap" UUID="23136821-16e7-47cf-935d-b42fe46d91e3"
The only thing imp. is /dev/sda X or hda X incase of sata and ide respectively. and UUID for locating the partition..

Open /etc/fstab

Code:
 gedit /etc/fstab

KDE : kwrite /etc/fstab
arrange your entry like this

Code:
For NTFS arrange in this fashion

[code]

# Entry for /dev/sda1 :

UUID=725CA9255CA8E557 /media/hd4 ntfs-3g defaults,umask=000 0 0
/media/hd1 can be /media/Docs or whatever you like. Note the new linux depends on /media for partitions mounting instead of /mnt that was used earlier..All the KDE and Gnome fetches mount point from /media/ now so mount it at /media

General way of arranging

UUID=<code generated from blkid> <mount point> ntfs-3g defaults,umask=000 0

Make sure you have ntfs-3g installed , opensuse now comes with new license thus no proprietary code in the DVD> :)

Now make the directories for the partitions

Code:
 sudo su root or su-

mkdir /media/hd6
replace hd6 with what you have done in fstab

Code:
 mount -a

This will mount the partitions :)

Hope this helps :)
 
^^Bad command ? :S You have to do that as root

Code:
su -

kwrite /etc/fstab

Which desktop environment you are using ?

Why don't you give YAST a try. That can help. Before you go on forward make sure you have installed ntfs-3g :
 
well my default 2 drives: 1 x Swap and 1 x ext3 for linux installation as follows:

/dev/disk/by-id/ata-SAMSUNG_SV0602H_0451J1FW118011-part1 swap swap defaults 0 0

/dev/disk/by-id/ata-SAMSUNG_SV0602H_0451J1FW118011-part2 / ext3 acl,user_xattr 1 1

EDIT: Once again, am using Open SuSE 11.1 and its 64bit Desktop Edition.

Now, the format you've give is different in here.. so do i need to change anything?
 
Sorry, that wasnt for your msg.. it was for the previous one as the command was wrong.

Anyways, i know YaST but what exactly u want me to do with YaST? just know the HDD name and all ?
Dark Star said:
^^Bad command ? :S You have to do that as root

Code:
su -
kwrite /etc/fstab

Which desktop environment you are using ?

Why don't you give YAST a try. That can help. Before you go on forward make sure you have installed ntfs-3g :
 
^^ I know those are not for NTFS and i need to add new for NTFS ... okay w8 here u go with my out off the command:

Disk /dev/sda: 60.0 GB, 60060155904 bytes

255 heads, 63 sectors/track, 7301 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Disk identifier: 0x0006ea71

Device Boot Start End Blocks Id System

/dev/sda1 2 262 2096482+ 82 Linux swap / Solaris

/dev/sda2 * 263 2871 20956792+ 83 Linux

/dev/sda3 2872 7302 35589120 7 HPFS/NTFS ===========> (This is what i wana mount)

Its a single 60gb HDD IDE. From that 2gb is SWAP and 20gb is OS SuSE, rest 35gb is New Volume (NTFS) which i want to mount.
 
Status
Not open for further replies.