summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/tree/etc/rc.sysinit')
-rwxr-xr-xrescue/tree/etc/rc.sysinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
index 15643bfaf..0813a989b 100755
--- a/rescue/tree/etc/rc.sysinit
+++ b/rescue/tree/etc/rc.sysinit
@@ -10,6 +10,8 @@ action "Remounting root filesystem in read-write mode" mount -n -o remount,rw /
ln -s /tmp/stage2/etc/* /etc 2>/dev/null
+rm -f /dev ; cp -a /tmp/stage2/dev /dev
+
mkdir /proc
action "Mounting proc filesystem" mount -n -t proc /proc /proc