If you have lots of memory then create a tmp drive
In this case 16g
mkdir /mnt/ramdisk mount -t tmpfs -o size=16g tmpfs /mnt/ramdisk
In the VM Create a new disk - allocate space etc and then leave it.
Reboot the VM and then check you can see it in the new OS by
Make a Partition on the disk
Assume that the new disk is /dev/sdb
BE VERY CAREFUL NOW
fdisk /dev/sdb n p 1 ret ret w
You should now had a disk called /dev/sdb1
File System on a disk
The Partition now exists but we need to place a file system (or format it)
mke2fs -t ext3 /dev/sdb1
Mount the device
This is how to do this manually
mkdir /mnt/data mount /dev/sdb1 /mnt/data
Get the block id
Instead of referring to /dev/sdb1 we use the bind-id
blkid | grep sdb1
I can see UUID="xxxxx-33333-rrr-rrr-rrrrrrrr"
We now add a line in /etc/fstab
UUID=xxxxx-33333-rrr-rrr-rrrrrrrr /mnt/data ext3 defaults 0 0
Just automount the drives mentioned in the fstab
Just reboot the machine and see if the drive has been automatically added.