Coder Social home page Coder Social logo

mkimg-netbsd's Introduction

NetBSD QEMU image generation scripts
====================================

These scripts allow generating customizable live disk images for
various NetBSD architectures, bootable in QEMU.  They were originally
intended to facilitate CI on a certain source code hosting website,
but the website decided to go in a different direction instead.

A NetBSD host machine must be used, because the scripts depend on various
NetBSD-specific tools.  You must run the image generation scripts as root
because they use vnd(4) and partitioning tools.

The scripts are useful for:

* quickly provisioning NetBSD systems
* testing and development

Modifying the scripts to suit your needs is encouraged.

You can log in as "root" with no password.

Please refer to the comments at the top of each script for further
information.

amd64/i386
----------

* Boots from GPT on BIOS.
* VirtIO works.
* X11 and headless use work.

aarch64/earmv7hf
----------------

* Boots from GPT on EFI.
* VirtIO works.
* X11 and headless use work.

macppc
------

* Boots from two images, one FFSv2 (NetBSD system),
  and one HFS (bootloader).
* Headless only.
* Reqires root partition (wd0c) to be manually specified at prompt
  (or specified in custom kernel config).

Architectures to add later
--------------------------

* MIPS: Requires NetBSD 9.99.x for MIPSSIM. Problems with interrupts
  (sleep 1 takes several minutes). MALTA does not finish booting.
* Alpha: Requires NetBSD 9.99.x.
* SPARC: Requires a sunlabel to boot.
  How do you create this on a vnd(4) on a non-SPARC system?
* HPPA: ???
* RISC-V: ???
* M68K: ???

Other useful simulators for running NetBSD
------------------------------------------

* GXemul: http://gavare.se/gxemul/ (MIPS, SuperH)
* SimH: http://simh.trailing-edge.com/ (VAX)
* TME: http://people.csail.mit.edu/fredette/tme/ (sun2, sun3, SPARC)
* Can one of the many Amiga emulators run NetBSD/amiga?
* Can NetBSD/sgimips run in MAME?

Anita[1] is an alternative that automates running the installation
process rather than bypassing it.

[1]: http://www.gson.org/netbsd/anita/

mkimg-netbsd's People

Contributors

alarixnia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.