migration-assistant dies with separate home partition

Bug #292223 reported by Fabrizio Balliano on 2008-11-01
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

My partition schema
--------------------------
    * sda1 - 2GB - SWAP
    * sda2 - 10GB - root partition (with Ubuntu 8.04.1 installed)
    * sda3 - all the remaining space - /home

Installation
---------------
I start the Ubuntu installer, fill in all required data, tell the system that I want to format my sda2 partition and mount it as the root (”/”) and to mount my sda3 partition as /home (without formatting it). A few more clicks and the system was installing, time to take a coffee.

Here comes a problem, I’m back from my coffee and I see no installer on my screen, it’s crashed! So I’m launching it again, retype my info but I can’t see my partitions anymore…

Rebooting…

Relaunching the installer, filling data and start the installation process, it’s about to finish when it crashes again, I take a look here and there in the logs and see that’s something about the migration assistant (actually I have nothing to migrate, I’m using my old home directory…).

Rebooting again…

I remember that’s possible to launch the installer disabling the migration assistant thus I open a terminal and type:
sudo ubiquity --no-migration-assistant
and do it all again, this time everything goes fine and I can boot my wonderful Intrepid from my disk.

Vladimir Yakovlev (nagos) wrote :

Have same problem.
On HDD is sda5 - reiserfs, sda6 - swap, sda7 - reiserfs In installer format sda5.
Installer crushed in migration or grub instalation.
In the begining of instalation it /target is mounted sda5. After installer crashed - in /target mounted sda7.
Problem - SWAP is used in live-cd. If you stopswap before installation - all works fine.

Ryan Prior (ryanprior) wrote :

Setting to "confirmed" due to multiple reports.

Changed in ubiquity:
status: New → Confirmed
Guido I (guidoweb) wrote :

Experienced the same problem and trials as the original poster. I didn't know about the --no-migration-assistant option, so i just ran on a console "grub-install --root-directory=/target/ /dev/sda" and will now reboot (i'm writing this while still on the live cd).

migration-assistant, from what i could check on the syslog, died because it couldn't umount the home partition (mounted on /mnt/migrationassistant)

Nov 19 14:01:57 ubuntu ubiquity[8220]: InstallStepError: MigrationAssistantApply failed with code 2

before, in the logs, these messages appeared:

Nov 19 14:01:40 ubuntu os-prober: debug: os detected by /usr/lib/os-probes/mounted/40lsb
Nov 19 14:01:40 ubuntu ubiquity: mount: /dev/mapper/lvmvol-home já montado ou /mnt/migrationassistant ocupado
Nov 19 14:01:40 ubuntu ubiquity:
Nov 19 14:01:40 ubuntu ubiquity: mount: de acordo com mtab, /dev/mapper/lvmvol-home já está montado em /mnt/migrationassistant
Nov 19 14:01:40 ubuntu ubiquity:
Nov 19 14:01:40 ubuntu migration-assistant: error: Failed to mount /dev/mapper/lvmvol-home
Nov 19 14:01:40 ubuntu ubiquity: mount: o ponto de montagem /mnt/migrationassistant/home não existe
Nov 19 14:01:40 ubuntu ubiquity:
Nov 19 14:01:40 ubuntu ubiquity: umount: /mnt/migrationassistant: device is busy.
Nov 19 14:01:40 ubuntu ubiquity: (In some cases useful info about processes that use

hope that helps.
Thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers