Hack Forums
HDD Formatting on Linux Ubuntu 18.04 - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Computing (https://hackforums.net/forumdisplay.php?fid=88)
+---- Forum: Linux (https://hackforums.net/forumdisplay.php?fid=85)
+---- Thread: HDD Formatting on Linux Ubuntu 18.04 (/showthread.php?tid=6057839)



HDD Formatting on Linux Ubuntu 18.04 - SIM-4301625 - Mar 17, 2020

Good day!

I have been messing with Linux in the past few days. Currently, I have Ubuntu 18.04 on my SSD Disk and I have a free 1TB Hard Disk that I want to use, to download most of my files on.
There was a WIndows OS on it that I have recently deleted. I am wondering how can I get that HDD working as a storage.


RE: HDD Formatting on Linux Ubuntu 18.04 - Cannot Compute - Mar 17, 2020

There's a number of tools you can use. gdisk, fdisk, and parted are all terminal based options. You could also use gparted for a GUI based tool. I believe the gnome desktop environment has it's own tool called gnome disk or something. Once you partition it you will just need to put a file system on it, ext4 is the fairly standard option. If it is an external drive which you would like to potentially use it on Windows computers you can use ntfs with it, but you will have to install some extra tools to get it working.

If it is just a secondary internal drive, after partitioning and making the filesystem you will need to update /etc/fstab to have it be mounted on boot.


RE: HDD Formatting on Linux Ubuntu 18.04 - Trippy Space Cat - Mar 18, 2020

Just in terminal to find which disk and note /dev/***
  • sudo fdisk -l



Then just use this command.
  • sudo shred -v -z -n 3 /dev/***



Any OS will be able to create a partition during installation.