|author||hammy <hammy@web>||2010-01-31 15:15:27 +0000|
|committer||GNU Hurd web pages engine <firstname.lastname@example.org>||2010-01-31 15:15:27 +0000|
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 48d87b3..4354215 100644
@@ -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.