From abd5908d65700bdd498085b9841596326b6aa4d7 Mon Sep 17 00:00:00 2001 From: hammy Date: Sun, 31 Jan 2010 15:15:27 +0000 Subject: Add steps to prevent ./native-install hang due to low memory in qemu --- hurd/running/qemu.mdwn | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'hurd') 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. -- cgit v1.2.3