Skip to content

Instantly share code, notes, and snippets.

@iefserge
Created August 27, 2015 21:57
Show Gist options
  • Select an option

  • Save iefserge/6f9870e665edacdd9f78 to your computer and use it in GitHub Desktop.

Select an option

Save iefserge/6f9870e665edacdd9f78 to your computer and use it in GitHub Desktop.
# install dependencies
npm install runtimejs
npm install runtimeify -g
npm install runtime-tools -g
# bundle up ramdisk image
runtimeify index.js -o initrd
# make sure you have QEMU installed
brew install qemu # OSX
sudo apt-get install qemu # Ubuntu
# run it in QEMU
runtime-qemu ./initrd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment