From 2c935f469031f43ee5012d1e144d4afa623f44a2 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 5 Nov 2004 14:39:22 +0000 Subject: keep the tmpfs and rescue in /tmp/stage2 (this allows to mount the rescue read-only) --- rescue/tree/etc/rc.sysinit | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'rescue/tree/etc/rc.sysinit') diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit index 27fdb8187..675863ddf 100755 --- a/rescue/tree/etc/rc.sysinit +++ b/rescue/tree/etc/rc.sysinit @@ -6,9 +6,13 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin echo -e "\t\t\tWelcome to \\033[1;36mMandrake\\033[0;39m Linux" -action "Mounting proc filesystem" mount -n -t proc /proc /proc action "Remounting root filesystem in read-write mode" mount -n -o remount,rw / +ln -s /tmp/stage2/etc/* . 2>/dev/null + +mkdir /proc +action "Mounting proc filesystem" mount -n -t proc /proc /proc + >/etc/mtab mount -f / mount -f /proc -- cgit v1.2.1