summaryrefslogtreecommitdiffstats
path: root/rescue/tree
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-06-10 21:08:33 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-06-10 21:08:33 +0000
commit5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41 (patch)
tree0bd479dbe1cbff81634a1d73aaae1378bdd95fa4 /rescue/tree
parent7602c9f67bac536046cc9ab34f254cae35b72eef (diff)
downloaddrakx-backup-do-not-use-5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41.tar
drakx-backup-do-not-use-5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41.tar.gz
drakx-backup-do-not-use-5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41.tar.bz2
drakx-backup-do-not-use-5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41.tar.xz
drakx-backup-do-not-use-5e08e5a12f3a890b9622e7fe9c6ec96d7aff4b41.zip
- add 'guessmounts' that mimics RH's detecting of partitions when rescue starts
Diffstat (limited to 'rescue/tree')
-rwxr-xr-xrescue/tree/etc/rc.sysinit10
1 files changed, 10 insertions, 0 deletions
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
index 78d6cb257..f31b4598d 100755
--- a/rescue/tree/etc/rc.sysinit
+++ b/rescue/tree/etc/rc.sysinit
@@ -36,3 +36,13 @@ grep -q oem /proc/cmdline && exec /etc/oem -f
/sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0
/sbin/route add 127.0.0.1 lo
+
+grep -q noguessmounts /proc/cmdline
+if [ $? != 0 ]; then
+ echo "I will try now to guess your mountpoints;"
+ echo -e "If any problems, reboot with \\033[1;37mrescue noguessmounts\\033[0;39m to disable this."
+ echo ""
+ guessmounts
+ echo "Press <enter> to continue"
+ read
+fi