summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-05 15:18:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-05 15:18:30 +0000
commitf6d6bcc3022ceb39b27171845cf61d918fb0c7a5 (patch)
tree567a35a463d56387ef4443bd410343de3e40c53c /rescue/tree/etc
parentcbbad277f29fd2d03dd06fe69aebcd4327ccc2b1 (diff)
downloaddrakx-f6d6bcc3022ceb39b27171845cf61d918fb0c7a5.tar
drakx-f6d6bcc3022ceb39b27171845cf61d918fb0c7a5.tar.gz
drakx-f6d6bcc3022ceb39b27171845cf61d918fb0c7a5.tar.bz2
drakx-f6d6bcc3022ceb39b27171845cf61d918fb0c7a5.tar.xz
drakx-f6d6bcc3022ceb39b27171845cf61d918fb0c7a5.zip
free up stage1 memory
Diffstat (limited to 'rescue/tree/etc')
-rwxr-xr-xrescue/tree/etc/rc.sysinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
index 49dcd8f09..766163be0 100755
--- a/rescue/tree/etc/rc.sysinit
+++ b/rescue/tree/etc/rc.sysinit
@@ -8,6 +8,9 @@ echo -e "\t\t\tWelcome to \\033[1;36mMandrake\\033[0;39m Linux"
action "Remounting root filesystem in read-write mode" mount -n -o remount,rw /
+#- free up stage1 memory
+umount /stage1/proc/bus/usb /stage1/proc /stage1
+
ln -s /tmp/stage2/etc/* /etc 2>/dev/null
mkdir /proc