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
knoppix 5.1-- how to mount an encrypted partition?
Thanks, Chris. It's been awhile since I setup this installation. I only know that during installation I chose one of the encryption options and when I logon, I'm prompted for the "LUKS passphrase". Does that help? Thanks again!
knoppix 5.1-- how to mount an encrypted partition?
Thanks, Chris! I think we're almost there.
cryptsetup luksOpen /dev/hdb5 enc=
Code:
Enter LUKS passphrase: [note-- passphrase entered-- bezdomny]
key slot 0 unlocked.
Command successful.
mount /dev/mapper/enc /media/hdb5=
Code:
mount: you must specify the filesystem type
Chris, I could swear this was ext3 but maybe I'm wrong. At any rate, I should be able to boot into the command line after the LUKS passphrase and run a command to identify the filesystem type, correct?
Looking forward to hearing from you!
best regards from (smoky) Northern California,
bezdomny
Knoppix 5.1: how to mount an encrypted partition
Code:
file -s /dev/mapper/enc
erred out complaining of no such file or directory. So I ran the command on the directories that are present at /dev/mapper:
Code:
file -s /dev/mapper/bezdomny-root
=
Code:
Linux rev1.0 ext3 filesystem (needs journal recovery) (large files)
Code:
file -s /dev/mapper/hdb5_crypt
=
Code:
LVM2 (Linux Logical Volume manager) UUID kPFhUCUJ4riuB0s2caSXwl00SLgYi6RS
Hope this helps!
best regards from (smoky) Northern California USA,
bezdomny
Knoppix 5.1: how to mount an encrypted partition?
Chris, thanks. Did I tell you I got my Xserver back? However, I'm still interested in solving this for future reference-- I'm sure it will come up again, if not with me, with someone I'm assisting.
At any rate, I don't know what you mean by backup from the command line. Backup what? Could you please indulge my poor understanding of Linux and be more specific?
Thanks!
best regards,
bezdomny