Storage Solutions

This is for discussing general topics about how to use VirtualBox.
Post Reply
Night Fox
Posts: 2
Joined: 27. Oct 2010, 16:19
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu

Storage Solutions

Post by Night Fox »

Well this is my first time posting on this forum. I've tried holding off doing this as long as possible. I've researched my problem for several days and I think I've finally given up...and here I am. I've downloaded Ubuntu 10.10 and installed it in virtual box. I have unfortunately run out of space. The drive is a dynamic file system and I set the limit to 20gb.

I do not want to mount a shared folder and store stuff on that.

I will tell you what I've done so far, but I am not on the computer with VirtualBox at the moment, so I'm not sure if I'm giving you the exact terminal commands, etc. I will provide this information when I get back.

I've tried making a new storage file with a dynamic 30gb, and tried attaching that to Ubuntu, which worked. The drive registers in the terminal under the directory of /dev/sdb. I've tried to mount this drive using:

Code: Select all

sudo mount.\vboxsf ext3 /dev/sdb /media/Ubuntu
This does not work. It gave me a "protocol error." I also tried

Code: Select all

sudo mount -t vboxsf ext3 /dev/sdb /media/Ubuntu
but this gave me the same "protocol error." Is mounting a VirtualBox virtual drive even possible?

I've read the VirtualBox user manual on cloninghd, but it confused me. It said something about syntax, etc...can someone clarify this?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Storage Solutions

Post by Perryg »

Open the Disk Utility under Administration in Ubuntu and see if the drive is there and ready (formatted).
If not then configure the drive you can mount it from there.

Since this is not a shared folder but another drive VirtualBox really has nothing to do with it.
To learn how to mount drives in Ubuntu see https://help.ubuntu.com/community/Mount
To learn how to add the mount to auto load in fstab see https://help.ubuntu.com/community/Fstab
Night Fox
Posts: 2
Joined: 27. Oct 2010, 16:19
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu

Re: Storage Solutions

Post by Night Fox »

Wow, I cannot believe it was that easy.. :( Thank you! It worked!
Post Reply