Author Topic: Can someone make sense of this error for me?  (Read 1111 times)

0 Members and 1 Guest are viewing this topic.

Offline lucid

  • #Underground
  • Titan
  • **
  • Posts: 2683
  • Cookies: 243
  • psychonaut
    • View Profile
Can someone make sense of this error for me?
« on: December 19, 2012, 07:43:45 am »
I got this when trying to mount my external truecrypted device:

Code: [Select]
mount: wrong fs type, bad option, bad superblock on /dev/mapper/truecrypt1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

So I ran dmesg | tail and got this:

Code: [Select]
[  157.832141] sd 9:0:0:0: [sdc] Attached SCSI removable disk
[  181.324341] device-mapper: uevent: version 1.0.3
[  181.324426] device-mapper: ioctl: 4.23.0-ioctl (2012-07-25) initialised: dm-devel@redhat.com
[  181.923021] EXT4-fs (dm-0): mounting ext3 file system using the ext4 subsystem
[  181.967791] EXT4-fs (dm-0): ext4_check_descriptors: Block bitmap for group 512 not in group (block 105682011)!
[  181.967798] EXT4-fs (dm-0): group descriptors corrupted!
[  369.387981] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
[  427.638613] EXT4-fs (dm-0): mounting ext3 file system using the ext4 subsystem
[  427.684393] EXT4-fs (dm-0): ext4_check_descriptors: Block bitmap for group 512 not in group (block 105682011)!
[  427.684401] EXT4-fs (dm-0): group descriptors corrupted!

So what I want to know is how to fix it if I even can. If I can't I'll probably commit painful suicide because this container was VERY full of VERY important things and ALOT of them. I've downloaded/found this stuff over the course of a LONG time and it fucking sucks that this happened. Fuck

Thanks.
"Hacking is at least as much about ideas as about computers and technology. We use our skills to open doors that should never have been shut. We open these doors not only for our own benefit but for the benefit of others, too." - Brian the Hacker

Quote
15:04  @Phage : I'm bored of Python

Offline z3ro

  • Knight
  • **
  • Posts: 345
  • Cookies: 60
    • View Profile
Re: Can someone make sense of this error for me?
« Reply #1 on: December 19, 2012, 08:10:37 am »
[~]  create the /dev/mapper/truecrypt1 device without trying to mount the contained file system
Code: [Select]
sudo truecrypt --filesystem=none --slot=1 /dev/sdc1

[~] To confirm that there is still readable data to be found, you could first do something like this to look for text content
Code: [Select]
sudo cat /dev/mapper/truecrypt1 | strings

Assuming the /dev/mapper/truecrypt1 block device has been successfully created, you can run normal tools like fsck on that device.  ;)
« Last Edit: December 19, 2012, 08:14:34 am by z3ro »
~ God is real. Unless declared as an integer.

Offline lucid

  • #Underground
  • Titan
  • **
  • Posts: 2683
  • Cookies: 243
  • psychonaut
    • View Profile
Re: Can someone make sense of this error for me?
« Reply #2 on: December 19, 2012, 08:19:18 am »
Thanks for the response but I'm not sure how this helps. I ran the first command you posted and while I can see the device in Thunar I can't actually open it. I ran the second command and so far my terminal is just spitting out neverending unreadable strings at me.

Am I missing something? Am I able to get this thing remounted or recover any of the files from it?
"Hacking is at least as much about ideas as about computers and technology. We use our skills to open doors that should never have been shut. We open these doors not only for our own benefit but for the benefit of others, too." - Brian the Hacker

Quote
15:04  @Phage : I'm bored of Python

Offline bluechill

  • Cybermancer
  • Royal Highness
  • ****
  • Posts: 682
  • Cookies: 344
  • I am the existence in these walls
    • View Profile
Re: Can someone make sense of this error for me?
« Reply #3 on: December 21, 2012, 02:06:09 am »
Thanks for the response but I'm not sure how this helps. I ran the first command you posted and while I can see the device in Thunar I can't actually open it. I ran the second command and so far my terminal is just spitting out neverending unreadable strings at me.

Am I missing something? Am I able to get this thing remounted or recover any of the files from it?

Unfortunately, if truecrypt cannot mount the drive then you are pretty much out of luck.  You might be able to decrypt it manually though because of how it works however since truecrypt cannot mount it you are pretty much guaranteed to have lost *some* data.
I have dreamed a dream, but now that dream has gone from me.  In its place now exists my own reality, a reality which I have created for myself by myself.

Offline lucid

  • #Underground
  • Titan
  • **
  • Posts: 2683
  • Cookies: 243
  • psychonaut
    • View Profile
Re: Can someone make sense of this error for me?
« Reply #4 on: December 21, 2012, 02:12:37 am »
I kinda figured. Well I suppose I'll close this error thread. Thanks guys.
"Hacking is at least as much about ideas as about computers and technology. We use our skills to open doors that should never have been shut. We open these doors not only for our own benefit but for the benefit of others, too." - Brian the Hacker

Quote
15:04  @Phage : I'm bored of Python