Disk management: Difference between revisions
add category |
→List all disks and partitions: Formatting USB disk on Windows 10 |
||
Line 1: | Line 1: | ||
[[Category:System administration]] | |||
== List all disks and partitions == | == List all disks and partitions == | ||
* ''Last tested on Ubuntu 14.04.2 LTS (trusty)'' | * ''Last tested on Ubuntu 14.04.2 LTS (trusty)'' | ||
< | <source lang="bash" highlight="1"> | ||
$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL | $ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL | ||
NAME FSTYPE SIZE MOUNTPOINT LABEL | NAME FSTYPE SIZE MOUNTPOINT LABEL | ||
Line 8: | Line 10: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Formatting USB disk on Windows 10 == | |||
* {{testedon|2020-11-28|Windows 10 v20H2 (19042.630)}} | |||
<source lang="bash"> | |||
> list disk | |||
> select disk 2 | |||
> clean | |||
</source> | |||
Then continue in Disk Management management module to partition and format the drive. |
Revision as of 09:55, 28 November 2020
List all disks and partitions
- Last tested on Ubuntu 14.04.2 LTS (trusty)
$ sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME FSTYPE SIZE MOUNTPOINT LABEL
sda1 ext3 38G /
sda2 swap 2G [SWAP]
</syntaxhighlight>
== Formatting USB disk on Windows 10 ==
* {{testedon|2020-11-28|Windows 10 v20H2 (19042.630)}}
<source lang="bash">
> list disk
> select disk 2
> clean
Then continue in Disk Management management module to partition and format the drive.