diff options
-rw-r--r-- | core/install.html | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/core/install.html b/core/install.html index b933042..64fbe02 100644 --- a/core/install.html +++ b/core/install.html @@ -50,6 +50,13 @@ <a href="http://devil-detail.blogspot.com/2013/07/install-grub2-on-gpt-disk-dedicated-partition.html">devil-detail grub2 on gpt</a>. Script <a href="scripts/setup-target.sh">setup-target.sh</a> help to create partitions scripts.</p> + <p>Load dm-crypt module and start parted;</p> + + <pre> + # modprobe dm-crypt + # parted /dev/sda + </pre> + <p>Set unit size to use;</p> <pre> @@ -117,8 +124,6 @@ var, usr, swap and home. <pre> - # modprobe dm-crypt - # parted (parted) mkpart primary 1132 100% </pre> @@ -127,19 +132,11 @@ <p>On bios_boot systems partition should be 2;</p> <pre> - (parted) set 2 lvm on + (parted) set 4 lvm on # cryptsetup luksFormat /dev/sda2 # cryptsetup luksOpen /dev/sda2 cryptlvm </pre> - <p>On efi systems partition should be number 4;</p> - - <pre> - (parted) set 4 lvm on - # cryptsetup luksFormat /dev/sda4 - # cryptsetup luksOpen /dev/sda4 cryptlvm - </pre> - <p>Create physical group and volume group;</p> <pre> |