FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sun Jan 17, 2021 21:44



Post new topic Reply to topic  [ 3 posts ] 
Help mounting EFI GPT partition 
Author Message

Joined: Mon Aug 25, 2008 00:09
Posts: 2
Post Help mounting EFI GPT partition
Hi, I've recently installed gentoo and ntfs-3g. I've got 2 raid arrays on a hardware card, both formatted NTFS although one is over 2TB and formatted with GUID partition tables by vista. The smaller array (sda) mounts without problems but the GPT array (sdb) fails to mount as indicated below:

# mount /dev/sdb1 /big -t ntfs-3g
Code:
NTFS signature is missing.
Failed to mount '/dev/sdb1': Invalid argument
The device '/dev/sdb1' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?


Attached is an fdisk -l which confirms that the disk is GPT

# fdisk -l
Code:
Disk /dev/sda: 1500.0 GB, 1500084436992 bytes
255 heads, 63 sectors/track, 182374 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x370d74e1

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      182374  1464919123+   7  HPFS/NTFS

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

Disk /dev/sdb: 3000.3 GB, 3000370200576 bytes
256 heads, 63 sectors/track, 363349 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      266306  2147483647+  ee  EFI GPT


How do I mount this with ntfs-3g please? Am I missing something obvious? Do I need to use something in addition to ntfs-3g?

Thanks for your time


Mon Aug 25, 2008 00:17
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post 
Hi,

The answer was included in your 'fdisk -l' output:
Quote:
The util fdisk doesn't support GPT. Use GNU Parted.


So, don't use fdisk but Parted to figure out what your NTFS partition is. Probably it's /dev/sdb2.


Mon Aug 25, 2008 02:47
Profile

Joined: Mon Aug 25, 2008 00:09
Posts: 2
Post 
Thanks, that got me on the right track. First off I used:

#partprobe /sdb

which revealed sdb2 to the OS and ntfs-3g could mount that without issues. I then put together a script that ran in local.start which partprobed then mounted the partition manually.

This was a bit hacky though so I looked into why it wasn't being seen by the OS. GPT wasn't compiled in my kernel! I added that and now sdb2 is available on boot and I can mount in fstab.

Thanks very much!


Mon Aug 25, 2008 19:32
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 5 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.