summaryrefslogtreecommitdiffstats
path: root/rescue/guessmounts
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/guessmounts')
-rwxr-xr-xrescue/guessmounts3
1 files changed, 1 insertions, 2 deletions
diff --git a/rescue/guessmounts b/rescue/guessmounts
index dddeaed26..33530ef8c 100755
--- a/rescue/guessmounts
+++ b/rescue/guessmounts
@@ -35,8 +35,7 @@ print STDERR "\nPlease wait, trying to find your root device...\n";
mkdir_p($target);
-run_program::run('lvm2', 'vgscan');
-run_program::run('lvm2', 'vgchange', '-a', 'y');
+lvm::detect_during_install();
my @parts = map {
$_->{device} = delete $_->{dev};