path: root/hurd/running/qemu.mdwn
diff options
authorhammy <hammy@web>2010-01-31 15:15:27 +0000
committerGNU Hurd web pages engine <>2010-01-31 15:15:27 +0000
commitabd5908d65700bdd498085b9841596326b6aa4d7 (patch)
tree02c23a6f1d60ff43e5927ef689faabef929fb4af /hurd/running/qemu.mdwn
parent75d3cec57800b933728ce10d58f4d02ad46f3b1f (diff)
Add steps to prevent ./native-install hang due to low memory in qemu
Diffstat (limited to 'hurd/running/qemu.mdwn')
1 files changed, 8 insertions, 0 deletions
diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn
index 48d87b35..43542157 100644
--- a/hurd/running/qemu.mdwn
+++ b/hurd/running/qemu.mdwn
@@ -43,6 +43,14 @@ Next you will want to start up QEMU and begin the installation process. The firs
Now at his point do the regular install using `hd0` as your harddrive. Partition it and install the base system. Once you have finished installing the base system select the reboot option as this will ensure the disk is properly un-mounted. When the Debian CD menu comes up again simply close QEMU.
Now run your image with floppy booting (`-boot a`) and finish the install (`./native-install` .. etc).
+You'll want to add more memory or activate swap for `./native-install` or it will hang.
+Starting qemu with `-m 512` worked for me.
+Swap can be activated like this (replace hd0s2 with your swap partition):
+ $ cd /dev/
+ $ MAKEDEV hd0s2 in /dev/ for the swap device
+ $ /hurd/mach-defpager
+ $ swapon /dev/hd0s2
**Important:** Older versions on gnumach needed that the `-M isapc` was passed to qemu. This is not needed anymore.