live CD installer ignores dontuse when assigning swap partitions

Bug #246920 reported by Johann Mitloehner
2
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The Ubuntu 8.04 Hardy live CD installer ignores the dontuse option
when it assigns swap partitions in manual mode.
I installed from the Live CD, chose manual mode, left the existing file
system intact, and did not assign a swap partition, since I planned on using
a swap file instead. The installer confirmed that no partition table changes
were about to happen, and no file systems would be formatted,
but assigned the swap partition anyway.
I lost my LUKS encrypted partition sdb1 when installing to sda2: the installer chose
the first partition on my second hard disk for 120 GB swap space!
I reproduced the bug and took special care to make sure that the partition type on sdb1
was 83 (Linux) and checked with fdisk before the install. The effect was the same.
It looks like the sdb1 partition had been used as swap space during the install:
hexdump -C showed the string SWAPSPACE2 and various shell script contents near the
begin of the partition, and fdisk reported type 82 (linux swap).
After reboot into the newly installed system there was no swap partition in use.
This behavior is unexpected and confusing, and, of course, potentially disastrous.
The gzip-ed installer log file /var/log/installer/partman is attached.

Revision history for this message
Johann Mitloehner (mitloehn) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in ubiquity which is the installer on the Live CD.

Changed in ubiquity (Ubuntu):
status: New → Incomplete
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.