Format disk: Difference between revisions
Andre Castro (talk | contribs) (Created page with "Find where your disk is located, using `lsblk` or `mount` In linux disks are often refered to /dev/sda (you computer's hard-disk), /dev/sdb, /dev/sdc , etc In Mac... To ma...") |
Andre Castro (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Find where your disk is located, using | Find where your disk is located, using <code>lsblk</code> or <code>mount</code> | ||
In linux disks are often refered to /dev/sda ( | In linux disks are often refered to /dev/sda (computer's hard-disk), /dev/sdb, /dev/sdc , etc | ||
In Mac /dev/disk1 is the computer's hard dis, followed by /dev/disk2 , /dev/disk3 | |||
To make a file system simply do: | To make a file system simply do: | ||
sudo mkfs.msdos /dev/sdb | |||
sudo mkfs. | sudo mkfs.vfat -I /dev/sdb | ||
<code>-I</code> allows making filesystem on entire device |
Latest revision as of 15:22, 6 April 2017
Find where your disk is located, using lsblk
or mount
In linux disks are often refered to /dev/sda (computer's hard-disk), /dev/sdb, /dev/sdc , etc
In Mac /dev/disk1 is the computer's hard dis, followed by /dev/disk2 , /dev/disk3
To make a file system simply do:
sudo mkfs.msdos /dev/sdb
sudo mkfs.vfat -I /dev/sdb
-I
allows making filesystem on entire device