Disk management

From Han Wiki
Jump to navigation Jump to search


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]


Formatting USB disk on Windows 10

  • Last tested on Windows 10 v20H2 (19042.630) (2020-11-28)

On some disks that's been formatted on a non-Windows system, this seems to help. If it's physically corrupt (some SD card brands are prone to early defect) then it may be time to get a replacement via RMA or get a new one.

> list disk
> select disk 2
> clean

Then continue in Disk Management management module to partition and format the drive.