Formatting usb drive to ntfs
I have new external usb drive which i'm trying to format to NTFS so I can also use in in windows. I've set it up using fdisk
Disk /dev/sdd: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x604a2a7d Device Boot Start End Blocks Id System /dev/sdd1 1 60801 488384001 7 HPFS/NTFS and tried formatting using mkfs -t ntfs /dev/sdd1 however I get the follinwg error Cluster size has been automatically set to 4096 bytes. Initializing device with zeroes: 100% - Done. Creating NTFS volume structures. Error writing to /dev/sdd1: Input/output error. Error writing non-resident attribute value. add_attr_sd failed: Input/output error Couldn't create root directory: Input/output error |
Hi DebianUser, Welcome to LQ. Have you tried mkntfs as well?
Good luck. ;-) |
hi thanks
I've also tried mkfs.ntfs after installing ntfsprogs |
Why not use windows to format it?
Might have gparted in linux already. http://maketecheasier.com/how-to-ref...rdy/2008/09/29 Can I assume you are root? Try ext3 maybe just to see. # mkfs.ext3 |
I've now formatted it windows and now having problems mounting it, first I tried
mount -t ntfs /dev/sdd1 /mnt/windows/ cp test.tar.gz /mnt/windows/ cp: cannot create regular file `/mnt/windows/test.tar.gz': Read-only file system unmounted mount -t ntfs -o nls=utf8,umask=0222 /dev/sdd1 /mnt/windows/ cp test.tar.gz /mnt/windows/ cp: cannot create regular file `/mnt/winddows/test.tar.gz': Read-only file system unmounted apt-get install ntfs-3g mount -t ntfs-3g/dev/sdd1 /mnt/windows/ $MFTMirr does not match $MFT (record 2). Failed to mount '/dev/sdd1': Input/output error NTFS is either inconsistent, or you have hardware faults, or you have a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows TWICE. The usage of the /f parameter is very important! If you have SoftRAID/FakeRAID then first you must activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for the details. fsck /dev/sdd1 fsck 1.41.3 (12-Oct-2008) fsck: fsck.ntfs: not found fsck: Error 2 while executing fsck.ntfs for /dev/sdd1 I have ntfs modules installed ls /lib/modules/2.6.26-2-686/kernel/fs/ | grep ntfs ntfs |
Try ext3
|
All times are GMT -5. The time now is 02:07 AM. |