First indication found were it goes wrong
- Code: Select all
Marvell>> disk 0x800000 0:6
disk 0x800000 0:6
GPT: last_usable_lba incorrect: %lX > %lX
get_partition_info_efi: *** ERROR: Invalid GPT ***
It proves that it tries to use GPT
what it means and how to solve is something different :scratch :thinking
The message is generated by this part of the code
- Code: Select all
if (le64_to_int(pgpt_head->last_usable_lba) > lastlba) {
printf("GPT: last_usable_lba incorrect: %llX > %llX\n",
le64_to_int(pgpt_head->last_usable_lba), lastlba);
return 0;
}
But when reading the diskinfo in gdisk
you can see that last LBA > last_usable lba
- Code: Select all
Disk /dev/sda: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): BCCC1E49-2DBF-4FCF-9FE5-24DCA0013C87
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 4096-sector boundaries
Total free space is 4062 sectors (2.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 4096 1052671 512.0 MiB 8300 Linux filesystem
2 1052672 2101247 512.0 MiB 8300 Linux filesystem
3 2101248 3149823 512.0 MiB 8200 Linux swap
4 3149824 3166207 8.0 MiB 8300 Linux filesystem
5 3166208 4739071 768.0 MiB 8300 Linux filesystem
6 4739072 4755455 8.0 MiB 8300 Linux filesystem
7 4755456 5804031 512.0 MiB 8300 Linux filesystem
8 5804032 5860533134 2.7 TiB 8300 Linux filesystem
Command (? for help): w