Editing Mounting HDD on PC
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=Introduction= | =Introduction= | ||
Line 7: | Line 6: | ||
=ATA and ENCDEC Keys= | =ATA and ENCDEC Keys= | ||
See http://www.ps3devwiki.com/wiki/HDD_Encryption | |||
=Device Mapper= | =Device Mapper= | ||
Line 112: | Line 111: | ||
</pre> | </pre> | ||
==dm- | ==dm-crypto== | ||
* We don't need xts_aes application anymore. | * We don't need xts_aes application anymore. | ||
Line 298: | Line 297: | ||
* Implemented PS3 partition support in Linux kernel. See patch '''0035-ps3-partition.patch''' here http://gitorious.ps3dev.net/ps3linux/kernel-patches-35 | * Implemented PS3 partition support in Linux kernel. See patch '''0035-ps3-partition.patch''' here http://gitorious.ps3dev.net/ps3linux/kernel-patches-35 | ||
* Use kpartx tool to reread partition table. | * Use kpartx tool to reread partition table. | ||
==kpartx== | ==kpartx== | ||
* We need kpartx in order to be able to create partitions from device mapper targets. | * We need kpartx in order to be able to create partitions from device mapper targets. | ||
* But kpartx doesn't support PS3 partition table currently. | * But kpartx doesn't support PS3 partition table currently. | ||
* We need a patch which adds PS3 partition table support. | * We need a patch which adds PS3 partition table support. | ||
* Official GIT repo: http://git.opensvc.com/multipath-tools/.git | * Official GIT repo: http://git.opensvc.com/multipath-tools/.git | ||
===Patching and Building=== | ===Patching and Building=== | ||
<pre> | <pre> | ||
git clone http://git.opensvc.com/multipath-tools/.git multipath-tools | git clone http://git.opensvc.com/multipath-tools/.git multipath-tools | ||
Line 346: | Line 311: | ||
patch -p1 < ../kpartx-ps3-partition.patch | patch -p1 < ../kpartx-ps3-partition.patch | ||
make | make | ||
</pre> | </pre> | ||
Line 417: | Line 372: | ||
000001f0 10 70 00 00 02 00 00 01 00 00 00 00 00 00 00 03 |.p..............| | 000001f0 10 70 00 00 02 00 00 01 00 00 00 00 00 00 00 03 |.p..............| | ||
00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| | 00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| | ||
</pre> | </pre> | ||
=Links= | =Links= | ||
Line 594: | Line 382: | ||
* http://lxr.free-electrons.com/source/block/partitions/ | * http://lxr.free-electrons.com/source/block/partitions/ | ||
* http://backreference.org/2010/09/25/access-partitions-in-non-disk-block-devices-with-kpartx/ | * http://backreference.org/2010/09/25/access-partitions-in-non-disk-block-devices-with-kpartx/ | ||