Howto Format Hard Disk on Linux Console

Filed in Linux System Leave a comment

1. Use “fdisk /dev/path-to-your-device” to create new partition
2. “mkfs.ext4 /dev/cciss/c0d1p1″ to create new file system
3. “blkid” to find hard disk UUID
4. Edit “/etc/fstab” to permanently add your new partition
5. Restart server

TOP