about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2020-03-02 20:58:21 +0000
committerSilvino Silva <silvino@bk.ru>2020-03-02 20:58:21 +0000
commitbe4c74074a6afeeb0af1d6dc7d94af0c8e226a38 (patch)
treeb2905c3922831ec885da7f9923af67c4fb7843f6
parenta9baa2eedb483d413fbfd2f775d2e8dec3da728c (diff)
downloaddoc-be4c74074a6afeeb0af1d6dc7d94af0c8e226a38.tar.gz
fix core install partitions
-rw-r--r--core/install.html19
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>