Package: debian-install
Version: squeeze
Severity: minor

(I'm filing this against debian-installer because I couldn't actually find 
the code that was complaining. If you know where it is please let me know. 
Despite looking in several places I couldn't find it)

Note: This is a very minor corner case, but was very frustrating to me.

Today I was doing a squeeze install and ran into a situation where the 
partitioner wouldn't let me exit, saying

   │                   Encryption configuration failure                    │
   │ You have selected the /boot file system to be stored on an encrypted  │
   │ partition. This is not possible because the boot loader would be      │
   │ unable to load the kernel and initrd. Continuing now would result in  │
   │ an installation that cannot be used.                                  │
   │                                                                       │
   │ You should go back and choose a non-encrypted partition for the /boot │
   │ file system.                                

but /boot was on a non-encrypted partition.

I poked around on the system and eventually found

/var/lib/parted/devices/=dev=mapper=md3_crypt/0-500103499775/mountpoint

which contained /boot. Then I remembered at one point in the install I got 
mixed up about partitions and had set the mount point for an encrypted 
partition to be /boot. But then I realized that was wrong and changed it 
back.

So it looks like this check is using cached values. If there is some other 
way of doing this check that isn't prone to this weird corner case, that 
would be good.

Thanks,

-- 
Matt Taggart
[email protected]





-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to