-   Slackware (
-   -   Windows on LUKS LVM Post Slackware 12.1 Install (

-{Jester}- 05-12-2008 08:35 PM

Windows on LUKS LVM Post Slackware 12.1 Install
Here is my current set up (it's been working out great). For anyone that was wondering, I just followed README-Crypt.

fdisk -l output:

Device Boot      Start        End      Blocks  Id  System
/dev/sda1              1          12      96358+  83  Linux
/dev/sda2              13      24321  195262042+  8e  Linux LVM

lvm vgs output:

  VG                #PV #LV #SN Attr  VSize  VFree
  crypt_volume_group  1  3  0 wz--n- 186.21G 27.21G

lvm lvs output:

  LV  VG                Attr  LSize  Origin Snap%  Move Log Copy%  Convert
  home crypt_volume_group -wi-ao 150.00G
  root crypt_volume_group -wi-ao  8.00G
  swap crypt_volume_group -wi-ao  1.00G

As you can see, I've got everything encrypted besides a small boot partition. I'd like to use maybe 15G of the 27 I have free from my volume group to add a Windows partition to my setup. I've put together a list of the steps I think I need to take and I was hoping a few of the gurus around here could give it a quick once over to see if I missed anything.

First, create the logical volume that windows will be stored on:

~# lvcreate -L 15G -n windows crypt_volume_group
Then, add a LILO entry for the Windows partition.

Finally, install Windows.

There is one caveat that I am not quite sure how to handle. How can I make the Windows installer able to recognize the partition I want to install it on if it is encrypted? It is possible to unlock it temporarily or am I pretty much stuck?

Bruce Hill 05-13-2008 01:35 AM

For Windows afaik you need to use something like TrueCrypt.

Alien Bob has it in his repository. Might need updating, but you can use and edit his scripts.

Alien Bob 05-13-2008 03:22 AM

You will not be able to install Windows on the encrypted partition - you will need a Linux initrd to unlock the partition before you can even access the Logical Volume. And Windows cannot be installed in a LVM either - only plain primary partitions will work. Basically you're stuck indeed.


ant_code 05-22-2008 10:09 PM

You could try to lock up your machine installing nemonico. Sometimes it happens :)

zux 05-23-2008 02:10 AM

virtual machine for you :)
maybe backing up your data and repartitioning with 1 unencrypted windows partition might help

All times are GMT -5. The time now is 06:52 AM.