On Mon, May 18, 2020 at 07:31:15PM +0200, Benjamin Jakob Zimmermann wrote:
$ qemu-system-s390x -M s390-ccw-virtio -m 1G -smp 1 -enable-kvm -nographic
-device virtio-net-ccw,netdev=mynet0 -netdev tap,id=mynet0,script=qemu-ifup
-drive file=/dev/disk/by-path/ccw-0.0.xxxx -kernel loopdir/boot/linux_vm
-initrd loopdir/boot/root.bin -append
'debian-installer/allow_unauthenticated=true'
This works on a z13 and z14. Works also fine with clefOS (CentOS clone).
Thanks for the info. Indeed it seems that things work with the stretch
image so I will try to use that.
But can we also try to fix buster and unstable images as these seem to
be broken at the moment? I have identified the following problems:
1. debian-installer fails to start on serial port due to wrong device
name (ttyS1 vs ttysclp0). I can boot with init=/bin/sh and make a
symlink but a patch is here:
https://salsa.debian.org/installer-team/rootskel/-/merge_requests/2/diffs
2. initrd does not include the required modules (virtio_net and
virtio_blk) so network and disk devices are not visible. Had to
build a new initrd with these included.