C++ and MATLAB Simulink tips for HWIL simulation software engineers
Tuesday, November 1, 2022
Formatting disk from USB
I recently needed to wipe a laptop's disk. I used Rufus and Puppy Linux (ISO size was 409MB) to create a bootable USB drive. After booting into Puppy Linux, I used the following commands:
lsblk to see disk partitions and their sizes
lsblk -f to see partition file systems
sudo mkfs -t ntfs /dev/<partition>
Formatting a disk (initializing with zeros) of 500GB can take 3 hours.
No comments:
Post a Comment