From 659ab26a581ce73eb5ed83dfc34e398ab9d81dcb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 30 Apr 2015 10:20:19 -0400 Subject: guessmount: mount {/dev,/run,/sys} too (mga#10865) those are mounted by udev not fstab those days --- rescue/NEWS | 1 + rescue/bin/guessmounts | 3 +++ 2 files changed, 4 insertions(+) (limited to 'rescue') diff --git a/rescue/NEWS b/rescue/NEWS index 1f6f24a81..7469c0785 100644 --- a/rescue/NEWS +++ b/rescue/NEWS @@ -1,3 +1,4 @@ +- guessmount: mount /dev, /run & /sys too (mga#10865) - lsparts (mga#8854): o display label too o silent run_program 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"; -- cgit v1.2.1