Univention Bugzilla – Bug 38911
EC2: Uses /dev/xvda instead of /dev/vda (GRUB)
Last modified: 2023-10-18 12:10:03 CEST
01_base.99check_log_files.test [2015-07-12 18:23:06.401121] E: updater.log:1993, /usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/vda. Check your device.map. Maybe also this: [2015-07-12 18:23:06.401240] W: updater.log:314, Checking for space on /var/cache/apt/archives: df: Warning: cannot read table of mounted file systems: No such file or directory [2015-07-12 18:23:06.401290] W: updater.log:316, Checking for space on /boot: df: Warning: cannot read table of mounted file systems: No such file or directory [2015-07-12 18:23:06.401340] W: updater.log:318, Checking for space on /: df: Warning: cannot read table of mounted file systems: No such file or directory Next time update /dev/vda → /dev/xdva, as Amazon EC2 is based on Xen: Updated doc/extended-docs/installation-4.0.xml: DEV='/dev/xvda' GRUB='(hd0)' grub-mkdevicemap || echo "${GRUB} ${DEV}" >/boot/grub/device.map append="$(ucr get grub/append | sed -re "s|/dev/sda|${DEV}|g;s|(no)?splash||g")" xargs -d'\n' ucr set <<__UCR__ grub/append=${append} grub/boot=${DEV} grub/root=${DEV}1 grub/grub1root=${GRUB} grub/bootsplash=no grub/quiet=no __UCR__ update-initramfs -uk all update-grub univention-grub-generate-menu-lst "grub-mkdevicemap" only works in HVM, as for PV EC2 only provides partition 1 (/dev/xdva1) directly, but not a full disk (/dev/xvda)!
(In reply to Philipp Hahn from comment #0) > Updated doc/extended-docs/installation-4.0.xml: r62064 | Bug #38911 doc: EC2 grub config
r62111 | Bug #36256 EC2: GRUB workaround r62133 | Bug #36256 EC2: GRUB workaround Temporary workaround for ucs-ec2-test Revert when new fixed EC2 images are created.
$ euca-describe-images ami-cdb3c5ba ... BLOCKDEVICEMAPPING /dev/sda1 snap-41a68b68 10 UCS-3.2 is still PV, "/dev/xvda" should be used instead of "/dev/sda"
r62948 + r62949: * 00_checks/99check_log_files: Ignore another EC2 specific grub error message (Bug #38911)
OK: euca-describe-images ami-b03afbc9