From 104c04198b262acfd37eff592447a4cc431bd798 Mon Sep 17 00:00:00 2001 From: Arne Babenhauserheide Date: Wed, 20 Apr 2011 16:51:33 +0200 Subject: contributing: working insta-dev-env --- contributing.mdwn | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'contributing.mdwn') diff --git a/contributing.mdwn b/contributing.mdwn index a30bbe37..191451a0 100644 --- a/contributing.mdwn +++ b/contributing.mdwn @@ -104,18 +104,21 @@ Here is a list of [[open_issues]]. *This is a very brief guide to get your development environment set up. Pester ArneBab @ irc.freenode.net on IRC if something does not work :)* -* Install Qemu vie your distros packages. -* Download the [Qemu image](http://people.debian.org/~sthibault/hurd-i386/debian-hurd.img.tar.gz): `wget http://people.debian.org/~sthibault/hurd-i386/debian-hurd.img.tar.gz` +* Install qemu-kvm via your distros packages. +* Download the [qemu image](http://people.debian.org/~sthibault/hurd-i386/debian-hurd.img.tar.gz): `wget http://people.debian.org/~sthibault/hurd-i386/debian-hurd.img.tar.gz` * Unpack it: `tar xf debian-hurd.img.tar.gz` -* Run it: `qemu debian-hurd.img -m 512 -no-kvm-irqchip` # …irq… is a currently necessary fix due to some changes in Linux. Optionally use --curses to keep your keyboard layout. -* `apt-get install git mercurial emacs vim` -* `apt-get build-dep hurd gnumach` +* Run it: `qemu-kvm debian-hurd.img -m 512 -no-kvm-irqchip` # …irq… is a currently necessary fix due to some changes in Linux. Optionally use `--curses` to keep your keyboard layout. If need be modprobe kvm_amd, kvm intel and kvm to get kvm support (which is much, much faster) +* login as root +* `apt-get update` +* `apt-get install -y git mercurial emacs vim` +* `apt-get build-dep -y hurd gnumach` * `git clone git://git.sv.gnu.org/hurd/hurd.git` * `git clone git://git.sv.gnu.org/hurd/gnumach.git` * `git clone git://git.sv.gnu.org/hurd/incubator.git` * Get more from the [repo list](http://git.savannah.gnu.org/cgit/hurd/). * Read the docs on these pages. * Start hacking. +* For shutting down, use `reboot`, then press `c` in grub and issue halt (to avoid filesystem corruption). Adding `--no-reboot` to the qemu line should help, too. ## Hurd on a modern microkernel -- cgit v1.2.3