Comments (2)
From the boot log, it looks like this portion from the init
script failed:
ebegin "Mounting boot media"
nlplug-findfs $cryptopts -p /sbin/mdev ${KOPT_debug_init:+-d} \
${KOPT_usbdelay:+-t $(( $KOPT_usbdelay * 1000 ))} \
$repoopts -a /tmp/apkovls
eend $?
maybe specify debug_init
on the kernel command line (not sure what the correct syntax is).
Your snippets above on how you invoke hyperkit are really hard to read, they seem to be missing line breaks...and there are two snippets and it's not clear which one produced the output or how you boot in general. The Alpine virt image is an iso, which you can't boot on HyperKit (unless it's an EFI ISO, which it does now seem to be)
from hyperkit.
Managed to get it working.
install.sh:
KERNEL="mnt/boot/vmlinuz-hardened"
INITRD="mnt/boot/initramfs-hardened"
CMDLINE="alpine_dev=cdrom:iso9660 modules=af_socket,loop,squashfs,sd-mod,usb-storage,sr-mod,earlyprintk=serial console=ttyS0"
MEM="-m 8G"
SMP="-c 4"
NET="-s 2:0,virtio-net"
IMG_CD="-s 3,ahci-cd,alpine-standard-3.6.2-x86_64.iso"
IMG_HDD="-s 4,virtio-blk,hdd.img"
PCI_DEV="-s 0:0,hostbridge -s 31,lpc"
LPC_DEV="-l com1,stdio"
ACPI="-A"
UUID="-U deadbeef-dead-beef-dead-beef00000000"
hyperkit $ACPI $UUID $SMP $MEM $PCI_DEV $LPC_DEV $NET $IMG_CD $IMG_HDD -f kexec,$KERNEL,$INITRD,"$CMDLINE" -w
run.sh:
KERNEL="mnt/boot/vmlinuz-hardened"
INITRD="mnt/boot/initramfs-hardened"
CMDLINE="earlyprintk=serial console=ttyS0 modules=virtio_blk,af_socket,loop,squashfs,sd-mod,usb-storage,sr-mod,ext4 debug_init root=/dev/vda3"
MEM="-m 8G"
#SMP="-c 4"
NET="-s 2:0,virtio-net"
IMG_HDD="-s 4,virtio-blk,hdd.img"
PCI_DEV="-s 0:0,hostbridge -s 31,lpc"
LPC_DEV="-l com1,stdio"
ACPI="-A"
UUID="-U deadbeef-dead-beef-dead-beef00000000"
hyperkit $UUID $ACPI $SMP $MEM $PCI_DEV $LPC_DEV $NET $IMG_HDD -f kexec,$KERNEL,$INITRD,"$CMDLINE" -w
from hyperkit.
Related Issues (20)
- Any way to get the display/VNC?
- Hyperkit support on macos silicon (M1) processors HOT 12
- qcow support build failure with ocaml 4.12
- unable to install hyperkit on apple silicon HOT 1
- Can Windows 10 be booted? HOT 4
- Potential error due to the unreleased lock after program exit HOT 2
- Support for MacOS Big Sur new Virtualization.framework HOT 2
- Hyperkit Build from Release Tarball Fails Assertions Related to Git Version
- RDTSCP instruction triggers "illegal instruction" for Linux container on macOS
- hyperkit installation require Xcode.app to be installed on Mac HOT 2
- error: implicit conversion loses precision when running make in Mac OS Big Sur 11.6 HOT 4
- Hyperkit's go api could not create console on stdio.
- LICENSE / COPYING missing HOT 2
- Error: hyperkit: no bottle available! HOT 3
- Build error message show 'set but not used [-Werror,-Wunused-but-set-variable]' in clang version 1316.0.21.2.5 HOT 4
- Invalid instructions?
- Accessing external address from vm
- FreeBSD 13 failed to boot after successful installation
- TCP Previous segment not captured
- use of undeclared identifier 'VERSION_SHA1'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperkit.