Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Anyone help me, why the error getting when excuting the fdisk -l command in linux.

# fdisk -l /dev/sdb 

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
share|improve this question
add comment

2 Answers 2

up vote 4 down vote accepted

The real limitation is that the fdisk tool in the util-linux package doesn't support GPT-type partition tables, which you can find on any disk. However, they're commonly found on disks greater than 2 GiB, because the old MBR-type partition tables don't support sizes that large.

The easiest fix is, as the error suggested, to just use the GNU Parted software instead. If you'd like to still have the old fdisk style interface, the gnu-fdisk package provides GNU Fdisk, an alternate version of fdisk that does support GPT.

share|improve this answer
add comment

I have find it finally, as it is an simple concept. /dev/sdb has 3000GB where fidsk won't support, because it will support only upto 2000GB harddisk. Instead fdisk we have to use parted.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.