Tag Info

New answers tagged

1

It sounds to me like it's unable to mount the rootfs and the terminal interface you see is the init program giving up and just running a shell. You probably need to add a root= kernel parameter like you have in your grub config (note that the device may show up differently) probably something like -append root=/dev/sda (note that the partition shows up like ...


1

You can try using the sendkey command using -monitor stdio. Though apparently the -display none -serial mon:stdio option should pass Ctrl + c through to the guest. You can also create a monitor socket, like this: qemu -display none -monitor unix:/tmp/qemu-monitor,server,nowait And then, connect to the monitor to use sendkey with socat like this: socat - ...


1

When you started your installed HD image, you didn't add -bios ss5.bin to the command line like you did during the installation and also you didn't add -nographic. This means QEMU would have used OpenBIOS instead of the Sun OBP ROM used for the installation which have different device trees that may confuse the OS. I would highly recommend sticking with one ...


0

You want to configure your guest to send the console to the serial port. With grub: $EDITOR /etc/default/grub GRUB_TERMINAL="serial console" GRUB_SERIAL_COMMAND="serial" GRUB_CMDLINE_LINUX="console=ttyS0 ..." The regenerate grub's config with grub-mkconfig grub2-mkconfig -o /boot/grub2/grub.cfg Once the guest is configured properly. you change your ...


0

It seems that there does exist a problem in lvm2 package so that pvscan does not run from udev for nbd devices. So as a solution/workaround, one should disable process lvmetad (via systemctl on Fedora as well as set use_lvmetad=0 in /etc/lvm/lvm.conf) before running vgscan. After that vgscan will find LVM on /dev/nbd* and they can be mounted.



Top 50 recent answers are included