archlinux-v86
April 29, 2017 ยท View on GitHub
This repo contains scripts to create an archlinux-x86 image for use with v86.
Requirements
You need to have installed:
- packer
- kpartx
- qemu
Usage
- Build the image
./build.sh
- Set up
v86
git clone https://github.com/copy/v86
cd v86
make
make run
-
Point your browser to
http://localhost:8000/ -
Use the
Hard drive disk imagefilepicker to selectpacker/output-qemu/Archlinux-v86and start the emulation
Debugging
If the build fails, try tweaking packer/template.json. Things you can try:
- Change
"headless": true,to"headless": false,so you have visual output - Add some more waits (
<wait10>) if it looks like the keystrokes are sent too fast - Add
"accelerator": "none",if KVM gives you problems - Look here for more options