Site Tools


usb_formatting_with_swap_partition

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
usb_formatting_with_swap_partition [2024/03/27 15:21] – [Configuring Post-mount and Pre-unmount Commands] -grammar hogwildusb_formatting_with_swap_partition [2024/03/27 15:30] – [Deactivating the Swap Partition (Pre-unmount command)] -formatting hogwild
Line 94: Line 94:
 </code> </code>
  
- \\   \\  Now, mount the partitions: \\ \\+ \\  Next, mount the partitions: \\ \\
  
 <code -> <code ->
Line 106: Line 106:
  
  \\  \\
 +
  
 ===== Configuring Post-mount and Pre-unmount Commands ===== ===== Configuring Post-mount and Pre-unmount Commands =====
Line 115: Line 116:
  
 To activate the swap partition you created on the drive, enter the following into the "**Run after mounting**" form field: To activate the swap partition you created on the drive, enter the following into the "**Run after mounting**" form field:
 +
 + \\
  
 <code -> <code ->
 swapon /dev/sda2 swapon /dev/sda2
 </code> </code>
 +
 + \\
  
 The field should look like this: The field should look like this:
Line 125: Line 130:
 You may have additional commands within the field. You may have additional commands within the field.
 )) ))
 +
 +
 + \\
  
 ==== Deactivating the Swap Partition (Pre-unmount command) ==== ==== Deactivating the Swap Partition (Pre-unmount command) ====
  
-To configure the router to automatically deactivate the swap partition (in this case, **///dev/sda2//**) , the "**Run before unmounting**" form field will need to be populated with the following:+To configure the router to automatically deactivate the swap partition (in this case, **///dev/sda2//**) , the "**Run before unmounting**" field needs to be populated with the following: 
 + 
 + \\
  
 <code -> <code ->
Line 134: Line 144:
 </code> </code>
  
-The field should appear as so:+ \\ 
 + 
 +The field should appear like this:
  
 {{:pasted:20240327-060929.png?nolink}}(( {{:pasted:20240327-060929.png?nolink}}((
Line 140: Line 152:
 )) ))
  
-As usual, in both cases, the save button at the bottom of the form should be clicked to save your changes before continuing on.+In both cases, the Save button at the bottom should be checked before continuing. 
  
 ===== Final setup ===== ===== Final setup =====
usb_formatting_with_swap_partition.txt · Last modified: 2024/03/27 15:32 by hogwild