Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Trouble booting new drive (1 reply)

$
0
0
I'm attempting to upgrade the HDD I have attached to my pogoplug v4 mobile from a 1TB to a 4TB. To support a single partition greater than 2TB, I'm using a GPT partition table rather than an msdos partition table. I'm using GParted 0.33.0 to do so. When I attempt to boot the drive, I see the following in netconsole:

U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:34:01 -0700)
Pogoplug V4
gcc (Debian 6.3.0-18) 6.3.0 20170516
GNU ld (GNU Binutils for Debian) 2.28
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 
Use USB retry period from the environment: 15 second(s)
1 Storage Device(s) found

Reset IDE: ide_preinit failed
Card did not respond to voltage select!
mmc_init: -95, time 11

Partition Map for USB device 0  --   Partition Type: EFI

GPT: first_usable_lba incorrect: 22 > 0
part_print_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xD7B4EDBFEED6233B != 0x5452415020494645
part_print_efi: *** ERROR: Invalid Backup GPT ***

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0

## Unknown partition table type 0
loading envs from usb 0 ...
GPT: first_usable_lba incorrect: 22 > 0
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xD7B4EDBFEED6233B != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
** Invalid partition 1 **

no IDE devices available
Card did not respond to voltage select!
mmc_init: -95, time 11
running scan_disk ...
Scan device usb
device usb 0:1
GPT: first_usable_lba incorrect: 22 > 0
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xD7B4EDBFEED6233B != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
** Invalid partition 1 **
device usb 1:1
** Bad device usb 1 **
device usb 2:1
** Bad device usb 2 **
device usb 3:1
** Bad device usb 3 **
Scan device ide

Reset IDE: ide_preinit failed
device ide 0:1
** Bad device ide 0 **
device ide 1:1
** Bad device ide 1 **
device ide 2:1
** Bad device ide 2 **
device ide 3:1
** Bad device ide 3 **
Scan device mmc
Card did not respond to voltage select!
mmc_init: -95, time 11
device mmc 0:1
Card did not respond to voltage select!
mmc_init: -95, time 11
Card did not respond to voltage select!
mmc_init: -95, time 11
** Bad device mmc 0 **
device mmc 1:1
MMC Device 1 not found
MMC Device 1 not found
** Bad device mmc 1 **
device mmc 2:1
MMC Device 2 not found
MMC Device 2 not found
** Bad device mmc 2 **
device mmc 3:1
MMC Device 3 not found
MMC Device 3 not found
** Bad device mmc 3 **
loading uImage ...
GPT: first_usable_lba incorrect: 22 > 0
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xD7B4EDBFEED6233B != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
** Invalid partition 1 **
loading uInitrd ...
GPT: first_usable_lba incorrect: 22 > 0
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xD7B4EDBFEED6233B != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
** Invalid partition 1 **
loading DTB /boot/dts/kirkwood-pogoplug_v4.dtb ...
GPT: first_usable_lba incorrect: 22 > 0
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xD7B4EDBFEED6233B != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
** Invalid partition 1 **
Wrong Image Format for bootm command
ERROR: can't get kernel image!
ubi0: attaching mtd1
ubi0: scanning is finished
ubi0: attached mtd1 (name "mtd=4", size 112 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 896, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 0, total reserved PEBs: 896, PEBs reserved for bad PEB handling: 8
Loading file 'uboot.mtd0.dockstar.original.kwb' to addr 0x00800000...
Done
## Starting application at 0x00800200 ...

If I switch to creating a smaller partition on the same disk using msdos partition table, I can boot just fine. What am I doing wrong? Is gparted creating this hybrid partition table I keep reading about, even though I select "gpt"?

Viewing all articles
Browse latest Browse all 3247

Trending Articles