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= | ||
* It's the VFLASH region where petitboot is stored. | * It's the VFLASH region where petitboot is stored. | ||
* Useful for OtherOS++ users. | * Useful for OtherOS++ users. | ||
Line 560: | Line 528: | ||
# it begins at offset 0xe740200 | # it begins at offset 0xe740200 | ||
dd if=/dev/mapper/hdd_crypt1 of=params.bin bs=1 count=512 skip=$(( | dd if=/dev/mapper/hdd_crypt1 of=params.bin bs=1 count=512 skip=$((0x0xe740200)) | ||
# now clear the boot flag | # now clear the boot flag | ||
Line 567: | Line 535: | ||
# now we write it back | # now we write it back | ||
dd of=/dev/mapper/hdd_crypt1 if=params.bin bs=1 count=512 seek=$(( | dd of=/dev/mapper/hdd_crypt1 if=params.bin bs=1 count=512 seek=$((0x0xe740200)) | ||
sync | sync | ||
Line 578: | Line 546: | ||
# now GameOS should boot and you can flash a new petitboot :) | # now GameOS should boot and you can flash a new petitboot :) | ||
</pre> | </pre> | ||
Line 595: | Line 561: | ||
* 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/ | ||