This is a step to step guide mounting a disk to Centos 6 running on Virtual Box.

  1. Add a new disk under virtualbox setting -> storage.

  2. Set the new disk as Primary Slave

  3. Boot up centos and type in fdisk -l

You should see a disk called Disk /dev/sdb something like ,

Disk /dev/sdb: 12.8 GB, 12884901888 bytes
255 heads, 63 sectors/track, 1566 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  1. Run mkfs -t ext3 /dev/sdb will create a partition for the drive

  2. Mount the drive to /mnt/disk-extended by typing the following commands

mkdir /mnt/disk-extended
mount -t ext3 /dev/sdb /mnt/disk-extended

  1. Finally, automount the disk on boot by adding a line to /etc/fstab

LABEL=79d3d2d4  / ext4 defaults,noatime 0 0
LABEL=e21a3e10  /boot ext3 defaults,noatime 0 0
devpts /dev/pts  devpts  gid=5,mode=620   0 0
tmpfs   /dev/shm  tmpfs   defaults      0 0
proc    /proc proc defaults      0 0
sysfs   /sys   sysfs   defaults      0 0
/dev/sdb   /mnt/disk-extended   ext3  defaults   0 0