How to Format Disk in Linux?
Contents How Do I Format a Linux Hard Drive? Choose an Option for “File System. ” If You Will Be Using the Hard Drive Exclusively on Linux Systems, Choose...
Contents
How do I format a Linux hard drive?
Choose an option for “File system.” If you will be using the hard drive exclusively on Linux systems, choose ext2, ext3 or ext4 , since these file systems are only readable by Linux.
If you are not sure which to choose, choose ext4.
If you want to use the hard drive on Mac OS X or Windows systems as well, choose FAT32.
How do I partition a drive in Linux?
How to create a new partition on a Linux Server
- Verify the partitions available on the server: fdisk -l.
- Choose which device you wish to use (such as /dev/sda or /dev/sdb)
- Run fdisk /dev/sdX (where X is the device you would like to add the partition to)
- Type ‘n’ to create a new partition.
- Specify where you would like the partition to end and start.