[problem]cant share the disck D:

Discussions about using Windows guests in VirtualBox.
jaguar
Posts: 51
Joined: 11. Aug 2009, 18:08
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows

[problem]cant share the disck D:

Post by jaguar »

hi,
i am tring to share a disk D: from my compter with the windows xp pro en from the virtual box and some problem happens which i dont know to solve,
so can somebody what happens and how to solve it??

and can somebody say me how to share the internet with the virtual box windows?

i thank you in advane
Attachments
sharing folder problem.JPG
sharing folder problem.JPG (38.41 KiB) Viewed 3597 times
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: [problem]cant share the disck D:

Post by vbox4me2 »

Invalid character in sharename, no spaces or (de)limited characters such as a :
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: [problem]cant share the disck D:

Post by baf »

Also try path d:\ not plain d:
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
jaguar
Posts: 51
Joined: 11. Aug 2009, 18:08
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows

Re: [problem]cant share the disck D:

Post by jaguar »

i am not writting something nowhere the path, i gest selected it, and it got me this problem. and i made the changes sugested but even such changes hasnt solved my problem.

and also one more problem i got, i have copied the virtual machine ( the windows xp , with some updates) to another path and there i have changed its name and after that i copied tried to add it to the VB but VB gives me some problem that i dont anderstand, u can see it in the picture i atached,
so can somebody help me??

and also how to share the internet with the virtual windows??
i am using sometimes wireless and other times modem internet.
Attachments
VB problem2.JPG
VB problem2.JPG (126.28 KiB) Viewed 3575 times
VB problem1.JPG
VB problem1.JPG (59.65 KiB) Viewed 3570 times
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: [problem]cant share the disck D:

Post by baf »

Try:

Code: Select all

VBoxManage internalcommands  sethduuid <filepath>
On the unregistered vdi.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
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

Re: [problem]cant share the disck D:

Post by Sasquatch »

The other two questions, Internet: use NAT.
The shared folders still aren't correct. You can't use UNC illegal characters as share name. D:\ as name is illegal in all it's ways. Just simply D, or Share, will be enough. Use a-z characters only.
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.
jaguar
Posts: 51
Joined: 11. Aug 2009, 18:08
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows

Re: [problem]cant share the disck D:

Post by jaguar »

Try:
VBoxManage internalcommands sethduuid <filepath>
On the unregistered vdi.

expain me better where i must tipe it and the possible path of it

and

Internet: use NAT, where it is located??

and about the folders, i attached an image that shows that i put D, D in both spaces, but i stil get some erros,
and also why the virtual machine that i copied to another folder, changed the name of it, and then when i try to open it with VB i get some error??
Attachments
VB problem3.JPG
VB problem3.JPG (29.66 KiB) Viewed 3527 times
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: [problem]cant share the disck D:

Post by baf »

Folder Path should be in your case d:\
Name must not contain spaces colon or such only normal ascii characters. use D for example.

A copied vdi retains an internal id number=uuid that command when given at the prompt resets that number. Otherwise you will get the problem you see.
To run it on windows:
start->run cmd (this starts a command prompt)
cd "c:\Program Files\Sun\virtualBox"
VBoxManage internalcommannds sethduuid <filepath>
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
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

Re: [problem]cant share the disck D:

Post by Sasquatch »

Jaguar, please, for our sake, read the documentation for once. Forum Posting Guide, VirtualBox FAQ and the User Manual. Everything you ask here is described there.
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.
jaguar
Posts: 51
Joined: 11. Aug 2009, 18:08
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows

Re: [problem]cant share the disck D:

Post by jaguar »

hi,
1)it looks that i solved the path of the disk D:\
but wher it is located?? i cant find it, i attached a file with the image of : my computer, and u can see that it is not seen

2)when i run the path : C:\Program Files\Sun\xVM VirtualBox\VBoxManage.exe
the command windows apperas and in shows quiqly i think some commands and then it closes automaticaly i dont know why, what happens??
please help

3) i dont know why but i am now using portable internet and VB a also has internet, i will try soon with lan and wireless internet, but why VB is autoconected to the internet??

and also in the VirtualBox FAQ and user manual some technician terms must be explined, not everybody is born clever.
Attachments
VB problem4.JPG
VB problem4.JPG (66.03 KiB) Viewed 3513 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: [problem]cant share the disck D:

Post by Perryg »

First you can share drive d:\ but you can not map it as drive d because you already have a drive d:\ in the guest. It is the CD.

All you need to do is map it in a command window of the guest as it is shown in the FAQ.

Code: Select all

net use x: \\vboxsvr\<the share name you gave it in VBox> -p
Replace <the share name you gave it in VBox> with what you called it. The -p at the end makes it persistent.
Then it will show up as a network drive called x in the tree view.
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

Re: [problem]cant share the disck D:

Post by Sasquatch »

2) It's a command line tool, of course it will flash and exit. You have to open the command prompt, navigate to the installation folder of VB using the cd command and THEN run the command, with the additional parameters you want. Since you have no idea why you ran it, I suggest you don't even get started with it.

3) That's because the VM uses NAT networking. When the Host has internet, so does the Guest.
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.
jaguar
Posts: 51
Joined: 11. Aug 2009, 18:08
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows

Re: [problem]cant share the disck D:

Post by jaguar »

hi,
about changing the internal number of the copied image i get the problem that u can see in the atached file
so how i could solve it??
Attachments
VB problem5.JPG
VB problem5.JPG (99.65 KiB) Viewed 3489 times
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

Re: [problem]cant share the disck D:

Post by Sasquatch »

The VDI parameter requires the full path of the file, so if it's on C:\VDI\yourmachine.vdi, you give that full path, not just "yourmachine.vdi".
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.
jaguar
Posts: 51
Joined: 11. Aug 2009, 18:08
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows

Re: [problem]cant share the disck D:

Post by jaguar »

1)nor your recomendation works for me, which you can see in the attached VB problem6.JPG, how to solve??

2) and about sharing the folder i get the problem seen in the VB problem7.JPG, how to solve??
Attachments
VB problem7.JPG
VB problem7.JPG (30.18 KiB) Viewed 3463 times
VB problem6.JPG
VB problem6.JPG (29.8 KiB) Viewed 3468 times
Post Reply