machyve / xhyve

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

Will not boot Fedora 30 #169

Open bryonbaker opened 5 years ago

bryonbaker commented 5 years ago

What happened Tried to build a Fedora 30 image using the steps below. During the initial boot the syslog stalls here (A link to the full boot log is here):

[ OK ] Reached target Sockets. [ OK ] Reached target Basic System. [ OK ] Started iSCSI UserSpace I/O driver. [ 177.299656] audit: type=1130 audit(1566603552.070:12): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=iscsiuio comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Starting Open-iSCSI... [ OK ] Started Open-iSCSI. [ 177.323518] audit: type=1130 audit(1566603552.096:13): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=kernel msg='unit=iscsid comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

What did you expect to happen To see the system configuration console to configure the installation.

How to reproduce it

Follow these steps and run the bash script below: dd if=/dev/zero bs=2k count=1 of=tmp.iso 1+0 records in 1+0 records out 2048 bytes transferred in 0.000090 secs (22784972 bytes/sec) $ dd if=Fedora-Server-dvd-x86_64-30-1.2.iso bs=2k skip=1 >> tmp.iso 1551359+0 records in 1551359+0 records out 3177183232 bytes transferred in 7.948150 secs (399738703 bytes/sec) $ hdiutil attach tmp.iso /dev/disk2 /Volumes/Fedora-S-dvd-x86 $ cp /Volumes/Fedora-S-dvd-x86/images/pxeboot/vmlinuz . $ cp /Volumes/Fedora-S-dvd-x86/images/pxeboot/initrd.img . $ dd if=/dev/zero of=hdd.img bs=1g count=8 8+0 records in 8+0 records out 8589934592 bytes transferred in 5.373105 secs (1598690983 bytes/sec) sudo ./install_fedorah.sh

#!/bin/bash
KERNEL="vmlinuz"
INITRD="initrd.img"
CMDLINE="earlyprintk=serial console=ttyS0 acpi=off sshd=1 inst.text inst.loglevel=debug"
MEM="-m 2G"
NET="-s 2:0,virtio-net"
IMG_CD="-s 3,ahci-cd,Fedora-Server-dvd-x86_64-30-1.2.iso"
IMG_HDD="-s 4,virtio-blk,hdd.img"
PCI_DEV="-s 0:0,hostbridge -s 31,lpc"
LPC_DEV="-l com1,stdio"
xhyve $MEM $SMP $PCI_DEV $LPC_DEV $NET $IMG_CD $IMG_HDD -f kexec,$KERNEL,$INITRD,"$CMDLINE"

Anything else we need to know Nope

Environment macOS: 10.14.6 xhyve: 1dd9a5