harddrive_setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
harddrive_setup [2011/04/09 20:18] – 192.168.2.30 | harddrive_setup [2011/04/21 01:22] – 192.168.2.20 | ||
---|---|---|---|
Line 39: | Line 39: | ||
modprobe sha512_generic | modprobe sha512_generic | ||
+ | modprobe aes_generic | ||
+ | modprobe aes-x86_64 | ||
cryptsetup -y luksFormat / | cryptsetup -y luksFormat / | ||
+ | |||
+ | * Activate dm-crypt: | ||
+ | |||
+ | cryptsetup luksOpen / | ||
+ | |||
+ | * Create ext4 partition: | ||
+ | |||
+ | mkfs.ext4 / | ||
+ | |||
+ | |||
+ | In this moment the disk is ready for installing software on it. What I'm trying to do is to copy my old harddrive installation into this new system. I will probably copy this using rsync, but first I want to check if the ext4 filesystem can be seen by grub2. I plan to test this from the grub console on my currently running system. | ||
+ | |||
+ | ===== Important commands ===== | ||
+ | |||
+ | blkid - lists uuids of block devices, could be useful for configuring grub. | ||
+ | grub-mkdevicemap - could be necessary if you add more harddrives and want to install grub in the new harddrives. | ||
+ | |||
| |
harddrive_setup.txt · Last modified: 2021/02/01 05:55 by 127.0.0.1