Bug 382158 - Cannot format mounted partition
Summary: Cannot format mounted partition
Status: RESOLVED FIXED
: 382696 384322 (view as bug list)
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: Live Medium (show other bugs)
Version: Beta 1
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Stephan Kulow
QA Contact: Stephan Kulow
URL:
Whiteboard:
Keywords:
Depends on: 295341
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-21 23:34 UTC by Alan McGovern
Modified: 2008-06-25 10:42 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan McGovern 2008-04-21 23:34:50 UTC
When installing for the live cd, i wanted to format an existing partition and install 11.0 there. When i went through all the settings and started the installation process it failed instantly saying it couldn't format the mounted partition.

The live cd should automatically unmount a mounted partition if it needs to.

Manually running umount /dev/sda3 allowed me to format and install like i wanted to.
Comment 1 Stephan Kulow 2008-04-22 06:13:10 UTC
hmm, was this kde or gnome? We usually ignore built in disks in both, but I explicitly changed that for the live cd config so the user has access to his data. But if the desktop mounts it (automatically? or did you trigger it?) then we're screwed for the install indeed.

Jiri, do you think it's possible to unmount and lock all builtin before disk proposal runs? It should be pretty easy to write a little C helper if needed - just go through all hal devices, Storage.Umount and set info.locked
Comment 2 Alan McGovern 2008-04-22 08:00:20 UTC
This was the gnome live cd. Also, the partitions were mounted completely automatically. Let me know if you need any other info.
Comment 3 Jiri Srain 2008-04-22 08:45:13 UTC
Stephan, I can do it, however, I will need some more detailed how-to, since I have never played around with HAL.
Comment 4 Stephan Kulow 2008-04-24 10:09:26 UTC
I try to write a helper tool. If that fails, I disable the builtin disks again
Comment 5 Kay Sievers 2008-04-24 16:42:19 UTC
What would that helper tool do, other than unmounting?

Can't just the process, which does the actual formatting, do an unconditional umount before it tries to format the volume?
Comment 6 Stephan Kulow 2008-04-24 17:25:31 UTC
unmount and lock, so that the desktop is not remounting it once it was formatted. Normally we volume.ignore=true all builtin paritions, but for the live I changed that
Comment 7 Arvin Schnell 2008-04-29 13:55:43 UTC
*** Bug 384322 has been marked as a duplicate of this bug. ***
Comment 8 Stephan Kulow 2008-04-30 18:45:59 UTC
I disabled the feature to automount partitions for the moment
Comment 9 Arvin Schnell 2008-05-16 18:37:33 UTC
*** Bug 382696 has been marked as a duplicate of this bug. ***
Comment 10 Stephan Kulow 2008-06-25 09:11:29 UTC
mass reopening of later+remind bugs of 11.0
Comment 11 Stephan Kulow 2008-06-25 10:42:29 UTC
the problem as such does not exist with the live cd any longer.