Install: Migration Assistant fails to unmount nested volumes

Bug #112672 reported by Bryan Ford
6
Affects Status Importance Assigned to Milestone
migration-assistant (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: migration-assistant

While installing Ubuntu 7.04 release, during manual partitioning, I edited the default mount points of two existing partitions corresponding to an existing Linux installation so that the mount points were nested: i.e.,

/dev/hda3 - mount point: /suse
/dev/hda6 - mount point: /suse/home

...because this corresponds to the file system layout of the existing system (for the / and /home partitions respectively). Seemed reasonable anyway.

Main Bug: Unfortunately, after Ubuntu had mostly finished installation, the Migration Assistant gave me an error that it couldn't unmount the /dev/hda3 partition because it was in use, and I couldn't move past this point in the Ubuntu install process.

Subsidiary Bug: The first time through, being unable to figure out how to make it "Continue" from this point, I tried clicking "Go Back", and instead of doing something sensible like "going back", it just silently aborted the entire install process, and I had to start all over again. Even if it's not really possible to "go back" at this point, the error dialog should at least say something like "Abort Install" or something appropriate to what the button causes to happen.

The second time through the install process, though, I guessed that the reason Migration Assistant couldn't unmount /dev/hda3 from '/suse' might be because /dev/hda6 was still mounted at '/suse/home' - so I opened a terminal window, manually unmounted /dev/hda6, and clicked 'Continue' on the Migration Assistant error box, and sure enough, everything was peachy.

So the solution to the Main Bug, obviously, is simply that Migration Assistant's unmount process should be a bit more careful about the order in which unmounts partitions: e.g., it should unmount partitions at longer mount point paths before trying to unmount partitions with shorter mount points.

Thanks,
Bryan

Evan (ev)
Changed in migration-assistant:
assignee: nobody → evand
status: Unconfirmed → Confirmed
Revision history for this message
parren (peter-arrenbrecht) wrote :

I second the complaint that the dialog about the failed unmount is misleading. Instead of "Go Back" and "Continue" it should be "Abort Installation" and "Skip Migration And Continue Install". The former maybe should be "Try Again" if that's what it is supposed to do instead of aborting (maybe that's a separate bug).

Revision history for this message
parren (peter-arrenbrecht) wrote :

The dialog is still confusing in the RC. And it appears twice: once when the m-a tries to figure out what to propose, then when it actually runs during setup (even though it was configured to do nothing!).

Revision history for this message
arekkusu (arekkusu-r) wrote :

I just came across this bug in 8.04 Alpha 6. I hope it will be fixed for the final release !

Evan (ev)
Changed in migration-assistant (Ubuntu):
assignee: Evan Dandrea (ev) → nobody
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.