warning on arm64 uefi cloud image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
$ qemu-img convert -O raw trusty-
$ 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/
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/
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
information type: | Public → Private Security |
information type: | Private Security → Private |
information type: | Private → Public |
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 */ local-bottom ... done. init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
mount: can't read '/etc/fstab': No such file or directory
Begin: Running /scripts/
done.
Begin: Running /scripts/
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