warning on arm64 uefi cloud image

Bug #1401557 reported by Ming Lei
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-utils (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ qemu-img convert -O raw trusty-server-cloudimg-arm64-uefi1.img ts.img

$ sudo parted ./ts.img -- print
Error: The backup GPT table is not at the end of the disk, as it should be. This might mean
that another operating system believes the disk is smaller. Fix, by moving the backup to the
end (and removing the old backup)?
Fix/Ignore/Cancel? I
Warning: Not all of the space available to /home/ming/git/kvm/ts.img appears to be used, you
can fix the GPT to use all of the space (an extra 1527884 blocks) or continue with the
current setting?
Fix/Ignore? I
Model: (file)
Disk /home/ming/git/kvm/ts.img: 2361MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
15 1049kB 93.3MB 92.3MB fat32 boot
 1 93.3MB 1579MB 1486MB ext4

Revision history for this message
Ming Lei (tom-leiming) wrote :

vivid-server-cloudimg-arm64-uefi1.img has the same problem. and during VM kernel booting,
following message can be found:

[ 0.823861] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 0.825451] GPT:3084211 != 4612095
[ 0.826195] GPT:Alternate GPT header not at the end of the disk.
[ 0.827492] GPT:3084211 != 4612095
[ 0.828223] GPT: Use GNU Parted to correct GPT errors.
[ 0.829345] vda: vda1 vda15

/* not sure the following failure is related with the image issue, but might be */
mount: can't read '/etc/fstab': No such file or directory
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
[ 2.394645] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.398621] usbcore: registered new interface driver usbhid
[ 2.399767] usbhid: USB HID core driver

BusyBox v1.22.1 (Ubuntu 1:1.22.0-9ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)
(initramfs) QEMU: Terminated

information type: Public → Private Security
information type: Private Security → Private
information type: Private → Public
Revision history for this message
Scott Moser (smoser) wrote :

marked this as a duplicate of a cloud image bug.
The summary is basically that bug (the images come out with odd sizing and without partition table being updated).
the comment 1 i think is unrelated. i suspect at this point trusty images boot. if not, probably a different issue not involving cloud-utils.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.