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

Re: Trying to run debian arm64 installer in qemu-system-aarch64 on amd64



Hi Alper.

That was the trick!

It looks like a progress.

`console=tty0` added in the grub to linux line.

And it works, the first ~25 seconds there is a black/blank screen, and
qemu says "Guest disabled this display".

It eventually does switch to framebuffer, and the X.org server for
graphical install starts too (but in a bit weird resolution, which
appears to be 1348 × 656 pixels).

The text mode installer also work really well over virtio-gpu-pci.

I used this command line:

qemu-system-aarch64 -m 8192 -M virt,acpi=on -cpu max -smp 2   -device
qemu-xhci,id=usb -usb -device usb-kbd -device usb-tablet  -device
virtio-gpu-pci  -display default,show-cursor=on  -drive
if=virtio,format=raw,readonly=on,media=cdrom,file=debian-testing-arm64-netinst.iso
-bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd

(Using -cdrom debian-testing-arm64-netinst.iso instead, also works fine).

The only minor issues, is that the majority of initial kernel messages
go to serial console only, and none to frame buffer. I.e. first 22
seconds of messages go to serial console only. It is reasonable, but a
bit different than on x86.

PS. Adding extra `-device VGA` causes Xorg to be confused, and not
know which framebuffer to use).

PS2. After that, I got hit with the virtio storage not detected, but
that is the issue on all architectures that I know (I did hit this
previous on alpha for example), like reported in
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689528  , and the
workaround posted there also works.

PS3. Then I got hit by kernel module mismatch between my iso and the
network repository, but that is known issue with debian installer
snapshots.

Thanks Alper.


On Mon, 21 Dec 2020 at 21:06, Alper Nebi Yasak <alpernebiyasak@gmail.com> wrote:
>
> On 21/12/2020 21:22, Witold Baryluk wrote:
> > Hi,
> >
> > I am trying to get qemu-system-aarch64 going, In particular I am
> > interested in running graphical installer, or live debian or ubuntu
> > environments.
> >
> > I tried the daily netinst for arm64, and it claims there is no
> > graphics, and fallbacks to only use serial console.
>
> For now you have to explicitly add "console=tty0" to the kernel command
> line, the fix for that is already applied but unfortunately still not
> released.
>
> (Let me ping the d-i team again for that...)


Reply to: