Speeding up dd urandom for encrypted lvm partition
Hello
I have an old machine which i would like to use Slackware 14.2 ,on the readme crpy document it says that one can use the following command Dd if=/dev/urandom of=/dev/sdx2 I was using the above command prior to creating my lvm on a 450Gb partition. 25hrs has gone by when I lost power to the computer as you can I guess I have to start over again which I'm not really happy about it, so I was wondering if there is a way to speed up the urandom process? I read frandom is suposed to be faster but when I try that command it tells me it can not find a file or something. Any help or questions are welcome http://ftp.slackware.com/pub/slackwa...ADME_CRYPT.TXT |
Read the sentence prior to that command.
Pointless IMHO. |
Syg00, are you referring to the sentence on the Readme file? About someone being able to determine where a encrypted partition ends or start?. I see your point I was thinking the same because after all I'm encrypting my entire second partition, but regardless I would like to find out if there is a way to speed it up, I would like to even know if there is a command to determine how long I would take to do the entire partition prior to starting the process
|
Urandom is set by "noise". packet entropy, device drivers, et al, so putting it on a network segment while you randomize it would probably help.
|
Quote:
Code:
cryptsetup create --key-file /dev/urandom stuffit /dev/sdx2 |
Quote:
Thanks |
Use /dev/mapper/stuffit
Quote:
You are correct, you do NOT need to refer to /dev/sda2 in the dd command. The output file ("of=") needs to be the /dev/mapper/stuffit so that the output will be encrypted. The encryption happens automatically by using the /dev/mapper/stuffit device. The device /dev/mapper/stuffit is "mapped" to /dev/sda2. |
Quote:
|
Quote:
|
Quote:
|
All times are GMT -5. The time now is 03:56 AM. |