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
Next revisionBoth sides next revision
usb_formatting_with_swap_partition [2024/03/27 15:32] – [Deactivating the Swap Partition (Pre-unmount command)] -condense hogwildusb_formatting_with_swap_partition [2024/06/16 19:22] – [Automatic method] 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 $swappartition
 swapon swap swapon swap
 mkdir /mnt/usb && mount /dev/sda1 /mnt/usb mkdir /mnt/usb && mount /dev/sda1 /mnt/usb
usb_formatting_with_swap_partition.txt · Last modified: 2024/06/17 19:25 by hogwild