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 351: | Line 316: | ||
<pre> | <pre> | ||
sudo ./kpartx/kpartx -l /dev/ps3da | glevand@debian:~/multipath-tools$ sudo ./kpartx/kpartx -l /dev/ps3da | ||
ps3da1 : 0 524288 /dev/ps3da 8 | ps3da1 : 0 524288 /dev/ps3da 8 | ||
ps3da2 : 0 60459821 /dev/ps3da 524304 | ps3da2 : 0 60459821 /dev/ps3da 524304 | ||
Line 417: | Line 382: | ||
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 392: | ||
* 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/ | ||