How to install virtual machine on another disk?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
deewanagan
Posts: 3
Joined: 23. Aug 2009, 09:39
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: windowsXP

How to install virtual machine on another disk?

Post by deewanagan »

hi everybody!
so i want to install a windows server on an ubuntu 8.10. now when i try to create a disk space for the machine under /media/disk/ it complains about permission. how to overcome this problem?
the Error:

Code: Select all

Falied to create a hard disk image '/media/df.vdi' (VERR_ACCESS_DENIED).


Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
VirtualDiskImage
Interface: 
IVirtualDiskImage {a8265b5a-0d20-4a46-a02f-65693a4e8239}
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: How to install virtual machine on another disk?

Post by stefan.becker »

Thats not an VBOX Problem. Ask in an Ubuntu Forum how to setup permissions for a USer.
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: How to install virtual machine on another disk?

Post by baf »

Why "/media/df.vdi" if you want it as "/media/disk/df.vdi" ?
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
aescott
Posts: 34
Joined: 25. Aug 2008, 16:02

Re: How to install virtual machine on another disk?

Post by aescott »

Check the VBox file permissions - I had a similar issue because I had restored a copy - it was restored as owner "root", and worked fine when I changed all the file permissions to my normal user.
Post Reply