This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
usb_formatting_with_swap_partition [2024/03/27 15:30] – [Deactivating the Swap Partition (Pre-unmount command)] -formatting hogwild | usb_formatting_with_swap_partition [2024/06/16 19:11] – seuros | ||
---|---|---|---|
Line 26: | Line 26: | ||
(echo o; echo n; echo p; echo 2; echo ; echo +1000M; echo t; echo 82; echo n; echo p; echo 1; echo ; echo ; echo w) | fdisk $device | (echo o; echo n; echo p; echo 2; echo ; echo +1000M; echo t; echo 82; echo n; echo p; echo 1; echo ; echo ; echo w) | fdisk $device | ||
# Uncomment the preferred option here below: | # Uncomment the preferred option here below: | ||
- | # mkfs.ext2 -L usb $partion | + | # mkfs.ext2 -L usb $partition |
- | # mkfs.vfat -n usb $partion | + | # mkfs.vfat -n usb $partition |
mkswap -L swap $swappartion | mkswap -L swap $swappartion | ||
swapon swap | swapon swap | ||
Line 112: | Line 112: | ||
For best practice, the swap partition should be activated as swap once the USB drive/flash is mounted. Additionally, | For best practice, the swap partition should be activated as swap once the USB drive/flash is mounted. Additionally, | ||
+ | |||
+ | \\ | ||
==== Activating Swap Partition (Post Mount Command) ==== | ==== Activating Swap Partition (Post Mount Command) ==== | ||
Line 130: | Line 132: | ||
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) ==== | ||
Line 152: | Line 154: | ||
)) | )) | ||
- | In both cases, the Save button at the bottom | + | In both cases, |