Changes between Version 7 and Version 8 of Linux/Ubuntu/HardyRAID5EncryptedLVM


Ignore:
Timestamp:
07/07/08 19:22:00 (9 years ago)
Author:
tj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Linux/Ubuntu/HardyRAID5EncryptedLVM

    v7 v8  
    164164Now encrypt the RAID-5 array: 
    165165{{{ 
    166 cryptsetup --hash sha512 --key-size 256 --cipher aes-cbc-essiv:sha256 luksFormat /dev/md2 /media/casper-rw/home/tj/Media/theme-song.mp3 
     166cryptsetup --hash sha512 --key-size 256 --cipher aes-cbc-essiv:sha256 \ 
     167 luksFormat /dev/md2 /media/casper-rw/home/tj/Media/theme-song.mp3 
    167168 
    168169WARNING! 
     
    483484There are several suitable shell scripts already existing. I chose to modify one written by Wejn and Rodolfo Garcia published at [http://wejn.org/how-to-make-passwordless-cryptsetup.html How to setup passwordless disk encryption in Debian Etch]. It is [http://tjworld.net/raw-attachment/wiki/Linux/UbuntuHardyRAID5EncryptedLVM/crypto-usb-key.sh attached to this article] ready for downloading. 
    484485 
    485 My modifications enable the script to report progress via usplash or console, detect USB block devices, scan ''all'' partitions on the device (the original script only checked partition #1), auto-detect and load the file-system type driver, and output more informative messages. 
     486My modifications enable the script to report progress via usplash or console, detect USB block devices, scan ''all'' partitions on the device (the original script only checked the first partition), auto-detect and load the file-system type driver, and output more informative messages. 
    486487 
    487488Copy it into the new system (ensure the path and name match that specified in /mnt/target/etc/crypttab):