Falied to create a hard disk image
Falied to create a hard disk image
Below is the error message I am getting trying to create a virtual hdd to install Windows onto.
I am using PCLOS updated. There are two users on this PC. I have WinXP running fine on my account. When I try and create an virtual drive on my housemates side I get the following error. Everything I have read suggests permission issues; however both accounts have the same user permissions. Any help very much appreciated.
Falied to create a hard disk image '/home/lianne/.VirtualBox/VDI/win.vdi' (VERR_ACCESS_DENIED).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
VirtualDiskImage
Interface:
IVirtualDiskImage {a8265b5a-0d20-4a46-a02f-65693a4e8239}
I am using PCLOS updated. There are two users on this PC. I have WinXP running fine on my account. When I try and create an virtual drive on my housemates side I get the following error. Everything I have read suggests permission issues; however both accounts have the same user permissions. Any help very much appreciated.
Falied to create a hard disk image '/home/lianne/.VirtualBox/VDI/win.vdi' (VERR_ACCESS_DENIED).
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
VirtualDiskImage
Interface:
IVirtualDiskImage {a8265b5a-0d20-4a46-a02f-65693a4e8239}
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Can you do:
If not then sort out your access issues, eg. put both users in the same group and change protections so that the hierarchy has group:rw access.
Code: Select all
echo test>/home/lianne/.VirtualBox/VDI/xxx.tmp
RM /home/lianne/.VirtualBox/VDI/xxx.tmpRead the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
That 'RM' is a typo, it should be lowercase 'rm'.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
What does an ls -l /home/lianne/.VirtualBox/VDI/ say, and of the parent folder?
If you share the VMs on one host with more than one account, you might want to change the location of the files to a more common location. There are some 'guides' on the forums here that discuss how to do that.
If you share the VMs on one host with more than one account, you might want to change the location of the files to a more common location. There are some 'guides' on the forums here that discuss how to do that.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
This is the output from that command:
# ls -l /home/lianne/.VirtualBox/VDI/
total 1462772
--w------- 1 root root 1496359424 Feb 2 17:31 Winxp.vdi
-rw------- 1 root root 41472 Jul 4 2008 xp.vdi
-rw-r--r-- 1 root root 5 Feb 7 13:05 xxx.tmp
Not trying to share as much as create her own guest of windows on her account.
# ls -l /home/lianne/.VirtualBox/VDI/
total 1462772
--w------- 1 root root 1496359424 Feb 2 17:31 Winxp.vdi
-rw------- 1 root root 41472 Jul 4 2008 xp.vdi
-rw-r--r-- 1 root root 5 Feb 7 13:05 xxx.tmp
Not trying to share as much as create her own guest of windows on her account.
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Then you didn't do what I asked. Of course ls >some file works if you do it from a sudo account! Your VDIs are also owned by root. You are not on Windows!! You should be working from a normal account at a normal privilege level not root. Only use sudo in exceptional circumstances (such as installing new S/W). What you need to do is to (i) start working in a 1000+ account. (ii) chown -R lianne:lianne /home/lianne/.VirtualBox. (iii) Read up in the ubuntu user docs or other internet resource how privileges work before you try to do this.i8dbbq wrote:--w------- 1 root root 1496359424 Feb 2 17:31 Winxp.vdi
-rw------- 1 root root 41472 Jul 4 2008 xp.vdi
-rw-r--r-- 1 root root 5 Feb 7 13:05 xxx.tmp
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
I read through the forum and created a folder in home and copied .Virtualbox to that. Created a virtualbox users group, added both accounts. I then was able to install XP on each account. I am sure I took a roundabout way; however it worked. Thanks for the assistance and pointing me in the right direction.