summaryrefslogtreecommitdiffstats
path: root/rescue/guessmounts
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-01-25 18:30:40 +0000
committerThierry Vignaud <tv@mageia.org>2012-01-25 18:30:40 +0000
commitd478fe91decf10aafc268fe5c517b212878afc54 (patch)
tree8f26e75476e938a1e6f4bfb04134013fca75d8d4 /rescue/guessmounts
parent8ae22467e48daf9ae8b446a27c3e0ea73e01deb3 (diff)
downloaddrakx-d478fe91decf10aafc268fe5c517b212878afc54.tar
drakx-d478fe91decf10aafc268fe5c517b212878afc54.tar.gz
drakx-d478fe91decf10aafc268fe5c517b212878afc54.tar.bz2
drakx-d478fe91decf10aafc268fe5c517b212878afc54.tar.xz
drakx-d478fe91decf10aafc268fe5c517b212878afc54.zip
do not try to alter /etc/mtab, it's linked on /proc anyway..., mount /proc instead
Diffstat (limited to 'rescue/guessmounts')
-rwxr-xr-xrescue/guessmounts2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/guessmounts b/rescue/guessmounts
index 3d508f1df..78a5c613d 100755
--- a/rescue/guessmounts
+++ b/rescue/guessmounts
@@ -105,8 +105,8 @@ if ($root) {
mkdir_p($where);
print STDERR "\t$dev on $where type $_->{fs_type} options $_->{options}\n";
system("mount -t $_->{fs_type} $dev $where -o $_->{options}");
- system("cp -f /etc/mtab $target/etc/mtab"); #- to allow a nice chrooted "mount" or "df"
}
+ system("mount -t proc proc $target/proc");
print STDERR "\nYour system is ready on $target.\n\n";
} else {
die "Could not find your root device :-(.\n";