On Mon, May 18, 2020 at 06:17:40PM +0200, Viktor Mihajlovski wrote: > I'd recommend to try virt-install, see > http://kvmonz.blogspot.com/p/knowledge-use-virt-install-for-kvm.html. > virt-install will set up the VM in a proper way. > > You will need to invoke virt-install with --arch=s390x if your running on an > x86 box and make sure you have the qemu-system-s390x package installed. > > Chance for success will probably increase with the currency of the QEMU > used. > > The invocation you've reported above doesn't instantiate a virtio disk and > network interface (which are the only device types supported for s390x. > Similary virtual CD/DVD must be on virtio-scsi for s390x. Again, > virt-install and virsh are your friends here.
I did try to install with the virt-manager, it should be the same thing as virt-install. But it turns out the bug is with the buster installer as I sent in the other reply. So currently the following works: $ virt-install --arch=s390x --name test --memory 1024 --disk none \ --extra-args=console=ttyS0 \ -l http://ftp.de.debian.org/debian/dists/stretch/main/installer-s390x/ but the same thing with buster is broken: $ virt-install --arch=s390x --name test --memory 1024 --disk none \ --extra-args=console=ttyS0 \ -l http://ftp.de.debian.org/debian/dists/buster/main/installer-s390x/ Starting install... Retrieving file kernel.debian... | 3.3 MB 00:00:00 Retrieving file initrd.debian... | 9.7 MB 00:00:01 Allocating 'virtinst-kernel.debian.mnba14e7' | 3.3 MB 00:00:00 Transferring virtinst-kernel.debian.mnba14e7 | 3.3 MB 00:00:00 Allocating 'virtinst-initrd.debian.2q88l_1j' | 9.7 MB 00:00:00 Transferring virtinst-initrd.debian.2q88l_1j | 9.7 MB 00:00:00 Connected to domain test Escape character is ^] [ 1.785649] Linux version 4.19.0-9-s390x (debian-ker...@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.118-2 (2020-04-29) [ 1.786919] setup: Linux is running under KVM in 64-bit mode [ 1.788555] setup: The maximum memory size is 1024MB [ 1.790050] cpu: 1 configured CPUs, 0 standby CPUs [ 1.822704] Write protected kernel read-only data: 8976k ... [ 6.148235] mip6: Mobile IPv6 [ 6.148389] NET: Registered protocol family 17 [ 6.149302] mpls_gso: MPLS GSO support [ 6.151503] registered taskstats version 1 [ 6.152310] zswap: loaded using pool lzo/zbud [ 6.154776] AppArmor: AppArmor sha1 policy hashing enabled [ 6.780329] Freeing unused kernel memory: 684K [ 6.780784] Write protected read-only-after-init data: 20k [ 6.780870] Run /init as init process steal-ctty: No such file or directory And than just hangs there because of the problem with the serial port name. -- Valentin