Install aborts because of unwritable partition table, after Ubiquity reports that it doesn't need to edit the partition table

Bug #372549 reported by boss_mc
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Karmic by Carey Underwood

Bug Description

Binary package hint: ubiquity

After using unetbootin to create a bootable USB with Jaunty on it (in partition /dev/sdc1), I created a second partition (/dev/sdc2) on that USB to store the installed OS. Both partitions were Ext3 and were created before the ubiquity installer was started up. When I started ubiquity I told the installer to install Jaunty into sdc2, using that partition as ext3 and not formatting it, thus the installer should have no reason to touch the partitions, let alone the partition table of the drive.

After continuing to the end of the installer, and beginning the install, ubiquity failed, complaining that it needed to change the partition table of /cdrom (which is where it mounts the USB). There is no need as far as I can see for it to do this.

This prevents anyone from installing ubuntu from one partition of a drive to another, regardless of the drive involved, be it USB, SD or even straight HD as the partition table will never be accessible for editing while a partition is mounted and active (running the live disk).

Revision history for this message
Carey Underwood (cwillu) wrote :

This is still a problem in karmic as of alpha 3.

Revision history for this message
Carey Underwood (cwillu) wrote :

/lib/partman/commit.d/01unmount_busy has a comment at the top saying that it should be largely unnecessary, and that it's kept just as a safeguard. Disabling it makes the install continue normally.

Can this be disabled, or does somebody need to teach it to either ask the user for confirmation, or to duplicate the checks that ubiquity makes, based on the changes the user actually selected?

Carey Underwood (cwillu)
summary: - Ubuntu Jaunty installer lies about touching partition table
+ Install aborts because of unwritable partition table, after Ubiquity
+ reports that it doesn't need to edit the partition table
Revision history for this message
Phillip Susi (psusi) wrote :

I believe this was fixed a few years ago by changes to libparted so that it will no longer fail to update the partition table when another partition on the disk is in use.

Changed in ubiquity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.