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.

Is this output harmless? It's looking quite harmless to me, since it needs to be run with root permissions.

ehtesh@pear:~$ sgdisk -v /dev/sda
Problem opening /dev/sda for reading! Error is 13.
You must run this program as root or use sudo!
Verification may miss some problems or report too many!

Problem: The CRC for the main GPT header is invalid. The main GPT header may
be corrupt. Consider loading the backup GPT header to rebuild the main GPT
header ('b' on the recovery & transformation menu). This report may be a false
alarm if you've already corrected other problems.

Problem: The CRC for the main partition table is invalid. This table may be
corrupt. Consider loading the backup partition table ('c' on the recovery &
transformation menu). This report may be a false alarm if you've already
corrected other problems.

Problem: The CRC for the backup GPT header is invalid. The backup GPT header
may be corrupt. Consider using the main GPT header to rebuild the backup GPT
header ('d' on the recovery & transformation menu). This report may be a false
alarm if you've already corrected other problems.

Caution: The CRC for the backup partition table is invalid. This table may
be corrupt. This program will automatically create a new backup partition
table when you save your partitions.

Problem: The main header's self-pointer doesn't point to itself. This problem
is being automatically corrected, but it may be a symptom of more serious
problems. Think carefully before saving changes with 'w' or using this disk.

Problem: main GPT header's current LBA pointer (1) doesn't
match the backup GPT header's alternate LBA pointer(0).

Problem: Disk is too small to hold all the data!
(Disk size is 0 sectors, needs to be 0 sectors.)
The 'e' option on the experts' menu may fix this problem.

Problem: GPT claims the disk is larger than it is! (Claimed last usable
sector is 18446744073709551582, but backup header is at
18446744073709551615 and disk size is 0 sectors.
The 'e' option on the experts' menu will probably fix this problem

Identified 8 problems!

If I run with root, I get:

ehtesh@pear:~$ sudo sgdisk -v /dev/sda

No problems found. 0 free sectors (0 bytes) available in 0
segments, the largest of which is 0 (0 bytes) in size.

Some background information of my machine:

ehtesh@pear:~$ lsb_release -a
LSB Version:    1.4
Distributor ID: arch
Description:    Arch Linux
Release:        rolling
Codename:       n/a

ehtesh@pear:~$ uname -a
Linux pear 3.9.8-1-ARCH #1 SMP PREEMPT Fri Jun 28 07:43:59 CEST 2013 i686 GNU/Linux
ehtesh@pear:~$

ehtesh@pear:~$ sudo cgdisk /dev/sda

                                  cgdisk 0.8.6

                              Disk Drive: /dev/sda
                           Size: 312581808, 149.1 GiB

Part. #     Size        Partition Type            Partition Name
----------------------------------------------------------------
   3        1007.0 KiB  BIOS boot partition       biosboot
   1        15.0 GiB    Linux filesystem          bootdisk
   2        134.0 GiB   Linux filesystem          data

    [ Align  ]  [ Backup ]  [ Delete ]  [  Help  ]  [  Info  ]  [  Load  ]
    [  naMe  ]  [  Quit  ]  [  Type  ]  [ Verify ]  [ Write  ]

                      Change the filesystem type code GUID
share|improve this question
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.