machyve / xhyve

xhyve, a lightweight OS X virtualization solution
Other
6.44k stars 356 forks source link

unclean shutdown and bad command-line args lead to messed up terminal output #104

Open charles-gray opened 8 years ago

charles-gray commented 8 years ago

If you have to kill xhyve, or the command line args are bad and it fails to start, you end up with messed up terminal output:

ahiru% sudo sh ./xhyve-centos-install.sh
kexec: failed to load initrd centos/initrd.gz
                                             ./xhyve-centos-install.sh: line 20: 32036 Abort trap: 6           build/xhyve $ACPI $MEM $SMP $PCI_DEV $LPC_DEV $NET $IMG_CD $IMG_HDD $UUID -f kexec,$KERNEL,$INITRD,"$CMDLINE"
                                                                                                  %                       ahiru% file centos/initrd.img
centos/initrd.img: xz compressed data
                                     %                                                                                    ahiru% fg

You have to do a "reset" or some such to get clean terminal output again.

jbergstroem commented 8 years ago

I think this is the result of grub setting a different console/terminal.