I was a major idiot as I was installing a new hard drive and accidentally partitioned /dev/sdb instead of /dev/sdc, which was already partitioned and encrypted with LUKS.
I'd created a new partition on (apparently spanning the entire drive somehow?) and written the new partition tables before I caught my mistake. Imagine the massive facepalm.
Funny thing is that, when I go into the Disk Utility, it still shows as encrypted and I can luksOpen the drive just fine, even accepting my password - but when I try to mount it, it tells me that I must specify the filesystem type. Forcing a mount of a ext3 filesystem gives me this:
Code:
# mount -t ext3 /dev/mapper/drive1 /media/drive1
mount: wrong fs type, bad option, bad superblock on /dev/mapper/drive1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
How the hell do I revert this or how will I save my data, if at all possible?
Funny thing is that Disk Utility seem to show me 2 2 TB partitions on 1 2 TB hard drive. As seen here.
Bookmarks