Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th March 2010, 12:52 AM
theAdmiral Offline
Registered User
 
Join Date: Nov 2008
Posts: 495
linuxfirefox
Can I decrypt an encrypted drive?

Can I decrypt an encrypted drive without loss of data? If so, how, please?

Thanks,
__________________
---------------------------------------------------------
Dual-boot
System: HP Pavilion dv6500 Notebook PC Rev. 1
Intel(R) Core(TM)2 Duo CPU T7500 @2.2GHz
Number of CPUs: 2 (32-bit)
System Memory: 3072MB
Fedora 16 KDE Verne
Windoze 7, SP1

System: Sony Vaio
Intel (R) Pentium (R) 4 CPU 2.8 GHz
System Memory: 992 MB RAM
Fedora 16
Reply With Quote
  #2  
Old 15th March 2010, 01:02 AM
pete_1967 Online
Clueless in a Cuckooland
 
Join Date: Mar 2006
Location: Here now, elsewhere tomorrow.
Posts: 3,929
linuxfedorafirefox
Re: Can I decrypt an encrypted drive?

Try this for info.
__________________
A Drink is Not Just For Christmas - SaskyCom :thumb:


“Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime” so now go and...
RTFM FIRST: http://docs.fedoraproject.org/ & http://rute.2038bug.com/index.html.gz
Reply With Quote
  #3  
Old 15th March 2010, 01:09 AM
theAdmiral Offline
Registered User
 
Join Date: Nov 2008
Posts: 495
linuxfirefox
Re: Can I decrypt an encrypted drive?

I could use something written by the layperson, for the layperson, not something written by an Information Security Consultant employed by a fortune 500 application service provider who processes approximately half of the $5 trillion of residential mortgage debt in the US--a certified computer forensics specialist. In addition, author of the enterprise wide security incident management plan and information security policies for his corporation.

Thanks anyway,
__________________
---------------------------------------------------------
Dual-boot
System: HP Pavilion dv6500 Notebook PC Rev. 1
Intel(R) Core(TM)2 Duo CPU T7500 @2.2GHz
Number of CPUs: 2 (32-bit)
System Memory: 3072MB
Fedora 16 KDE Verne
Windoze 7, SP1

System: Sony Vaio
Intel (R) Pentium (R) 4 CPU 2.8 GHz
System Memory: 992 MB RAM
Fedora 16
Reply With Quote
  #4  
Old 15th March 2010, 01:26 AM
pete_1967 Online
Clueless in a Cuckooland
 
Join Date: Mar 2006
Location: Here now, elsewhere tomorrow.
Posts: 3,929
linuxfedorafirefox
Re: Can I decrypt an encrypted drive?

You mean something on a silver platter so you don't have to lift a finger to do any research to find a solution like read more than the first result or change the query to find more, or even, wow, go to google.com/linux and do same search?

Yeah, I'm just tired to read these questions where people expect someone else to do all the work for them.
__________________
A Drink is Not Just For Christmas - SaskyCom :thumb:


“Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime” so now go and...
RTFM FIRST: http://docs.fedoraproject.org/ & http://rute.2038bug.com/index.html.gz
Reply With Quote
  #5  
Old 15th March 2010, 03:26 AM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
windows_7firefox
Re: Can I decrypt an encrypted drive?

To answer your questions as best anybody can right now:
1) Yes, it's possible.
2) Don't know. You'd have to give details.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #6  
Old 15th March 2010, 03:44 AM
theAdmiral Offline
Registered User
 
Join Date: Nov 2008
Posts: 495
linuxfirefox
Re: Can I decrypt an encrypted drive?

Hmm. I don't know what I am doing (still a noob--how long till one is not a noob, anyway?)

So, to give you the details, I would have to ask you, "What details?" What info do you need for me to help you help me?

Thank you most kindly,
__________________
---------------------------------------------------------
Dual-boot
System: HP Pavilion dv6500 Notebook PC Rev. 1
Intel(R) Core(TM)2 Duo CPU T7500 @2.2GHz
Number of CPUs: 2 (32-bit)
System Memory: 3072MB
Fedora 16 KDE Verne
Windoze 7, SP1

System: Sony Vaio
Intel (R) Pentium (R) 4 CPU 2.8 GHz
System Memory: 992 MB RAM
Fedora 16
Reply With Quote
  #7  
Old 15th March 2010, 03:52 AM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
windows_7firefox
Re: Can I decrypt an encrypted drive?

Did you set up the encryption at install time, or are you using some sort of "third party" encryption you applied later? What options did you pick at install time?
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #8  
Old 15th March 2010, 03:54 AM
theAdmiral Offline
Registered User
 
Join Date: Nov 2008
Posts: 495
linuxfirefox
Re: Can I decrypt an encrypted drive?

Thanks for your reply.

No, I am not using third-part software. I set up the encryption at install-time.

I set up four drives: /boot, /root, swap, and /home. The purpose of the decryption is because I am trying to get VMWare to install WinVista on a virtual machine, and WinVista is not taking the drive in the setup.

Thanks much,
__________________
---------------------------------------------------------
Dual-boot
System: HP Pavilion dv6500 Notebook PC Rev. 1
Intel(R) Core(TM)2 Duo CPU T7500 @2.2GHz
Number of CPUs: 2 (32-bit)
System Memory: 3072MB
Fedora 16 KDE Verne
Windoze 7, SP1

System: Sony Vaio
Intel (R) Pentium (R) 4 CPU 2.8 GHz
System Memory: 992 MB RAM
Fedora 16

Last edited by theAdmiral; 15th March 2010 at 03:57 AM.
Reply With Quote
  #9  
