LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-15-2010, 12:25 AM   #1
vkmahajan123
LQ Newbie
 
Registered: Jul 2010
Posts: 10

Rep: Reputation: 0
Wink Can i operate NTFS partitions from the linux OS on the same machine....


Hi guyz,

i have a window xp////on the same machine i installed linux mint9.....mostly i am using linux mint9.....i want to operate my NTFS (Window XP) Partitions from linux mint9.....Is this possible ? How ?


Thanx in advance
 
Old 07-15-2010, 12:28 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Yes you can. Just make sure you've installed ntfs-config (although I believe it's probably going to be there by default):
Quote:
apt install ntfs-config
 
1 members found this post helpful.
Old 07-15-2010, 02:40 AM   #3
vkmahajan123
LQ Newbie
 
Registered: Jul 2010
Posts: 10

Original Poster
Rep: Reputation: 0
only with apt-get install ntfs-config.....after installation complete how we can i access the ntfs partition?? shall i use mount option for the same......well if i made a directory in linux and mount the win ntfs....is this possible dear....

Last edited by vkmahajan123; 07-15-2010 at 02:43 AM.
 
Old 07-15-2010, 03:10 AM   #4
vkmahajan123
LQ Newbie
 
Registered: Jul 2010
Posts: 10

Original Poster
Rep: Reputation: 0
is there ny 1 who help me out ???
 
Old 07-15-2010, 09:54 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Yes, you need to mount the partition and if you want it permanent, put an entry in /etc/fstab. To get accurate advice, you need to post your partition information. Log in to a terminal and enter: sudo fdisk -l (Lower case Letter L in the command).

A little patience please, 30 minutes is not a long time to wait on a forum for a response!
 
Old 07-15-2010, 10:30 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I believe LinuxMint can already read/write a NTFS partition.


Follow yancek instruction and provide the partition layout by command "fdisk -l" so that others can advise you how to mount a ntfs partition, assuming you dislike reading books or type "man mount" at the terminal to learn how to mount a partition.
 
Old 07-15-2010, 11:30 AM   #7
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: Ubuntu
Posts: 942

Rep: Reputation: 296Reputation: 296Reputation: 296
Quote:
Originally Posted by vkmahajan123 View Post
i want to operate my NTFS (Window XP) Partitions from linux mint9.....Is this possible ? How ?


Thanx in advance
What exaclty do you mean by this? Do you want to access files on the NTFS partition or are you wanting to run programs on the NTFS partition?
 
Old 07-15-2010, 04:42 PM   #8
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

I'm sorry, I don't have Mint 9 to give you the exact steps. But basically, you need to:

1. Figure out which Linux partition (e.g. "/dev/sda2") corresponds to your NTFS partition

2. Create an entry in /etc/fstab (e.g. "/dev/sda2 /media/natsdisk ntfs-3g defaults,locale=en_US.UTF-8 0 0")

3. Reboot (which will automatically mount), or "mount -a"
 
Old 07-15-2010, 05:13 PM   #9
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
My curiosity finally got hold of me so I booted up a box with LinuxMint 8 installed in partition sda21 as one of the Linux distros inside.

When I click "MY Document" which is LinuxMint's File Manager at the desktop I could see all my Win2k, Xp, Vista and Win7 partitions. By clicking them LinuxMint mounts them immediately to show the contents inside each partition.

