Hey, making the ttyS0 change did enable the serial console, of course, but I'm still dropped into initramfs on ttyS0, whether importing the image into virt-manager or using your line (without seed.img).
Begin: Will now check file system ... fsck from util-linux 2.27.1
Checking all file systems.
done.
mount: can't find /root in /etc/fstab
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /run on /root/run failed: No such file or directory
run-init: current directory on the same filesystem as the root: error 0
Target filesystem doesn't have requested /sbin/init.
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
No init found. Try passing init= bootarg.
BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
Hey, making the ttyS0 change did enable the serial console, of course, but I'm still dropped into initramfs on ttyS0, whether importing the image into virt-manager or using your line (without seed.img).
My qemu line:
qemu-system-x86_64 \ type=user, hostfwd= tcp::22222- :22 \ net-pci, netdev= net00 \ format= qcow2,file= xenial- test.qcow2
-cpu host -machine type=q35,accel=kvm -m 2048 \
-snapshot \
-netdev id=net00,
-device virtio-
-drive if=virtio,
And after Ctrl+Alt+3:
Begin: Will now check file system ... fsck from util-linux 2.27.1 local-bottom ... done. init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
Checking all file systems.
done.
mount: can't find /root in /etc/fstab
done.
Begin: Running /scripts/
Begin: Running /scripts/
done.
mount: mounting /run on /root/run failed: No such file or directory
run-init: current directory on the same filesystem as the root: error 0
Target filesystem doesn't have requested /sbin/init.
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
run-init: current directory on the same filesystem as the root: error 0
No init found. Try passing init= bootarg.
BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)