ubiquity migration assistant did not unmount other Linux volumes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
migration-assistant (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubiquity
While installing from the Ubuntu desktop daily build CD of today, the installation failed.
The installer encountered an error copying files to the hard disk: [Errno 2] No such file or directory:
When I check with ls in /target/
lsb_release -rd
Description: Ubuntu natty (development branch)
Release: 11.04
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ubiquity 2.5.5
ProcVersionSign
Uname: Linux 2.6.37-8-generic i686
Architecture: i386
Date: Mon Dec 13 19:44:35 2010
LiveMediaBuild: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20101213)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
description: | updated |
tags: | added: ubiquity-2.5.5 |
Changed in migration-assistant (Ubuntu): | |
status: | New → Confirmed |
I finally discovered where ubiquity failed. When I finished "Who are you?" These are the mount points
ubuntu@ubuntu:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
aufs 771516 40672 730844 6% /
none 764808 284 764524 1% /dev
/dev/sr0 722346 722346 0 100% /cdrom
/dev/loop0 687872 687872 0 100% /rofs
none 771516 164 771352 1% /dev/shm
tmpfs 771516 44 771472 1% /tmp
none 771516 88 771428 1% /var/run
none 771516 4 771512 1% /var/lock
/dev/sda10 21413452 634204 19691504 4% /target
But if I click on Forward, then suddenly ubiquity mounts not selected Linux partitions to the same target diectory, which causes ubiquity to fail.
ubuntu@ubuntu:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
aufs 771516 40700 730816 6% /
none 764808 284 764524 1% /dev
/dev/sr0 722346 722346 0 100% /cdrom
/dev/loop0 687872 687872 0 100% /rofs
none 771516 164 771352 1% /dev/shm
tmpfs 771516 44 771472 1% /tmp
none 771516 88 771428 1% /var/run
none 771516 4 771512 1% /var/lock
/dev/sda10 48027996 2903708 42684608 7% /target
/dev/sda6 48027996 2903708 42684608 7% /target
/dev/sda8 48027996 2903708 42684608 7% /target
ubuntu@ubuntu:~$
On /dev/sda6 is Ubuntu 10.04.1 installed. On /dev/sda8 is Ubuntu 10.10 installed.
I found a workaround. When I manually selected partiton /dev/sda10 as root partition formatted as EXT4 and click on Forward and I wait for the "Ready when you are" dialog. Then I did the rest of the steps. Then again if I click by "Who are you?" on Forward ubiquity still mount other Linux partitions to the same target directory. But this time I did manually umounted /dev/sda6 and /dev/sda8
sudo umount /dev/sda8
sudo umount /dev/sda6
So only /dev/sda10 is mounted to the target directory. After that I was able to finish the installation with succes.