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== | ||
Line 335: | Line 305: | ||
* 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=== | ||
Line 530: | Line 499: | ||
=Making Changes to cell_ext_os_area VFLASH Region= | =Making Changes to cell_ext_os_area VFLASH Region= | ||
* You will need it if you flash bad petitboot which doesn't boot and just hangs. | * You will need it if you flash bad petitboot which doesn't boot and just hangs. | ||
* You have to connect your HDD to your PC, e.g. with SATA-2-USB adapter. | * You have to connect your HDD to your PC, e.g. with SATA-2-USB adapter. | ||
<pre> | <pre> | ||
modprobe dm_mod | modprobe dm_mod | ||
insmod dm-bswap16 | insmod dm-bswap16 | ||
hdd_size=`blockdev --getsize /dev/sdd` | hdd_size=`blockdev --getsize /dev/sdd` | ||
Line 555: | Line 516: | ||
kpartx-ps3 -a /dev/mapper/hdd_crypt | kpartx-ps3 -a /dev/mapper/hdd_crypt | ||
cell_ext_os_area starts at offset 0xe740000 on VFLASH. | |||
</pre> | </pre> | ||
Line 595: | Line 532: | ||
* 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/ | ||
* https://www.dan.me.uk/blog/2012/05/05/full-disk-encryption-in-freebsd-9-x-well-almost/ | * https://www.dan.me.uk/blog/2012/05/05/full-disk-encryption-in-freebsd-9-x-well-almost/ | ||