How to Format Hard Drive Linux?
Contents Linux Hard Disk Format Command Step #1: Partition the New Disk Using Fdisk Command. Following Command Will List All Detected Hard Disks: Step#2...
Contents
Linux Hard Disk Format Command
- Step #1 : Partition the new disk using fdisk command. Following command will list all detected hard disks:
- Step#2 : Format the new disk using mkfs.ext3 command.
- Step#3 : Mount the new disk using mount command.
- Step#4 : Update /etc/fstab file.
- Task: Label the partition.
Linux Hard Disk Format Command
- Step #1 : Partition the new disk using fdisk command. Following command will list all detected hard disks:
- Step#2 : Format the new disk using mkfs.ext3 command.
- Step#3 : Mount the new disk using mount command.
- Step#4 : Update /etc/fstab file.
- Task: Label the partition.
Reformat external hard disk to NTFS
- Go to System->Administration->Partition Editor. On the top right, click on the dropdown box.
- On the main window, select the partition, right-click and select Format to -> NTFS. Click Apply.
- That’s it. Your external hard disk is now in NTFS format.
Follow these steps to prepare your entire disk.
- Install gparted if not already installed.
- Open gparted from Dash (you need to give your password)
- On the top-right it will list Your HDD/Removal Disk which you want to format.
- It will then show all the partition on the selected HDD/Removal Disk .
How do I format a drive in Linux?
Remove native, swap, and boot partitions used by Linux:
- Start your computer with the Linux setup floppy disk, type fdisk at the command prompt, and then press ENTER.
- Type p at the command prompt, and then press ENTER to display partition information.
- Type d at the command prompt, and then press ENTER.
Must Read
How do I format a hard drive in Ubuntu?
Steps
- Open the Disks program.
- Select the drive you want to format.
- Click the Gear button and select “Format Partition.”
- Select the file system you want to use.
- Give the volume a name.
- Select whether or not you want a secure erase.
- Click the “Format” button to start the format process.
- Mount the formatted drive.