[[linux_wiki:add_new_partitions_and_logical_volumes_and_swap_to_a_system_non-destructively]]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux_wiki:add_new_partitions_and_logical_volumes_and_swap_to_a_system_non-destructively [2016/03/01 02:33]
billdozor created
linux_wiki:add_new_partitions_and_logical_volumes_and_swap_to_a_system_non-destructively [2019/05/26 03:50] (current)
Line 3: Line 3:
 **General Information** **General Information**
  
-About this page/​how-to/​script+Different methods of adding swap
  
 ---- ----
  
-**Logical ​Volume Method** +===== Swap with Logical ​Volumes ===== 
-\\+
 Create new partition with the Logical Volume type Create new partition with the Logical Volume type
 <code bash> <code bash>
Line 22: Line 22:
 </​code>​ </​code>​
  
 +\\
 Setup LVM physical volume, volume group, logical volume Setup LVM physical volume, volume group, logical volume
 <code bash> <code bash>
Line 29: Line 30:
 </​code>​ </​code>​
  
 +\\
 Format logical volume with swap, enable, and add to fstab Format logical volume with swap, enable, and add to fstab
 <code bash> <code bash>
Line 39: Line 41:
 </​code>​ </​code>​
  
-\\ +---- 
-**Physical Partition ​Method** + 
-\\+=====  Swap with Physical Partition ​===== 
 Create physical disk partition for swap Create physical disk partition for swap
 <code bash> <code bash>
Line 56: Line 59:
   * Hex code 82 is Linux Swap   * Hex code 82 is Linux Swap
  
 +\\
 Create the swap filesystem Create the swap filesystem
 <code bash> <code bash>
Line 63: Line 67:
   * edit /etc/fstab if you want persistent changes   * edit /etc/fstab if you want persistent changes
  
 +\\
 View swap space View swap space
 <code bash> <code bash>
Line 68: Line 73:
 </​code>​ </​code>​
  
 +\\
 Activate all swap on /etc/fstab Activate all swap on /etc/fstab
 <code bash> <code bash>
  • linux_wiki/add_new_partitions_and_logical_volumes_and_swap_to_a_system_non-destructively.txt
  • Last modified: 2019/05/26 03:50
  • (external edit)