Comment 0 for bug 324987

Revision history for this message
TJ (tj) wrote : Separate /boot/ partition fails

Binary package hint: ubiquity

The description of this bug report might also read "Ubiquity causes kernel to *lose* the /dev/sda5 partition". The installer fails because one of the partitions it is trying to prepare *disappears* as a result of one of the many scan/file-system detection operations that ubiquity/partman perform. I've been unable to pin-point the culprit so far. Checking /proc/partitions shows that sda5 has gone missing.

Before:

major minor #blocks name

   7 0 690828 loop0
   8 0 390711384 sda
   8 1 9764864 sda1
   8 2 28738560 sda2
   8 3 4194304 sda3
   8 4 1 sda4
   8 5 122880 sda5
   8 6 347889719 sda6
   8 16 2000880 sdb
   8 17 2000061 sdb1
 252 0 19529728 dm-0
 252 1 9764864 dm-1
 252 2 4882432 dm-2
 252 3 9764864 dm-3
 252 4 3903488 dm-4
 252 5 9763836 dm-5
 252 6 3902460 dm-6
 252 7 19528700 dm-7

After:

major minor #blocks name

   7 0 690828 loop0
   8 0 390711384 sda
   8 1 9764864 sda1
   8 2 28738560 sda2
   8 3 4194304 sda3
   8 4 1 sda4
   8 6 347889719 sda6
   8 16 2000880 sdb
   8 17 2000061 sdb1
 252 0 19529728 dm-0
 252 1 9764864 dm-1
 252 2 4882432 dm-2
 252 3 9764864 dm-3
 252 4 3903488 dm-4
 252 5 9763836 dm-5
 252 6 3902460 dm-6
 252 7 19528700 dm-7

Although I'm testing Jaunty amd64 alpha 3 LiveCD, this bug also occurs using the Intrepid amd64 LiveCD.

The Sony Vaio (laptop) has a single new SATA 400GB. It has been organised thus:

/dev/sda1 Windows Recovery ntfs ~9GB
/dev/sda2 Windows Vista ntfs ~28GB
/dev/sda3 Linux swap ~4GB
/dev/sda4 extended
/dev/sda5 Linux ext3 ~125MB
/dev/sda6 Linux LVM

Once the LiveCD environment starts I install LVM and cryptsetup, 'mount' the LVM volumes and unlock them (each is secured using LUKS and a key-file.

VG = Ubuntu
LVs (in /dev/Ubuntu/) = Jaunty, Jaunty_var, home
encrypted (in /dev/mapper) = root (ext4), var ext4), home (ext3)

sda3 is for swap
sda5 is for /boot/ (ext3)