Ubiquity mounts wrong Linux partition

Bug #576881 reported by Akilan R on 2010-05-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
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
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
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

Akilan R (akilan27) wrote :
Akilan R (akilan27) wrote :

This bug is not only in 64 bit edition. I checked with 32 bit ed and that too has this bug.

Monkey (monkey-libre) on 2010-05-09
tags: removed: amd64
jolo (joop-loep) on 2010-12-16
summary: - Ubiquity mounts wrong Linux partition
+ Ubiquity tries to mount not selected Linux partitions to target
+ directory
jolo (joop-loep) wrote :

Sorry, It seems I accidently changed the wrong bug discrition.

summary: - Ubiquity tries to mount not selected Linux partitions to target
- directory
+ Ubiquity mounts wrong Linux partition
tags: added: ubiquity-2.2.24
Download full text (65.4 KiB)

Exception during installation:
May 7 13:15:34 ubuntu python: Traceback (most recent call last):
May 7 13:15:34 ubuntu python: File "/usr/share/ubiquity/install.py", line 2566, in <module>
May 7 13:15:34 ubuntu python: install.run()
May 7 13:15:34 ubuntu python: File "/usr/share/ubiquity/install.py", line 418, in run
May 7 13:15:34 ubuntu python: self.configure_bootloader()
May 7 13:15:34 ubuntu python: File "/usr/share/ubiquity/install.py", line 1688, in configure_bootloader
May 7 13:15:34 ubuntu python: "GrubInstaller failed with code %d" % ret)
May 7 13:15:34 ubuntu python: InstallStepError: GrubInstaller failed with code 1
May 7 13:15:34 ubuntu python:
May 7 13:15:35 ubuntu ubiquity[4989]: debconffilter_done: ubiquity.components.install (current: None)
May 7 13:15:35 ubuntu ubiquity[4989]: Exception in GTK frontend (invoking crash handler):
May 7 13:15:35 ubuntu ubiquity[4989]: Traceback (most recent call last):
May 7 13:15:35 ubuntu ubiquity[4989]: File "/usr/lib/ubiquity/bin/ubiquity", line 524, in <module>
May 7 13:15:35 ubuntu ubiquity[4989]: main(oem_config)
May 7 13:15:35 ubuntu ubiquity[4989]: File "/usr/lib/ubiquity/bin/ubiquity", line 509, in main
May 7 13:15:35 ubuntu ubiquity[4989]: install(args[0], query=options.query)
May 7 13:15:35 ubuntu ubiquity[4989]: File "/usr/lib/ubiquity/bin/ubiquity", line 242, in install
May 7 13:15:35 ubuntu ubiquity[4989]: ret = wizard.run()
May 7 13:15:35 ubuntu ubiquity[4989]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 513, in run
May 7 13:15:35 ubuntu ubiquity[4989]: self.process_step()
May 7 13:15:35 ubuntu ubiquity[4989]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 1179, in process_step
May 7 13:15:35 ubuntu ubiquity[4989]: self.progress_loop()
May 7 13:15:35 ubuntu ubiquity[4989]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 1062, in progress_loop
May 7 13:15:35 ubuntu ubiquity[4989]: (ret, realtb))
May 7 13:15:35 ubuntu ubiquity[4989]: RuntimeError: Install failed with exit code 1
May 7 13:15:35 ubuntu ubiquity[4989]: Traceback (most recent call last):
May 7 13:15:35 ubuntu ubiquity[4989]: File "/usr/share/ubiquity/install.py", line 2566, in <module>
May 7 13:15:35 ubuntu ubiquity[4989]: install.run()
May 7 13:15:35 ubuntu ubiquity[4989]: File "/usr/share/ubiquity/install.py", line 418, in run
May 7 13:15:35 ubuntu ubiquity[4989]: self.configure_bootloader()
May 7 13:15:35 ubuntu ubiquity[4989]: File "/usr/share/ubiquity/install.py", line 1688, in configure_bootloader
May 7 13:15:35 ubuntu ubiquity[4989]: "GrubInstaller failed with code %d" % ret)
May 7 13:15:35 ubuntu ubiquity[4989]: InstallStepError: GrubInstaller failed with code 1
May 7 13:15:35 ubuntu ubiquity[4989]:
May 7 13:17:04 ubuntu ubiquity[4989]: last message repeated 2 times
May 7 13:17:14 ubuntu ubiquity[19952]: Ubiquity 2.2.24
May 7 13:17:15 ubuntu ubiquity[19952]: log-output -t ubiquity umount /target/sys
May 7 13:17:15 ubuntu ubiquity[19952]: log-output -t ubiquity umount /target/proc
May 7 13:17:15 ubuntu ubiquity[19952]: log-output -t ubiquity umount /target/dev
May ...

tags: added: installer-crash
Simon Quigley (tsimonq2) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running only once:
apport-collect 576881

and any other logs that are relevant for this particular issue.

Changed in ubiquity (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers