LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-12-2008, 01:38 PM   #1
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Rep: Reputation: 30
knoppix 5.1-- how to mount an encrypted partition?


Trying to mount an encrypted partition in Knoppix 5.1 so I can rescue my data as my GUI (X server?) no longer works and dpkg-reconfigure xserver-xorg doesn't seem to help:

# mount -t ext3 /dev/hdb5 /media/hdb5=
Code:
mount: wrong fs type, bad option, bad superblock on /dev/hdb5,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
# dmesg | tail=
Code:
VFS: Can't find ext3 filesystem on dev hdb5
I know this partition is ext3 file system. Is there an extra step or different procedure for mounting an encrypted partition in Knoppix?

Thank you! and best regards from (smoky) Northern California USA

bezdomny
 
Old 07-12-2008, 03:39 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
If the partition is encrypted, then you need to create a virtual device with the unencrypted data, then mount that.

How to do that depends on how it was encrypted. Password-protected LUKS is quite common, so you might try
Code:
cryptsetup luksOpen /dev/hdb5 hdb5_crypt
This will prompt for your password, and create a device named /dev/mapper/hdb5_crypt, which you can then mount.

For more details, see the cryptsetup manpage: http://linux.die.net/man/8/cryptsetup
 
Old 07-12-2008, 11:19 PM   #3
bezdomny
Member
 
Registered: May 2006
Location: North-Central California
Distribution: Debian Lenny
Posts: 154

Original Poster
Rep: Reputation: 30
Knoppix 5.1: how to mount an encrypted partition?

Thanks, rjlee. LUKS in fact is the system I'm using. I'll try it out and also study the info at the link you posted.

Thanks and best regards!

bezdomny
 
  


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
mount luks encrypted partition with kdm mattydee Slackware 2 01-28-2008 12:32 AM
Can't mount encrypted USB drive letrout Linux - General 1 02-08-2006 08:50 PM
How do I work with Knoppix and mount a partition sfzab Suse/Novell 2 01-06-2006 08:11 AM
Encrypted partition does not mount on boot applewax Suse/Novell 2 01-06-2005 11:31 AM
Encrypted partition? hjles Slackware 1 01-25-2003 03:49 PM


All times are GMT -5. The time now is 01:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration