Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-12-2008, 01:38 PM   #1
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=
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=
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

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

Rep: Reputation: 76
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
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:
Old 07-12-2008, 11:19 PM   #3
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!



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 / openSUSE 2 01-06-2006 08:11 AM
Encrypted partition does not mount on boot applewax SUSE / openSUSE 2 01-06-2005 11:31 AM
Encrypted partition? hjles Slackware 1 01-25-2003 03:49 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration