diff options
author | Jeremy Katz <katzj@redhat.com> | 2009-04-30 17:45:31 -0400 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2009-04-30 17:46:20 -0400 |
commit | 033a6c6a7aec6a25bac57d7f0fcd411845f30549 (patch) | |
tree | e2fccf642262868b00543b23f69063404a275413 /liveinst | |
parent | 6e48c3e4e8a5b7b8a9f088a4713ae02abecb751a (diff) | |
download | anaconda-033a6c6a7aec6a25bac57d7f0fcd411845f30549.tar.gz anaconda-033a6c6a7aec6a25bac57d7f0fcd411845f30549.tar.xz anaconda-033a6c6a7aec6a25bac57d7f0fcd411845f30549.zip |
Be more aggressive unmounting before install starts (#498260)
In the live install, having things mounted leads to tracebacks.
This isn't really fool-proof, but it should help
Diffstat (limited to 'liveinst')
-rw-r--r-- | liveinst/liveinst.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh index 844ca0649..badb3f5aa 100644 --- a/liveinst/liveinst.sh +++ b/liveinst/liveinst.sh @@ -58,6 +58,7 @@ fi # devkit-disks is now mounting lots of stuff. for now, let's just try to unmount it all umount /media/* +for mnt in $(cat /proc/mounts |grep ^/dev |grep -v live | awk {'print $2;'}) ; do umount $mnt 2>/dev/null ; done /sbin/swapoff -a /sbin/lvm vgchange -an --ignorelockingfailure |