Monday, July 9, 2012

Add new drive to linux

Procedure:
  1. Locate the new device.  e.g. $> ls /dev/sdb
  2. Create partition.  $> fdisk /dev/sdb
    1. m - help
    2. n - new partition
    3. p - list partitions
    4. d - delete partition
  3. Reboot
  4. Format partition.  $> mkfs -t ext3 /dev/sdb1
  5. Edit /etc/fstab to mount on startup.  /dev/sdb1 /mnt/sdb1 ext3 defaults 1 2
  6. Done

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.