Kategorie: Linux

Zeroing disk LINUX

Reset Disk is a very useful skill, at the present time all of us know the importance of protecting personal data and personal files. Among other things, because the sale of your old computer, or laptop before putting it into service should protect you against data theft and effectively remove data from your hard disk.

Today I'll show you how easy and quick way to reset your hard drive / flash drive using Linux.

If you do not use every day with Linux, You can easily and quickly create a bootable USB stick (Rufus program)

Rufus: https://rufus.akeo.ie/downloads/rufus-3.0.exe

Resetting overwrites every sector on the disk with zeros, in contrast to reset formatting when there is no possibility of data recovery from disk.

Reset disk:
The command to reset as follows:

$ cat /dev/sdX | pv -bpt -s NNG | dd of=/dev/sdX bs=1M

X - Marking our disk LINUX *
NN - The size of the disk to reset

Example: We have a 250GB drive with the designation sdb, command will look like this.

$ cat /dev/sdb | pv -bpt -s 250G | dd of=/dev/sdb bs=1M

*If you do not know what your sign is hard, should list the disks command:

fdisk -l

Resetting is completed when the screen displays this information:

"dd: error writing 'dev/sdX': No space left on device 93%"

Linux

Zobacz komentarze

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu