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 28: | Line 27: | ||
modprobe loop | modprobe loop | ||
modprobe dm_mod | modprobe dm_mod | ||
insmod ./dm-bswap16.ko | |||
dd if=/dev/zero of=test.bin bs=1K count=100 | dd if=/dev/zero of=test.bin bs=1K count=100 | ||
Line 112: | Line 112: | ||
</pre> | </pre> | ||
==dm- | ==dm-crypto== | ||
* We don't need xts_aes application anymore. | * We don't need xts_aes application anymore. | ||
Line 118: | Line 118: | ||
* One of the device mapper features is that it's stackable which is very useful for us. | * One of the device mapper features is that it's stackable which is very useful for us. | ||
* VFLASH is encrypted twice. So we have to create a second DM crypto target based on the DM crypto target for HDD. | * VFLASH is encrypted twice. So we have to create a second DM crypto target based on the DM crypto target for HDD. | ||
=PS3 HDD Partition Table= | =PS3 HDD Partition Table= | ||
* We have to implement PS3 HDD partition table in Linux kernel. | * We have to implement PS3 HDD partition table in Linux kernel. | ||
* The Linux kernel with this feature will create all partition devices automatically in this case and we could mount and modify any HDD regions easily. | * The Linux kernel with this feature will create all partition devices automatically in this case and we could mount and modify any HDD regions easily. | ||
* A new Linux kernel patch is necessary. | * A new Linux kernel patch is necessary. | ||
=Links= | =Links= | ||
Line 592: | Line 131: | ||
* http://www.freeotfe.org/docs/Main/mobile_site/Linux_examples__dm-crypt.htm | * http://www.freeotfe.org/docs/Main/mobile_site/Linux_examples__dm-crypt.htm | ||
* http://www.hopelesscase.com/linuxnotes/encrypted_filesystems/dmsetup_losetup_and_mount | * http://www.hopelesscase.com/linuxnotes/encrypted_filesystems/dmsetup_losetup_and_mount | ||