Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   try to unmount everything from /media on live installs (http://www.linux-archive.org/debian-kernel/266287-try-unmount-everything-media-live-installs.html)

Jeremy Katz 03-19-2009 04:15 PM

try to unmount everything from /media on live installs
 
devicekit-disks is mounting fixed disks right now which then causes us pain in the installer. let's try to
unmount everything before anaconda starts
---
liveinst/liveinst.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh
index cc6e3d5..744a2b9 100644
--- a/liveinst/liveinst.sh
+++ b/liveinst/liveinst.sh
@@ -56,6 +56,8 @@ if [ ! -e /selinux/load ]; then
ANACONDA="$ANACONDA --noselinux"
fi

+# devkit-disks is now mounting lots of stuff. for now, let's just try to unmount it all
+umount /media/*
/sbin/swapoff -a
/sbin/lvm vgchange -an --ignorelockingfailure

--
1.6.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Hans de Goede 03-19-2009 05:00 PM

try to unmount everything from /media on live installs
 
Looks good,

Regards,

Hans


Jeremy Katz wrote:

devicekit-disks is mounting fixed disks right now which then causes us pain in the installer. let's try to
unmount everything before anaconda starts
---
liveinst/liveinst.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh
index cc6e3d5..744a2b9 100644
--- a/liveinst/liveinst.sh
+++ b/liveinst/liveinst.sh
@@ -56,6 +56,8 @@ if [ ! -e /selinux/load ]; then
ANACONDA="$ANACONDA --noselinux"
fi

+# devkit-disks is now mounting lots of stuff. for now, let's just try to unmount it all

+umount /media/*
/sbin/swapoff -a
/sbin/lvm vgchange -an --ignorelockingfailure



_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 03:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.