LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-04-2014, 07:56 AM   #1
cstone1983
LQ Newbie
 
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
Exclamation mount existing encrypted drive on install


Hello all,

I have an interesting question. Currently I have Ubuntu 12.04 LTS desktop installed which I run as a server also. I have all drives encrypted including the swap. I used this guide. and have my primary drive as / and an external 1TB as /home. I would like to do a fresh install but remount the /home during the install without loosing any data. Is it possible and if so how can I do this during the install.
I am not the most adept at linux but I am trying to get better any help would be greatly appreciated thanks.
 
Old 07-05-2014, 08:09 PM   #2
saivinoba
Member
 
Registered: Oct 2007
Distribution: FreeBSD, Slackware
Posts: 48

Rep: Reputation: 9
If you have your /home on an external HDD, no need to mount it during installation. You can proceed with installation and after installation is completed, can edit /etc/fstab to mount your /home on external HDD.

While you may be able to specify your separate /home yet choose _not_ to format it in the installer, it is prone to mistakes. You will never know how you will be surprised ;-) There was (is?) a bug with ubiquity (the Ubuntu/Mint installer) that if you chose, "Replace OS with.." option, it will not just format the / partition of the previous release, but the whole drive! It's fixed in Mint (for later releases of Mint 17) but still not in Ubuntu if I've followed correctly. Ofcourse, it may not affect you as you have your /home (i.e., imp data) on a separate disk, but serves as an example.

Oh, another thing; I think ubuntu installer does not recognise the previous encrypted drive unlike anaconda (the Fedora/CentOS installer). So, if you want to reuse your previous encrypted drive, you have to first decrypt and use that. Also, before you reboot, you need to update /etc/crypttab otherwise, it will not boot up.

Last edited by saivinoba; 07-05-2014 at 08:16 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Ubuntu 12.04 hard drive encrypted and the existing password cannot decrypt it... andrew262 Ubuntu 2 05-22-2014 07:24 AM
Ubuntu 12.04 hard drive was encrypted and the existing password cannot decrypt it... andrew262 Linux - Newbie 2 05-15-2014 01:23 PM
mount a drive onto an existing mount berrance Linux - Software 8 09-09-2008 03:06 AM
Can't mount encrypted USB drive letrout Linux - General 1 02-08-2006 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:21 PM.

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