This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
usb_formatting_with_swap_partition [2024/06/16 19:22] – [Automatic method] seuros | usb_formatting_with_swap_partition [2024/06/16 19:23] – [Automatic method] seuros | ||
---|---|---|---|
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=" | ||
</ | </ |