The other day I was installing Ubuntu 12.04 LTS from a boot-able pen drive. Everything went smooth as Ubuntu was easily able to detect that my system is dual booted with Microsoft Windows XP Professional. It suggested me to overwrite or upgrade the existing Ubuntu (Linux Mint that I was using earlier). I went ahead with overwriting the existing Linux mint.
Ubuntu 12.04 installation issue
Everything was going on fine until the installer started importing documents and settings. I was already curious as to what’s happening in this step. I googled a bit and found that the installer enables ‘migration assistant’ to import the documents and settings from the other already installed operating systems (Windows XP in my case). Well, to be honest I was a bit put off as I never wanted this to happen. Anyways, the worst was about to come. I waited for around 15 minutes but the progress bar was stuck at this step. It seemed like an Ubuntu 12.04 installation issue. After that I got an error message that some error occurred while migrating documents and settings.
An error occurred while migrating data. More details may be found in /var/log/syslog. The installation will continue, but some or all of the documents and settings you requested may not have been transferred to the installed system.
After I clicked ok, another message appeared soon :
Installation complete. You need to restart the computer in order to use the new installation
I thought that installation is complete so I clicked the restart button. But, to my horror, no OS was detected on system restart. In fact system landed on a grub recovery command prompt. I did not know what to do here. No commands (that I knew) were working here. There was no option left for me other than a hard reboot.
So, I was left with no other option than to research on this issue. I did a lot of googling and concluded that this is an installation bug of Ubuntu 12.04. I also found a couple of direct solutions that seemed to work for many:
$sudo -s $ubiquity --no-migration-assistant
$gksudo ubiquity --no-migration-assistant
The first command solved the problem for many but none of the above two commands were able to initiate the installation process in my case. I was about to give up when I tried the last trick where-in I added the flag ‘–no-migration-assistant’ to the command that Ubuntu installer launch icon(on the desktop) runs when the icon is clicked. (Right click on the installer icon followed by a click on properties).
After I did the change above, I launched the installation by the standard installer (to which I added the flag above) and HURRAY, the installation was successfully completed this time.
Saved the day for me!!!!!