Schizophrenic GPT implementation in first generation Armada 370 u-boot March 05, 2022 11:30AM |
Registered: 2 years ago Posts: 82 |
Reset IDE: Marvell Serial ATA Adapter Integrated Sata device found Device 0 @ 0 0: Model: TOSHIBA HDWD240 Firm: KQ000A Ser#: Z9J1S0I9S5HH Type: Hard Disk Supports 48-bit addressing Capacity: 1718295.8 MB = 1678.0 GB (-775897424 x 512) GPT: last_usable_lba incorrect: 1D1C0BE8E > D1C0BEB0 get_partition_info_efi: *** ERROR: Invalid GPT *** ** Bad partition 1 **So when detecting the disk it strips bit 32, yielding 0xD1C0BEB0 sectors. But when interpreting the GPT table, it uses the real size, and then complains they differ.
Re: Schizophrenic GPT implementation in first generation Armada 370 u-boot March 05, 2022 05:04PM |
Admin Registered: 13 years ago Posts: 18,997 |
Morbus
Re: Schizophrenic GPT implementation in first generation Armada 370 u-boot October 14, 2022 08:25AM |
Reset IDE: Bus 0: OK Bus 1: not available Device 0: Model: ST6000VN0041-2EL11C Firm: SC61 Ser#: ZA1676P0 Type: Hard Disk Supports 48-bit addressing Capacity: 1528862.5 MB = 1493.0 GB (-1163856720 x 512) GPT: last_usable_lba incorrect: 2BAA0F48E > BAA0F4B0 get_partition_info_efi: *** ERROR: Invalid GPT *** ** Invalid partition 1 ** GPT: last_usable_lba incorrect: 2BAA0F48E > BAA0F4B0 get_partition_info_efi: *** ERROR: Invalid GPT *** ** Invalid partition 1 ** Wrong Image Format for bootm command ERROR: can't get kernel image!Your 'trick' might help me. Can you detail it for me because I'm a bit of a linux noob...
Re: Schizophrenic GPT implementation in first generation Armada 370 u-boot October 14, 2022 08:04PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Schizophrenic GPT implementation in first generation Armada 370 u-boot October 15, 2022 04:23AM |
Registered: 2 years ago Posts: 2 |
Re: Schizophrenic GPT implementation in first generation Armada 370 u-boot October 16, 2022 06:38AM |
Registered: 2 years ago Posts: 82 |
Re: Schizophrenic GPT implementation in first generation Armada 370 u-boot October 18, 2022 05:15AM |
Registered: 2 years ago Posts: 2 |
Re: Schizophrenic GPT implementation in first generation Armada 370 u-boot October 18, 2022 11:17AM |
Registered: 6 years ago Posts: 258 |
Re: Schizophrenic GPT implementation in first generation Armada 370 u-boot October 19, 2022 12:47PM |
Registered: 2 years ago Posts: 82 |
Re: Schizophrenic GPT implementation in first generation Armada 370 u-boot October 19, 2022 03:50PM |
Registered: 6 years ago Posts: 258 |
Re: Schizophrenic GPT implementation in first generation Armada 370 u-boot October 21, 2022 12:47PM |
Registered: 2 years ago Posts: 82 |
# gdisk -l /dev/sda GPT fdisk (gdisk) version 1.0.6 Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: present Found valid MBR and GPT. Which do you want to use? 1 - MBR 2 - GPT 3 - Create blank GPT Your answer: 1 Disk /dev/sda: 7814037168 sectors, 3.6 TiB Model: TOSHIBA HDWD240 Sector size (logical/physical): 512/4096 bytes Disk identifier (GUID): 446EE64A-8B66-4315-B510-37BF96729764 Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 34, last usable sector is 7814037134 Partitions will be aligned on 2048-sector boundaries Total free space is 7813039725 sectors (3.6 TiB) Number Start (sector) End (sector) Size Code Name 1 2048 999423 487.0 MiB 8300 Linux filesystem <snip> Your answer: 2 Using GPT and creating fresh protective MBR. Disk /dev/sda: 7814037168 sectors, 3.6 TiB Model: TOSHIBA HDWD240 Sector size (logical/physical): 512/4096 bytes Disk identifier (GUID): 64633999-2B1D-204A-9E30-5D66D10D3D66 Partition table holds up to 128 entries Main partition table begins at sector 2 and ends at sector 33 First usable sector is 2048, last usable sector is 7814037134 Partitions will be aligned on 2048-sector boundaries Total free space is 1679 sectors (839.5 KiB) Number Start (sector) End (sector) Size Code Name 1 2048 999423 487.0 MiB 8300 2 999424 32249855 14.9 GiB 8300 3 32249856 34203647 954.0 MiB 8200 4 34203648 7814035455 3.6 TiB 8300