summaryrefslogtreecommitdiff
path: root/hurd/running/debian/qemu_image.mdwn
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-04-03 23:42:32 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-04-03 23:42:32 +0200
commit70b8fc57e8e29c4d4a1284c2267651943ac02b4e (patch)
tree1b839e207a3f3c516e684420396e388cf8ae1487 /hurd/running/debian/qemu_image.mdwn
parente1a127efc582faabce933d0943eceae797634168 (diff)
parent93b266266b6200a64372e02564729bf5f27cfd3e (diff)
Merge branch 'master' of braunbox:~hurd-web/hurd-web
Diffstat (limited to 'hurd/running/debian/qemu_image.mdwn')
-rw-r--r--hurd/running/debian/qemu_image.mdwn27
1 files changed, 8 insertions, 19 deletions
diff --git a/hurd/running/debian/qemu_image.mdwn b/hurd/running/debian/qemu_image.mdwn
index fe1b7444..6ae16d8b 100644
--- a/hurd/running/debian/qemu_image.mdwn
+++ b/hurd/running/debian/qemu_image.mdwn
@@ -1,5 +1,4 @@
-[[!meta copyright="Copyright © 2011, 2012, 2014, 2016 Free Software Foundation,
-Inc."]]
+[//]: # ([[meta copyright="Copyright © 2011, 2012, 2014, 2016 Free Software Foundation, Inc."]])
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
@@ -9,34 +8,24 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]
+[[!meta title="Debian's QEMU Image"
+
There is a QEMU image with [[Debian GNU/Hurd|debian]] pre-installed available
-as <https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/debian-hurd.img.tar.gz>.
+at <https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/debian-hurd.img.tar.gz>.
Usage:
* Install qemu-kvm via your distribution's package manager (it might just be named qemu)
+* Download the image, unpack it, and run it:
-* Download the debian image:
-
-<!-- Codeblocks nested in lists are garbage in Markdown. The only clean way to do this is by adding a comment after every list entry. Sorry about this!-->
+<!-- Code snippits embedded in lists are garbage. Do not remove this comment. -->
$ wget https://cdimage.debian.org/cdimage/ports/latest/hurd-i386/debian-hurd.img.tar.gz
-
-* Unpack it:
-
-<!-- Yes, another comment. I can leave these empty but then again I can fill them. -->
-
$ tar -xz < debian-hurd.img.tar.gz
-
-* Run it:
-
-<!-- A world in which nobody washes their dishes is a dishtopia -->
-
- $ kvm -m 1G -drive cache=writeback,file=$(echo debian-hurd-*.img) -net user,hostfwd=tcp:127.0.0.1:2222-:22
+ $ kvm -m 1G -drive cache=writeback,file=$(echo debian-hurd-*.img) -no-reboot -net user,hostfwd=tcp:127.0.0.1:2222-:22
* Login as root (the root password is empty)
-
-* Set up a root password with passwd
+* Set up a root password with `passwd`
Optionally you may 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).