LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can i operate NTFS partitions from the linux OS on the same machine.... (https://www.linuxquestions.org/questions/linux-newbie-8/can-i-operate-ntfs-partitions-from-the-linux-os-on-the-same-machine-819899/)

vkmahajan123 07-15-2010 12:25 AM

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

paulsm4 07-15-2010 12:28 AM

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

vkmahajan123 07-15-2010 02:40 AM

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....

vkmahajan123 07-15-2010 03:10 AM

is there ny 1 who help me out ???

yancek 07-15-2010 09:54 AM

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!

saikee 07-15-2010 10:30 AM

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.

jkirchner 07-15-2010 11:30 AM

Quote:

Originally Posted by vkmahajan123 (Post 4033548)
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?

paulsm4 07-15-2010 04:42 PM

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"

saikee 07-15-2010 05:13 PM

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.

jefro 07-15-2010 06:10 PM

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.


All times are GMT -5. The time now is 02:26 AM.