Home > Linux System > Howto Format Hard Disk on Linux Console

Howto Format Hard Disk on Linux Console

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

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 
TOP