You can only reliably use an NTFS partition in read-only mode in Linux. The NTFS file system driver is being actively developed but the web page says that it still needs more work.
If the external disk is empty then you can reformat the partition and create a file system that Linux can use, such as ext2, Reiserfs, XFS, or something like that. Some Linux distributions such as Novell SuSE come with GUI tools that make this easy. On the other hand it is also easy to do by hand, especially if you aleady know how to do it in MS-DOS or in a Windows command line window. Here are the basic steps.
1) Make sure that the partition(s) on the disk is/are not mounted anywhere.
2) Use fdisk to see how Linux has mapped the disk to a node in the /dev directory.
3) Use cfdisk, yes cfdisk, to recreate the partition table on the disk. Use the information from the fdisk -l to select the disk when you run cfdisk. For example if fdisk -l showed you that your external disk is mapped to /dev/sda then you would invoke cfdisk as follows.
Code:
/sbin/cfdisk /dev/sda
4) Delete the existing partition. Create a new partition. Make it type 83. Write the partition table to disk. Exit cfdisk.
5) Now back at the command prompt run fdisk -l again. It should show your external disk with a partition of type 83.
Quote:
/sbin/fdisk -l
Disk /dev/hda: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 18725 9437368+ 83 Linux
/dev/hda2 18726 20806 1048824 82 Linux swap / Solaris
/dev/hda3 20807 158816 69557040 83 Linux
|
6) Now you can create a file system in this disk partition. Let's say that your disk partition is at /dev/sda1 and that you want to create a Reiserfs file system.
Code:
/sbin/mkfs -t reiserfs /dev/sda1
7) Now you can mount your partition. Let's say that you want to mount it to the already existing directory at /mnt/tmp.
Code:
/bin/mount -o sync,nosuid /dev/sda1 /mnt/tmp
8) If you have automounting enabled then you will want to edit your /etc/fstab file to allow this disk partition to be automatically mounted whenever you plug it into the computer. Add the following line in your /etc/fstab file.
Code:
/dev/sda1 /mnt/tmp reiserfs auto,nosuid,sync 0 0
That should do it. Now you have a disk that Linux can use.