Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to Mount an External Drive with NTFS-3G
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
webhawg
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 287

PostPosted: Fri Jul 19, 2013 3:20 am    Post subject: Unable to Mount an External Drive with NTFS-3G Reply with quote

I've been able to mount NTFS drives in the past using the ntfs3g sys package. For some reason, I've been unable to mount a new drive on my clean installation. I believe that I've configured my kernel correctly and installed the ntfs3g package correctly, but can't figure it out. I've also tried a few forum suggestions.

Here are the error messages that I'm getting...
Code:

Disk /dev/sdc: 1500.3 GB, 1500301909504 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277167 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1b704159

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      409639      204819+  ee  GPT
/dev/sdc2          411648  2930276351  1464932352    7  HPFS/NTFS/exFAT

Code:

~ # mount -t ntfs-3g /dev/sdc1 /mnt/GoFlex1.5TB
NTFS signature is missing.
Failed to mount '/dev/sdc1': Invalid argument
The device '/dev/sdc1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Code:

~ # mount -t ntfs-3g /dev/sdc2 /mnt/GoFlex1.5TB
ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's 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 the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1561
Location: Berlin, Germany

PostPosted: Fri Jul 19, 2013 10:49 am    Post subject: Reply with quote

This looks like a GPT partitioned disk. Don't use fdisk on it, but gptfdisk, cgdisk or parted instead.

Also ensure that your kernel has CONFIG_EFI_PARTITION enabled.
Back to top
View user's profile Send private message
webhawg
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 287

PostPosted: Fri Jul 19, 2013 3:38 pm    Post subject: Reply with quote

chithanh wrote:
This looks like a GPT partitioned disk. Don't use fdisk on it, but gptfdisk, cgdisk or parted instead.

Also ensure that your kernel has CONFIG_EFI_PARTITION enabled.

Thanks for the reply. I haven't heard of cgdisk. Are you saying to use gptfdisk or parted to recreate the partitions and then do "mkfs.ntfs" on the new partition?

I have CONFIG_EFI_PARTITION enabled.
Back to top
View user's profile Send private message
webhawg
Apprentice
Apprentice


Joined: 18 Oct 2002
Posts: 287

PostPosted: Fri Aug 02, 2013 8:25 pm    Post subject: Reply with quote

Seeing if anyone else has advice here...

Should I use gptfdisk or parted to recreate the partitions and then do "mkfs.ntfs" on the new partition?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31359
Location: 56N 3W

PostPosted: Fri Aug 02, 2013 8:41 pm    Post subject: Reply with quote

webhawg,

Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      409639      204819+  ee  GPT
/dev/sdc2          411648  2930276351  1464932352    7  HPFS/NTFS/exFAT


It looks like something horrible has happened here.

The disk appears to have a GPT partition table and the 'protective' MSDOS partition table. Thats the /dev/sdc1.
This should have covered the entire disk, or the first 2TiB, anyway.
This is not the real partition table.

It looks as if the 'protective' MSDOS partition has been shrunk and a second partition added.
Editing the MSDOS partition table in the way is harmless - but making a filesystem on /dev/sdc2 will destroy any GPT partitions that occupy the same space on the drive.

Add GPT support to your kernel and use (g)parted to check for a GPT partition table.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum