Installing Linux on encrypted drive
Posted: Sat Dec 05, 2015 10:46 pm
Dear people,
The script that can be used to install Mint on a fully (or partly..!) LUKS encrypted harddrive has been updated and tested with Linux Mint 17.3. From the README:
lmdescrypt
version 0.77
This script installs Linux Mint Debian Edition i686 or amd64, version 201403, or Linux Mint Debian Edition version 2 (201504) or regular Linux Mint 17.1 or 17.2 or 17.3 to be:
Fully luks encrypted, with lvm2 volumes of root, swap and (optionally) data.
Github page: https://github.com/pepa65/lmdescrypt
See forum topic: http://forums.linuxmint.com/viewtopic.p ... 9&t=132520
Shortlink to download the script: http://j.mp/lmdescrypt
Questions? Email [url]email:solusos@passchier.net[/url] or post an Issue on the github page.
INSTRUCTIONS
1. Boot the Live environment
2. Open a Terminal (Menu, Terminal) and enter:
3. If needed, adapt the SETTINGS section:
4. Partition the drive, for instance (taking up all space):
Within fdisk, enter the following:
This is making a 500 MB boot partition, and giving the rest to the encrypted lvm2.
5. Start the script:
6. Answer the questions as they come up:
Using a pre-existing boot-partition, LUKS partition and LVM Logical Volumes is entirely supported. The options are to USE (or not), to CREATE (or not), and to FORMAT (or not) these devices.
And that's it!
The script that can be used to install Mint on a fully (or partly..!) LUKS encrypted harddrive has been updated and tested with Linux Mint 17.3. From the README:
lmdescrypt
version 0.77
This script installs Linux Mint Debian Edition i686 or amd64, version 201403, or Linux Mint Debian Edition version 2 (201504) or regular Linux Mint 17.1 or 17.2 or 17.3 to be:
Fully luks encrypted, with lvm2 volumes of root, swap and (optionally) data.
Github page: https://github.com/pepa65/lmdescrypt
See forum topic: http://forums.linuxmint.com/viewtopic.p ... 9&t=132520
Shortlink to download the script: http://j.mp/lmdescrypt
Questions? Email [url]email:solusos@passchier.net[/url] or post an Issue on the github page.
INSTRUCTIONS
1. Boot the Live environment
2. Open a Terminal (Menu, Terminal) and enter:
Code: Select all
wget j.mp/lmdescrypt
chmod +x lmdescrypt
Code: Select all
nano lmdescrypt
Code: Select all
5.sudo fdisk /dev/sda
Code: Select all
o [Enter]
n [Enter]
[Enter]
[Enter]
[Enter]
+500M [Enter]
n [Enter]
[Enter]
[Enter]
[Enter]
[Enter]
w [Enter]
5. Start the script:
Code: Select all
sudo ./lmdescrypt
Then after a wait for all the preparations to have happened, and supply:password for encryption (twice the same)
password for decryption (same again)
Installing into a pre-existing environmentpassword for user, and some irrelevant info
about the keyboard
about the timezone
Using a pre-existing boot-partition, LUKS partition and LVM Logical Volumes is entirely supported. The options are to USE (or not), to CREATE (or not), and to FORMAT (or not) these devices.
And that's it!