Fedora Linux Support Community & Resources Center
  #1  
Old 16th September 2008, 06:46 AM
h4t3 Offline
Registered User
 
Join Date: Apr 2008
Posts: 17
Encryption woes

Hello,

When I installed Fedora, i ticked the encrypt box, now i wish to format and un-encrypt the drive.... i loaded a gparted CD which couldn't recognize the format it was in... i dont know where to start and ive asked google... how can i un-encrypt and format it?

Regards,

h4t3
Reply With Quote
  #2  
Old 16th September 2008, 07:01 AM
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 46
Posts: 3,936
you will lose all the data on the drive .If you don't mind then burn to disk dban
Darik's Boot And Nuke
http://www.dban.org/
__________________
OpenSUSE 13.1-64bit & Scientific Linux 6.5-64bit ( fedora 4 to 11) and 19/20 on KVM
My Celestia Downloads

h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10
Reply With Quote
  #3  
Old 16th September 2008, 07:08 PM
A.Serbinski Offline
Registered User
 
Join Date: Jul 2006
Posts: 1,123
dban is irrelevant for this purpose and just time consuming. The disk started out encrypted, so the data is secure enough that there is no reason to use a secure erase, particularly since the same data will be placed back on the disk without encryption.

If you want to save the data on the disk, you must create a BACKUP before proceeding. If not, then the easiest approach is to shove in the install DVD, boot on it, and follow the prompts to reinstall withOUT encryption.

If you ARE planning to save the data, then you'll probably want to do something like this:
boot on a livecd and run cryptsetup to map the encrypted partition to an decrypted device file, then backup the decrypted device file to a separate location using something along the lines of "dd if=/dev/mapper/whatever of=/mnt/whatever/backup" or "dd if=/dev/mapper/whatever | gzip > /mnt/whatever/backup.gz", then UNMAP the encrypted partition and run "fdisk /dev/sda" and change the partition type to NON-encrypted linux. Then restore the backup directly to the partition "dd if=/mnt/whatever/backup of=/dev/sda2" (presumably its the second partition on the first disk??) or "zcat /mnt/whatever/backup.gz | dd of=/dev/sda2".

After this is done, there should also be an additional step needed in order to specify that it should use the partition directly rather than mapping it, but I'm fuzzy on the details of this part.
Reply With Quote
Reply

Tags
encryption, woes

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
encryption NeoNerd Using Fedora 1 23rd November 2008 09:31 AM
md0 and other encryption michael12345 Security and Privacy 8 17th November 2008 03:05 PM
Encryption on FC4 magicdawg29 Servers & Networking 0 2nd August 2005 06:10 PM
WEP Encryption help!! lowlight1177 Servers & Networking 4 25th February 2005 04:28 PM


Current GMT-time: 15:58 (Friday, 25-07-2014)

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