Question
The gpt partition table dmaged
Hi, I read more wiki pages and found below command to partition emmc on uboot
setenv emmc_part "name=ssbl,size=2MiB;name=bootfs,type=linux,bootable,size=64MiB;name=rootfs,type=linux,size=512"
gpt write mmc 1 ${emmc_part}When my board start up and execute above commands. I use gdisk to saw some error message.
gdisk -l /dev/mmcblk1
GPT fdisk (gdisk) version 1.0.1
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
Warning! One or more CRCs don't match. You should repair the disk!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Disk /dev/mmcblk1: 7733248 sectors, 3.7 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00042021-0408-4601-9DCC-A8C51255994F
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 7733214
Partitions will be aligned on 2-sector boundaries
Total free space is 7598012 sectors (3.6 GiB)
Number Start (sector) End (sector) Size Code Name
1 34 4129 2.0 MiB 0700 ssbl
2 4130 135201 64.0 MiB 8300 bootfs
3 135202 135202 512 bytes 8300 rootfsSo, I am confused about this. The GPT shows damaged.
