More instruction in the archlinux wiki on how to enable ext4 encryption. Meaning, if you have multiple top directory on your HDD, you will need a password for each directory, unless you move them under the same top root directory. If we use the same variable in our previous example.Īnother possibility is to use ext4 built-in encryption, but it only encrypts per directory. If you plugged it in after booting, I don't know how it is dealt with by ubuntu, but you might have to unlock the drive by issuing another hdparm command from a terminal, like sudo hdparm -security-unlock 'Secret' -user-master u /dev/sdx Note: if the drive with the ATA password is plugged-in while booting, your EFI firmware should ask you for that password. But read documentation before to know the consequences.Ī good read is this article You can eventually also set a master password. This will let the master password as set by the manufacturer (and let anyone knowing it unlock the drive). So if you want to use hdparm, it's something like: sudo hdparm -user-master u -security-set-passwd "Secret" /dev/sdx That are just cautious and warn you of the worst. That's kind of scary, even it is unlikely to happen. I would recommend to use your EFI firmware if applicable because hdparm comes with a lot of warning that it can brik your disk. Or you can use hdparm to set such a password. You can either set it through your EFI/BIOS firmware, if it allows you to do so.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |