Formatting Hard Drive Linux. Web step 1 — install parted. Web open a terminal and type the following commands to format your hard disk drive.
How to Format Storage Devices in Linux
Web open a terminal and type the following commands to format your hard disk drive. Web step 1 — install parted. You can do it in graphical way also: Web open the terminal from the applications menu or via the shortcut ctrl + alt + t. Launch disk from dash and. The command lists all the storage devices available on your system. If you want the data on hdd to be unrecoverable then follow this procedure. Next, verify the file system change using the command: To partition the drive, you’ll use the parted utility. In the terminal, run the following df command:
Web open the terminal from the applications menu or via the shortcut ctrl + alt + t. In the terminal, run the following df command: Here we will be using the gdisk command line tool, which should already be installed by default on all major linux. Web step 1 — install parted. Next, verify the file system change using the command: Launch disk from dash and. Web open the terminal from the applications menu or via the shortcut ctrl + alt + t. Web dec 15, 2023 at 7:03. To partition the drive, you’ll use the parted utility. Format a disk partition with the ext4 file system using the following command: If you want the data on hdd to be unrecoverable then follow this procedure.