Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I mount an encrypted fs from Live DVD?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Budoka
Guru
Guru


Joined: 03 Jun 2012
Posts: 338
Location: Tokyo, Japan

PostPosted: Sun Jun 03, 2012 10:26 am    Post subject: How do I mount an encrypted fs from Live DVD? Reply with quote

I think the subject sums it up well. I am playing with the 12.1 Hybrid Live DVD on a 64bit i7 laptop before installing. I have used a number of distros in the past but this is my first foray with gentoo.

My home is encrypted on a separate partition and would like to mount it from the the Live DVD. Of course I have the key. How would I go about doing this?
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2070

PostPosted: Sun Jun 03, 2012 11:37 am    Post subject: Reply with quote

Encrypted how? Luks?
Code:
cryptsetup luksOpen /dev/$cryptedpartition $somename [-d /path/to/keyfile]
If you omit a keyfile, you'd be asked to enter the passphrase by hand.

If that worked,
Code:
mount /dev/mapper/$somename /some/path

_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
Budoka
Guru
Guru


Joined: 03 Jun 2012
Posts: 338
Location: Tokyo, Japan

PostPosted: Wed Jun 20, 2012 5:21 am    Post subject: Reply with quote

avx wrote:
Encrypted how? Luks?
Code:
cryptsetup luksOpen /dev/$cryptedpartition $somename [-d /path/to/keyfile]
If you omit a keyfile, you'd be asked to enter the passphrase by hand.

If that worked,
Code:
mount /dev/mapper/$somename /some/path


Unfortunately didn't work. Someone mentioned in another thread that Ubuntu encrypts by ecryptfs. Would you know how I could mount using that?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum