Ubiquity mounts wrong Linux partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ubiquity
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu.
Ubuntu 10.04 LTS Lucid Lynx
2) The version of the package you are using, via 'apt-cache policy packagename' or by checking in Synaptic.
Ubiquity - 2.2.24
3) What you expected to happen
4) What happened instead
NOTE: I had Karmic(9.04) installed in /dev/sda5. and didn't want to replace it with Lucid, for some reasons.
I selected /dev/sda11 and had asked Ubiquity to format it with Ext4 FS and mount '/' in it. No separate mount points were specified for /boot or /home. Swap was given as /dev/sda6.
It mounted /dev/sda11 in /target and started copying files which went fine. It also downloaded latest package files from net.
But after this, at one point, it unmounted all devices and STRANGELY, MOUNTED /dev/sda5 IN /target [INSTEAD OF /dev/sda11 ] AND BINDED /dev, /proc etc in /target/dev, /target/proc etc. AND chrooted INTO /target and started configuring hardware, installing grub etc.
This, of course, failed to correctly complete the installation process given that /dev/sda11 should have been mounted instead of /dev/sda5.
I have verified this with other computers and the bug is repeatable. That is, if there is another Linux system in a lower partition number (here 5<11) then for some unknown reasons the wrong device is mounted. :-( If there is no Linux system or the one is being over written, then installation completes successfully.
NOTE: Please note that ubiquity was run again and manually interrupted during that second run and i mounted the correct file system enabling successful completion of install process. Hence the attached '/var/log/syslog' file will indicate two runs of Ubiquity. I WAS ASKED TO ATTACH '/var/log/partman' ALSO, BUT LAUNCHPAD ALLOWS ONLY ONE FILE TO BE UPLOADED.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ubiquity 2.2.24
ProcVersionSign
Uname: Linux 2.6.32-21-generic x86_64
Architecture: amd64
Date: Fri May 7 18:58:20 2010
LiveMediaBuild: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
tags: | removed: amd64 |
summary: |
- Ubiquity mounts wrong Linux partition + Ubiquity tries to mount not selected Linux partitions to target + directory |
tags: | added: ubiquity-2.2.24 |
This bug is not only in 64 bit edition. I checked with 32 bit ed and that too has this bug.