On 13/05/2020 03:43, Punit Agrawal wrote:
Incidentally, this does not work if '-m 1024' is missing. Kernel boot
fails to find 'init'. I suspect that the Qemu default RAM configuration
is not sufficient to unpack the initrd.
Thanks, that's it. I haven't noticed it the first time around because I
normally run virtual machines with virt-manager... The default RAM is
128MiB and the messages also say "Initramfs unpacking failed: write error".
Based on this, updated version of Alper's instructions now launch the DI
without the need to extract the kernel / initrd.
$ qemu-system-x86_64 -cdrom *.iso -nographic -vga none -m 1024
Edit the 'Install' option (by removing 'quiet' and 'vga=788') into:
/install.amd/vmlinuz initrd=/install.amd/initrd.gz --- console=ttyS0
(BTW, we need console=ttyS0 here because /proc/consoles only has tty0.
The exact opposite happens on arm64 VMs: there /proc/consoles only has
ttyAMA0 so debian-installer only launches on the serial console and not
on the graphics window.)