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
usb_formatting_with_swap_partition [2024/03/27 15:31] – [Activating Swap Partition (Post Mount Command)] -formatting hogwildusb_formatting_with_swap_partition [2024/06/17 19:25] (current) – [Manual method] hogwild
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 $swappartition 
-swapon swap +swapon $swappartition 
-mkdir /mnt/usb && mount /dev/sda1 /mnt/usb+mkdir -p /mnt/usb && mount /dev/sda1 /mnt/usb
 nvram set usb_automount="1" nvram set usb_automount="1"
 </code> </code>
Line 94: Line 94:
 </code> </code>
  
- \\  Next, mount the partitions: \\ \\+ \\ \\  \\ 
 + 
 +Next, mount the partitions: \\ \\
  
 <code -> <code ->
Line 154: Line 156:
 )) ))
  
-In both cases, the Save button at the bottom should be checked before continuing.+In both cases, click the Save button at the bottom before continuing.
  
  
usb_formatting_with_swap_partition.txt · Last modified: 2024/06/17 19:25 by hogwild