LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-12-2008, 07:35 PM   #1
-{Jester}-
Member
 
Registered: Apr 2008
Location: The Internet
Distribution: Slackware
Posts: 49

Rep: Reputation: 15
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:
Code:
   
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:
Code:
  VG                 #PV #LV #SN Attr   VSize   VFree
  crypt_volume_group   1   3   0 wz--n- 186.21G 27.21G
lvm lvs output:
Code:
  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:
Code:
~# 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?
 
Old 05-13-2008, 12:35 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 05-13-2008, 02:22 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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.

Eric
 
Old 05-22-2008, 09:09 PM   #4
ant_code
LQ Newbie
 
Registered: Feb 2007
Location: Tampa, Florida
Distribution: Slackware (nemonico)
Posts: 4

Rep: Reputation: 0
You could try to lock up your machine installing nemonico. Sometimes it happens
http://sf.net/projects/nemonico

Last edited by ant_code; 05-22-2008 at 09:23 PM.
 
Old 05-23-2008, 01:10 AM   #5
zux
Member
 
Registered: Jul 2006
Location: latvia
Distribution: slackware
Posts: 140

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
luks dm-crypt + dd if=/dev/urandom. post-install Molly Debian 11 04-21-2008 10:30 AM
luks cryptsetup and lvm question ruzzed Linux - Software 3 09-16-2007 07:21 PM
slackware post install nicole_jeff Slackware 2 05-23-2004 06:06 AM
LVM install in slackware? cybrjackle Slackware 7 10-01-2003 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration