[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#385927: debian-installer: Swap over LVM over crypt not allowed

Package: debian-installer
Severity: important

Installed using latest daily D-I netinst.  I tried to create the 
following structure:

sda (ext3 /boot, crypt (lvm (ext3 /, swap) ) )

That is, root/swap on top of LVM on top of crypt.  However, D-I is a 
little too smart for itself, detected that a swap partition was being 
created that wasn't directly on a crypt partition, gave a "Unsafe swap 
space detected" error, and refused to proceed.  However, this particular 
configuration is not unsafe, but D-I doesn't realize that because of the 
LVM layer between crypt and swap.

I was able to proceed by adding a second crypt layer:

sda (ext3 /boot, crypt (lvm (ext3 /, crypt (swap) ) ) )

But D-I should be smart enough to realize that crypt is already present 
farther up the tree.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Reply to: