How to add hard disk Linux

Recommended for you: Get network issues from WhatsUp Gold. Not end users.

     1.file –s /dev/hda1

  Check the partition file format

  2.fdisk –l

  See the hanging disk partition situation

  3.fdisk /dev/The device name

  To partition device

  The 4 format the partition

  Format into a ext2 partition

  Mke2fs /dev/The hda1 format into ext2 format

  Tune2fs –j /dev/Hda1 ext2 format will be converted to ext3

  Format into a ext3 partition

  Mkfs –t ext3 /dev/hda1

  Mkfs.ext3 /dev/hda1

  5 mount partitions

  Mount /dev/hda1 /Home needs to be reloaded after the restart

  Without loss of information to restart the mount: modify the /etc/fstab file into the mount information.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download

Posted by Ariel at January 06, 2014 - 2:11 PM