Checking Hard Drive

Toby Kelsey toby_kelsey at ntlworld.com
Thu May 18 11:36:57 UTC 2006


Richard wrote:

> Okay, so how does one re-format the hdb slave drive?

You might look at: https://wiki.ubuntu.com/InstallingANewHardDrive

The quick manual method is as follows:

Open a terminal window.

List the existing partitions:

  /sbin/fdisk -l /dev/hdb

Read the man page

  man fdisk

Partition the disk:

  sudo /sbin/fdisk /dev/hdb

Read the man page:

  man mkfs.ext3

Create the filesystem(s):

 sudo /sbin/mkfs.ext3 /dev/hdb1
 etc

Read the man page:

  man fstab

Edit fstab to add the partitions:

  sudo vi /etc/fstab

Mount the new partition(s):

  sudo mount /dev/hdb1
  etc

Toby




More information about the ubuntu-users mailing list