[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dm-crypt
Subject:    [dm-crypt] Recover LUKS partition from deleted partition table
From:       ultimatedevr () gmail ! com (Kyle Bond)
Date:       2009-10-01 2:08:23
Message-ID: ef45c73f0909301908r5cdc2c5te77f4aaf52760014 () mail ! gmail ! com
[Download RAW message or body]

Whilst repartitioning my drive trying to move & enlarge my LUKS partition, I
fubar'd the partition table and tried to recreate it from scratch using
testdisk. However, testdisk hasn't been able to properly discover the
partition; it found the LUKS header and created a logical partition 1
cylinder in size; I can do a luksDump from it, and I can see crypt settings,
key slots etc., however the partition's too small to be able to access any
data. So I  enlarged the discovered logical partition starting at the LUKS
header (found using hexdump -C /dev/sda|grep "4c 55 4b 53 ba be") and
extending it back to its original 40GB, however when I try to enter the
password for it cryptsetup won't accept it (I am doing cryptsetup luksOpen
/dev/sda5 root). Help?

--Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.saout.de/pipermail/dm-crypt/attachments/20090930/54885fb3/attachment.html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic