Kodi Community Forum

Full Version: [live] 3TB GPT partition
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi.
I installed in usb key Live(freak) version and added a 3TB HD GPT NTFS formatted.
After installed nfs and writing:
sudo fdisk -l

the report is this:

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


Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
121 heads, 34 sectors/track, 1424534 cylinders
Units = cylinders of 4114 * 512 = 2106368 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x1b152fab

Device Boot Start End Blocks Id System
/dev/sda1 1 1043988 2147482623 ee GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdb: 4009 MB, 4009754624 bytes
124 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7688 * 512 = 3936256 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e9648

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 960 3685376 83 Linux
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(0, 32, 33) logical=(0, 33, 3)
Partition 1 has different physical/logical endings:
phys=(458, 238, 36) logical=(959, 0, 8)
Partition 1 does not end on cylinder boundary.
/dev/sdb2 960 1019 227329 5 Extended
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(459, 16, 4) logical=(959, 33, 9)
Partition 2 has different physical/logical endings:
phys=(487, 92, 53) logical=(1018, 50, 20)
Partition 2 does not end on cylinder boundary.
/dev/sdb5 960 1019 227328 82 Linux swap / Solaris


So GPT is NOT supported.

How to solve?

Thanks
Just like it says:

GPT is not supported by *fdisk*. It is supported by kernel (so you can use any filesystem on such disk) and GNU parted (so you must use parted to view and edit GPT partition, not fdisk).
Sorry but I do not undersatan how to use parted.
I have already partitione de HD and formatted into NTFS.
NTFS is not supported (or yes?).
If I understood well, I have simply to install samba.
I can't add source to XBMC beacouse the HD is not shown.
You can download GParted and run it off a USB drive or a CD here. What the error is telling you, like lu_tze said was that fdisk doesn't support GPT so you should use GParted instead.

With GParted you should be able to do anything you want to with the HDD such as resizing, creating new partitions etc.

What exactly do you want to do with the HDD? Samba is only really used for interacting with Windows clients on a network. If the HDD is installed on the same machine you won't need samba.
Thanks.
I have to mount the HD.
With nfs I check the device name:
sudo fdisk -l

After I edit fstab
sudo cp /etc/fstab /etc/fstab.orig
sudo nano /etc/fstab
adding:
/dev/sda1 /media/Film ntfs-3g defaults,locale=en_US.utf8 0 0

And create the dir:
sudo mkdir /media/Film

Ho I mount with gparted?
Quote:Ho I mount with gparted?

How mount with fdisk?

You already know the device name...so why dont you mount it?
If I'm asking is because I don't know if I have to put the same line in fstab. I don't know if is the same or a different command line.
According to your own text you use fdisk to find the device name and then you mount in fstab. Since you already know the device name what exactly is the problem?
Okay, before you add an entry to fstab, have you tried mounting it manually first?

Code:
mount -t ntfs /dev/sda1 /media/Film

If that doesn't work, adding a line in fstab won't either...
I'm asking if the command line for mounting is the same or not. I don't want to risk any data lost!
Thanks
fasteddy Wrote:Okay, before you add an entry to fstab, have you tried mounting it manually first?

Code:
mount -t ntfs /dev/sda1 /media/Film

If that doesn't work, adding a line in fstab won't either...

Ok. Maybe this is what I search. I'll try when I come back. If is ok do I need to add in fstab?
This will only mount for the current session - when you reboot, it won't be mounted. What I'm suggesting is that before you go crazy editing fstab and rebooting all the time, get it mounted manually first. Troubleshoot from there before editing fstab.

[edit: Oh, you may also need a "sudo" before the mount command.]
The device is NOT mounted: the error message is this:

xbmc@XBMCLive:~$ sudo mount -t ntfs /dev/sda1 /media/Film
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' 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?
xbmc@XBMCLive:~$

I tryed also with /dev/sda

I formatted the 3TB HD with windows 7.
Maybe I have to use the PCI express card in bundle with the HD? Maybe not because the HD is recognized by the motherboard.
Maybe if I format all is OK. How I format the HD?
GParted is really useful for formatting a drive.
Pages: 1 2