Old 15th March 2010, 09:08 AM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,852
windows_7firefox
Re: Can I decrypt an encrypted drive?

Using LVM? Did you do a default partitioning scheme or a custom one?

If you used LVM, I'll have to defer to somebody who knows more about how Anaconda installs. What I don't know is whether Anaconda encrypts first and then associates a physical volume with the encrypted device node, or encrypts individual LVM logical volumes.

Think of it like those Russian dolls. If you used LVM, you have to figure out whether to 1) decrypt first and then scan for logical volumes, or 2) scan for logical volumes first and decrypt after that.

I think Anaconda puts the logical volumes inside the encryption, but I'm not sure. I don't want to blindly start suggesting some dangerous commands to try from a LiveCD.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #10  
Old 15th March 2010, 10:14 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Re: Can I decrypt an encrypted drive?

Quote:
Originally Posted by pete_1967 View Post
You mean something on a silver platter so you don't have to lift a finger to do any research to find a solution like read more than the first result or change the query to find more, or even, wow, go to google.com/linux and do same search?

Yeah, I'm just tired to read these questions where people expect someone else to do all the work for them.

Do what I do , don't bother answering
Reply With Quote
  #11  
Old 15th March 2010, 10:33 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,933
linuxfedorafirefox
Re: Can I decrypt an encrypted drive?

You guys are brutal.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #12  
Old 15th March 2010, 01:37 PM
theAdmiral Offline
Registered User
 
Join Date: Nov 2008
Posts: 495
linuxfirefox
Re: Can I decrypt an encrypted drive?

Quote:
Originally Posted by tjvanwyk View Post
Using LVM? Did you do a default partitioning scheme or a custom one?

If you used LVM, I'll have to defer to somebody who knows more about how Anaconda installs. What I don't know is whether Anaconda encrypts first and then associates a physical volume with the encrypted device node, or encrypts individual LVM logical volumes.

Think of it like those Russian dolls. If you used LVM, you have to figure out whether to 1) decrypt first and then scan for logical volumes, or 2) scan for logical volumes first and decrypt after that.

I think Anaconda puts the logical volumes inside the encryption, but I'm not sure. I don't want to blindly start suggesting some dangerous commands to try from a LiveCD.
I used a custom layout with no LVMs. I believe made /root primary at about 40G, /swap non-primary at 4G, and /home primary at 105G.

Thanks,
__________________
---------------------------------------------------------
Dual-boot
System: HP Pavilion dv6500 Notebook PC Rev. 1
Intel(R) Core(TM)2 Duo CPU T7500 @2.2GHz
Number of CPUs: 2 (32-bit)
System Memory: 3072MB
Fedora 16 KDE Verne
Windoze 7, SP1

System: Sony Vaio
Intel (R) Pentium (R) 4 CPU 2.8 GHz
System Memory: 992 MB RAM
Fedora 16
Reply With Quote
  #13  
Old 15th March 2010, 01:43 PM
pete_1967 Online
Clueless in a Cuckooland
 
Join Date: Mar 2006
Location: Here now, elsewhere tomorrow.
Posts: 3,929
macossafari
Re: Can I decrypt an encrypted drive?

Quote:
Originally Posted by leigh123linux View Post
Do what I do , don't bother answering
I do 99.9999% of time but no-one's perfect
__________________
A Drink is Not Just For Christmas - SaskyCom :thumb:


“Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime” so now go and...
RTFM FIRST: http://docs.fedoraproject.org/ & http://rute.2038bug.com/index.html.gz
Reply With Quote
  #14  
Old 15th March 2010, 02:52 PM
aleph's Avatar
aleph Offline
Banned (for/from) behaving just like everybody else!
 
Join Date: Jul 2007
Location: Beijing, China
Posts: 1,307
linuxfedorafirefox
Re: Can I decrypt an encrypted drive?

Quote:
Originally Posted by theAdmiral View Post
I used a custom layout with no LVMs. I believe made /root primary at about 40G, /swap non-primary at 4G, and /home primary at 105G.

Thanks,
What the h3ll is that? You gave whole 40 gigs to /root? On it's own partition? I guess you mean /, the root directory as a mount point, not /root, which is the home directory of the root user.

But anyway. Since you can read/write to the your partitions without any problems, why do you think it is encryption that is blocking VMWare? If there's a problem with encryption you won't be able to mount the partitions or use them at all.

Once you've got the encrypted partitions mounted, the en/de-crypto is transparent to all user processes (duh). If for some reason VMWare wants to look for the disk partition device file which it thinks should be needing, tell it to look under /dev/mapper for the luks-xxxxxxx files which are decrypted block device files for the partitions. The file /etc/fstab or the output of "df" will tell you which device file is mounted at which mountpoint (directory).

Not that I'm familiar with VMWare or understanding what you want to do, though, so I'm probably totally off-topic here.

P.S.

This page
may possibly help you understand the ideas behind disk encryption if you think you're a "noob".
__________________
I believe in nerditarianism. I read FedoraForum for the Fedora-related posts.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Decrypt during boot using luks keyfile on usb drive geofft Security and Privacy 6 20th October 2009 02:53 AM
encrypted usb drive steve941 Security and Privacy 0 27th July 2005 05:21 AM
*Installing* on encrypted drive Poophead Fedora Core 4 Test 2 30th April 2005 05:01 PM
Encrypted USB pen drive termleech Security and Privacy 2 17th July 2004 12:43 AM
Encrypted Root Drive using loop-AES Noid Security and Privacy 2 6th July 2004 05:51 AM


Current GMT-time: 17:12 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat