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 [2022/01/05 06:14] – rs232 | usb_formatting_with_swap_partition [2023/05/08 18:51] – [USB formatting with swap partition] -clarity, grammar filesystem warning hogwild | ||
---|---|---|---|
Line 7: | Line 7: | ||
For this example, we used a 16GB USB flash drive which is seen in the system as device **sda**. | For this example, we used a 16GB USB flash drive which is seen in the system as device **sda**. | ||
- | **VERY IMPORTANT!** The filesystem you're going to be choosing | + | **IMPORTANT:** The filesystem you choose |
Line 90: | Line 90: | ||
<code -> | <code -> | ||
- | mkfs.ext2 -L USB /dev/sda1 | + | mkfs.ext2 -L usb /dev/sda1 |
- | mkswap /dev/sda2 | + | mkswap |
</ | </ | ||
Line 100: | Line 100: | ||
<code -> | <code -> | ||
swapon /dev/sda2 | swapon /dev/sda2 | ||
- | mkdir /mnt/sda1 && mount /dev/sda1 /mnt/sda1 | + | mkdir /mnt/usb && mount /dev/sda1 /mnt/usb |
</ | </ | ||