Here is my /etc/fstab showing none of ntfs partition has been required to be mounted
Code:
saikee-desktop-Mint8 saikee # cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda13 during installation
/dev/sda21 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
/dev/sda5 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
All I did was to click the 4 ntfs partitions in the "My Document" and here is the proof all of them got mounted by the mouse clicks.
Code:
saikee-desktop-Mint8 saikee # df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda21            15820524   2567716  12449160  18% /
udev                   3095156      1008   3094148   1% /dev
none                   3095156         0   3095156   0% /dev/shm
none                   3095156       280   3094876   1% /var/run
none                   3095156         0   3095156   0% /var/lock
none                   3095156         0   3095156   0% /lib/init/rw
/dev/sda9             56235500   4600024  51635476   9% /media/sda9_Xp-Home
/dev/sda8             56235500  28679792  27555708  51% /media/sda8_Vista-64
/dev/sda6             56235500  27251348  28984152  49% /media/sda6_Win7-64
/dev/sda7             56235500   3573584  52661916   7% /media/sda7_W2k_SP5.1
Here is my partitioning scheme
Code:
saikee-desktop-Mint8 saikee # fdisk -l

Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1e76ce75

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        7001    56235501    c  W95 FAT32 (LBA)
/dev/sda2            7002       14002    56235532+  1c  Hidden W95 FAT32 (LBA)
/dev/sda3           14003       21003    56235532+  b5  Unknown
/dev/sda4           21004      182401  1296429435    5  Extended
/dev/sda5           21004       21204     1614501   82  Linux swap / Solaris
/dev/sda6           21205       28205    56235501    7  HPFS/NTFS
/dev/sda7           28206       35206    56235501    7  HPFS/NTFS
/dev/sda8           35207       42207    56235501    7  HPFS/NTFS
/dev/sda9           42208       49208    56235501    7  HPFS/NTFS
/dev/sda10          49209       56209    56235501    7  HPFS/NTFS
/dev/sda11          56210       59710    28121751   83  Linux
/dev/sda12          59711       63211    28121751   83  Linux
/dev/sda13          63212       66712    28121751   83  Linux
/dev/sda14          66713       70213    28121751   83  Linux
/dev/sda15          70214       73714    28121751   83  Linux
/dev/sda16          73715       77215    28121751   83  Linux
/dev/sda17          77216       80716    28121751   83  Linux
/dev/sda18          80717       84217    28121751   83  Linux
/dev/sda19          84218       87718    28121751   83  Linux
/dev/sda20          87719       91219    28121751   83  Linux
/dev/sda21          91220       93220    16073001   83  Linux
/dev/sda22          93221       95221    16073001   83  Linux
/dev/sda23          95222       97222    16073001   83  Linux
/dev/sda24          97223       99223    16073001   83  Linux
/dev/sda25          99224      101224    16073001   83  Linux
/dev/sda26         101225      103225    16073001   83  Linux
/dev/sda27         103226      105226    16073001   83  Linux
/dev/sda28         105227      107227    16073001   83  Linux
/dev/sda29         107228      109228    16073001   83  Linux
/dev/sda30         109229      111229    16073001   83  Linux
/dev/sda31         111230      112230     8040501   83  Linux
/dev/sda32         112231      113231     8040501   83  Linux
/dev/sda33         113232      114232     8040501   83  Linux
/dev/sda34         114233      115233     8040501   83  Linux
/dev/sda35         115234      116234     8040501   83  Linux
/dev/sda36         116235      117235     8040501   83  Linux
/dev/sda37         117236      118236     8040501   83  Linux
/dev/sda38         118237      119237     8040501   83  Linux
/dev/sda39         119238      120238     8040501   83  Linux
/dev/sda40         120239      121239     8040501   83  Linux
/dev/sda41         121240      122240     8040501   83  Linux
/dev/sda42         122241      123241     8040501   83  Linux
/dev/sda43         123242      124242     8040501   83  Linux
/dev/sda44         124243      125243     8040501   83  Linux
/dev/sda45         125244      126244     8040501   83  Linux
/dev/sda46         126245      127245     8040501   83  Linux
/dev/sda47         127246      128246     8040501   83  Linux
/dev/sda48         128247      129247     8040501   83  Linux
/dev/sda49         129248      130248     8040501   83  Linux
/dev/sda50         130249      131249     8040501   83  Linux
/dev/sda51         131250      132250     8040501   83  Linux
/dev/sda52         132251      133251     8040501   83  Linux
/dev/sda53         133252      134252     8040501   83  Linux
/dev/sda54         134253      135253     8040501   83  Linux
/dev/sda55         135254      136254     8040501   83  Linux
/dev/sda56         136255      137255     8040501   83  Linux
/dev/sda57         137256      138256     8040501   83  Linux
/dev/sda58         138257      139257     8040501   83  Linux
/dev/sda59         139258      140258     8040501   83  Linux
/dev/sda60         140259      141259     8040501   83  Linux

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf3c50f18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      243202  1953514583+  ee  GPT
Conclusion : To operate any ntfs partition in LinuxMint is just to use the mouse to click that partition in the File Manager!

As far as I could tell most Linux will mount a partition if we just click it in a desktop. Right clicking it again would open the option to unmount it.

Last edited by saikee; 07-15-2010 at 05:22 PM.
 
1 members found this post helpful.
Old 07-15-2010, 06:10 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Mint 9 has ntfs3g. You mount the drive with read write. You don't need to apt get anything.


If you want you can also use your partition as a virtual drive and have both booted at the same time.
 
  


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
How can i make NTFS partitions work on linux? maciuka Mandriva 4 04-04-2007 06:11 PM
Mounting ntfs partitions under redhat linux 9 zafar_dandoti Linux - Networking 1 12-20-2005 06:36 AM
Linux resize NTFS partitions unfun72 Linux - Distributions 6 06-27-2005 05:19 PM
Can Linux write to NTFS windows partitions? Stevetgn Linux - General 12 02-04-2004 05:00 AM
Linux can read NTFS partitions...how? Quew Linux - Newbie 4 12-28-2003 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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