[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1016809: [UEFI] Installed (minimal) bookworm system hangs at boot



Hey Holger!

On Sun, Aug 07, 2022 at 09:36:43PM +0200, Holger Wansing wrote:
>Package: installation-reports
>Severity: normal
>
>Boot method: netinst image on QEMU
>Image version: debian-testing-amd64-netinst.iso from today
>Date: 2022-08-07
>
>Machine: UEFI-driven qemu VM
>
>Booted with
>qemu-system-x86_64 -boot order=d -vga vmware -bios OVMF.fd -L . -m 1024M --enable-kvm -hda ~/qemu-img-disk-10G.img -cdrom /home/ned/installation-images/debian-daily_2022-08-07_amd64-netinst.iso
>
>Installing Debian on an UEFI-driven QEMU machine (minimal installation, only
>standard system task) leads to a successful installation, but the newly 
>installed system cannot complete its boot process.
>It hangs forever (here on linux 5.18.0-3) with this messages
>
>
>[  OK  ] Activated swap /dev/disk/by-uuid/f10f20e2-b6b6b-428f-8dbe-257e8d097a04
>[  OK  ] Reached target Swaps.
>[  OK  ] Mounted /boot/efi.
>[  OK  ] Reached target Local File Systems
>   4.720864 random: crng init done
>      Starting Load AppArmor profiles...
>      Starting Create Volatile Files and Directories...
>
>
>When installing from an older installation-image and then booting the
>older kernel linux 5.15.0-2, this leads to the same problem, so it's at least
>not somehow kernel related.
>
>I'm unable to access more logs on the qemu machine, unfortunately.

Have you had this particular qemu command line work for you in the
last? What you have there specifies that the machine should use the
OVMF code as a "bios" image, but doesn't give an extra storage area
for the firmware settings. What I use in scripts here uses the pflash
image interface to add both:

 "-pflash OVMF.fd -pflash storage.fd"

This really isn't well documented in terms of driving stuff - most
people end up using libvirt and its tools to drive qemu/kvm.

My own dirty, hacky script for testing d-i images is at [1] in case
that helps.

[1] https://git.einval.com/cgi-bin/gitweb.cgi?p=efitest.git;a=blob;f=efitest

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"Managing a volunteer open source project is a lot like herding
 kittens, except the kittens randomly appear and disappear because they
 have day jobs." -- Matt Mackall


Reply to: