[Bug 246920] Re: live CD installer ignores dontuse when assigning swap partitions
Ransom stark
246920 at bugs.launchpad.net
Tue Oct 13 19:17:07 UTC 2015
** Changed in: ubiquity (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/246920
Title:
live CD installer ignores dontuse when assigning swap partitions
Status in ubiquity package in Ubuntu:
Incomplete
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/246920/+subscriptions
More information about the foundations-bugs
mailing list