diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-11-05 14:39:22 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-11-05 14:39:22 +0000 |
commit | 2c935f469031f43ee5012d1e144d4afa623f44a2 (patch) | |
tree | 36456bb8e693fe31fa090241da8b752212eb4262 /rescue/tree | |
parent | eee0b9790b3c306988d2771d6e72115f6ff47466 (diff) | |
download | drakx-backup-do-not-use-2c935f469031f43ee5012d1e144d4afa623f44a2.tar drakx-backup-do-not-use-2c935f469031f43ee5012d1e144d4afa623f44a2.tar.gz drakx-backup-do-not-use-2c935f469031f43ee5012d1e144d4afa623f44a2.tar.bz2 drakx-backup-do-not-use-2c935f469031f43ee5012d1e144d4afa623f44a2.tar.xz drakx-backup-do-not-use-2c935f469031f43ee5012d1e144d4afa623f44a2.zip |
keep the tmpfs and rescue in /tmp/stage2
(this allows to mount the rescue read-only)
Diffstat (limited to 'rescue/tree')
-rwxr-xr-x | rescue/tree/etc/rc.sysinit | 6 | ||||
-rw-r--r-- | rescue/tree/usr/share/symlinks | 10 |
2 files changed, 15 insertions, 1 deletions
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 diff --git a/rescue/tree/usr/share/symlinks b/rescue/tree/usr/share/symlinks new file mode 100644 index 000000000..421b70d7b --- /dev/null +++ b/rescue/tree/usr/share/symlinks @@ -0,0 +1,10 @@ +/bin +/boot +/dev +/etc/fstab +/etc/inittab +/etc/rc.sysinit +/lib +/modules +/sbin +/usr |