summaryrefslogtreecommitdiffstats
path: root/rescue/bin
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/bin')
-rwxr-xr-xrescue/bin/guessmounts3
1 files changed, 3 insertions, 0 deletions
diff --git a/rescue/bin/guessmounts b/rescue/bin/guessmounts
index 27b920c9d..13ec2802e 100755
--- a/rescue/bin/guessmounts
+++ b/rescue/bin/guessmounts
@@ -138,6 +138,9 @@ if ($root) {
system("mount -t $_->{fs_type} $dev $where -o $_->{options}");
}
system("mount -t proc proc $target/proc");
+ foreach (qw(/dev /run /sys)) {
+ system('mount', '--bind', $_, "$target/$_");
+ }
print STDERR "\nYour system is ready on $target.\n\n";
} else {
die "Could not find your root device :-(.\n";