omg stupid bug cost me a partition

William Hamra w.hamra1987 at
Thu May 20 23:50:17 UTC 2010

On 05/20/2010 04:08 PM, David Kuntadi wrote:
> On Thu, May 20, 2010 at 6:28 PM, Bruce Marshall <bmarsh at> wrote:
>> If he went through with the install, the install would format the swap area.
>> And he didn't catch at install time that was going to happen. �(should have)
>> That is why I never allow an install to assign/create partitions. �I always do
>> it ahead of time and then do my own assignments.
> Looks like he did manual assignment, not auto assign/create as the
> swap is 60 GB.
> DK
the assignments were manual. i am VERY sure i specified the correct
partition to be used as swap, the 2 GB one which is on same disk as root
the 60 GB partition was on another disk.
after install was succesful, i rebooted, but the disk names changed,
what used to be sda became sdb, and so on, they change after each reboot.
while all partitions listed in fstab and crypttab are specified using
UUIDs, the swap partition was specified using its dev node. hence, a
change in device names, meant a different partition on a different disk
than intended.
and yes, mkswap gets called upon every boot since i chose to encrypt my
swap using a random key generated on boot, so it has to be formatted
it so happened that my backup partition acquired the dev name swap used
to have during install, and got wiped clean.

Willy K. Hamra
Manager of Hamra Information Systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w_hamra1987.vcf
Type: text/x-vcard
Size: 134 bytes
Desc: not available
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the kubuntu-users mailing list