Hardy alternate install problem with dm-crypt & luks

Bug #196084 reported by Bastian Becker
4
Affects Status Importance Assigned to Milestone
partman-auto-crypto (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hi there, I've tried to install Hardy Alpha 5 with an alternate cd. But I couldn't make a full system encryption.

Here are my steps:
1) I've deleted the whole partition table and made a new one
2) Make a new boot partition with ext3 for /boot with boot-flag
3) Make a new partition with encryption
4) Configure encrypted devices

First he set up the new boot partition. After that appears the problem (something like this failure-message): "Sorry, I can't configure the encryption because there is system data left on the partition."

It only works with this steps:
1) Steps 1&2 above
2) Make a new partition with ext3 & full formatting
3) Abort installation after successful formatting
4) Restart installation and change the ext3 partition to an encrypted device.

If you do the steps above, the failure doesn't appear. For your information: There was no system data or any type of data left on my hard drive / partition. If you need more information, feel free to ask.

Revision history for this message
Matthew Tighe (tighem) wrote :

I think you have to write the partition table before step 3. I'm pretty sure that's what I did when I went through the install.

Revision history for this message
Bastian Becker (bastianbecker-deactivatedaccount) wrote :

Hi Matthew,

I've written a new partition table before I've made the new encrypted partition. I think you made it like that:
1) New partition table -> 2) create new boot partition -> 3) create encrypted partition

If you do it like that? If yes, you've done it like me... I don't know where the fault is, because it works fine with Gutsy alternate.

Revision history for this message
Matthew Tighe (tighem) wrote :

Well I agree the alternate install certainly could use some tweaking especially around the encrypted disks stuff. I had to create my swap partition first inside the enc. disk, otherwise I got a cryptic error message. I think it told me I had to write out the partition first, though, so I'm not sure this is a bug but rather "wishlist" to make things more clear during the install process.

Revision history for this message
Bastian Becker (bastianbecker-deactivatedaccount) wrote :

Mhh I think that what you've told is not something for the wishlist. In Gutsy, it is no problem to do the first way I've done it. I think it is a bug. What feature do you think could it be that you have the things done like your way? Because of that, I think it is a good idea to confirm this bug ;)

Revision history for this message
Matthew Tighe (tighem) wrote :

Ok. I see your point.

Revision history for this message
Bastian Becker (bastianbecker-deactivatedaccount) wrote :

Problem seems to be solved in Ubuntu Hardy Heron Beta. Can somebody confirm it?

Revision history for this message
Bastian Becker (bastianbecker-deactivatedaccount) wrote :

Problem solved in Hardy Beta.

Changed in partman-auto-crypto:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.