This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
usb_formatting_with_swap_partition [2024/06/16 19:22] – [Automatic method] seuros | usb_formatting_with_swap_partition [2024/06/17 19:25] (current) – [Manual method] hogwild | ||
---|---|---|---|
Line 29: | Line 29: | ||
# mkfs.vfat -n usb $partition | # mkfs.vfat -n usb $partition | ||
mkswap -L swap $swappartition | mkswap -L swap $swappartition | ||
- | swapon | + | swapon |
- | mkdir /mnt/usb && mount /dev/sda1 /mnt/usb | + | mkdir -p /mnt/usb && mount /dev/sda1 /mnt/usb |
nvram set usb_automount=" | nvram set usb_automount=" | ||
</ | </ | ||
Line 94: | Line 94: | ||
</ | </ | ||
- | | + | \\ \\ |
+ | |||
+ | Next, mount the partitions: \\ \\ | ||
<code -> | <code -> |