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 13: | Line 12: | ||
* A really cool feature of Linux 2.6/3. | * A really cool feature of Linux 2.6/3. | ||
* The device mapper is stackable. | * The device mapper is stackable. | ||
==dm-bswap16== | ==dm-bswap16== | ||
Line 28: | Line 26: | ||
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 111: | ||
</pre> | </pre> | ||
==dm- | ==dm-crypto== | ||
* We don't need xts_aes application anymore. | * We don't need xts_aes application anymore. | ||
Line 118: | Line 117: | ||
* 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. | ||
=Links= | =Links= | ||
Line 592: | Line 124: | ||
* 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 | ||