LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2013, 06:22 AM   #1
unclesamcrazy
Member
 
Registered: May 2013
Posts: 200

Rep: Reputation: 1
virtual box share folder issue


I am using ubuntu 12.10. I have installed windows xp inside virtual box.
I am facing a problem.
I can not share more than one folder of same partition. If I want to share second folder, it says
Code:
system error 85 has occurred
The local device name is already in use.
If I remove my first folder and now I try to share second. It is shared successfully.

I have done following process.
Devices -> share folders -> click on add icon
Here I gave path of the folder and checked on auto mount and permanent.
Click on OK.
Now I can see my folder in the list of machine folders.

To see this folder in Network Drives, I have run following command.
Code:
net use x: \\vboxsvr\folder1
The folder is shared.
Now I try to share another folder using
Code:
net use x: \\vboxsvr\folder2
but it says
Code:
system error 85 has occurred
The local device name is already in use.
The last I can do is share whole filesystem, but I do not want to do this.
Please help me. Thanks.
 
Old 06-21-2013, 07:29 AM   #2
karim.ouda
Member
 
Registered: Jun 2013
Posts: 41

Rep: Reputation: 3
You are executing wrong command.

You have written following command for folder2
Quote:
net use x: \\vboxsvr\folder2
If you execute this, you get
Quote:
The local device name is already in use.
This is correct. The error should be there because you are assigning again x: for your second folder. You have already assigned x: for folder1.
Now you must choose another drive like y or z or whatever for folder2.
Try to execute this.
Quote:
net use y: \\vboxsvr\folder2
I hope you haven't assigned y: already.
Now I think it should not give error.
 
Old 06-22-2013, 12:28 AM   #3
unclesamcrazy
Member
 
Registered: May 2013
Posts: 200

Original Poster
Rep: Reputation: 1
Hey Karim... Thanks for the reply !
It worked for me and now I understood the concept behind it.
One can not assign a single drive for multiple sharing.

Just for my curiosity, I want to know, can I share only 26 folders (A to z partition), that's it?
I have tried using drive name xx, yy, x1, x2, y1, y2...etc but it is not working.
 
Old 06-22-2013, 12:53 AM   #4
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by unclesamcrazy View Post
Just for my curiosity, I want to know, can I share only 26 folders (A to z partition), that's it?
I have tried using drive name xx, yy, x1, x2, y1, y2...etc but it is not working.
26 Drives? Is there a way around the 26 drive limit in Windows?
 
Old 06-22-2013, 01:21 AM   #5
karim.ouda
Member
 
Registered: Jun 2013
Posts: 41

Rep: Reputation: 3
Quote:
Originally Posted by unclesamcrazy View Post
Just for my curiosity, I want to know, can I share only 26 folders (A to z partition), that's it?
What are you saying?

Is 26 small number for you? Suppose you have 1 TB HDD, would you do 26 partitions? I don't think so.

Each shared folder is like a partition in VM. That's why you can't assigned a folder to C: or D: using your command because it is already assigned.
You shouldn't treat it like Samba Share (I hope you know this term because your host OS is ubuntu) just because it's name is share folders.

And if you want to know about number 26, read the above post mentioned by mddesai.
if you want to know in deep, take a look at this.
http://en.wikipedia.org/wiki/GUID_Partition_Table
http://en.wikipedia.org/wiki/Disk_partitioning

And one more thing that you are saying you don't want to share a whole filesystem.
I think it is a good idea. You are using ubuntu, you know path of every file and folder there. Wouldn't it be easy for you to open your desired file and folder using just one share?
 
Old 07-03-2013, 02:43 AM   #6
unclesamcrazy
Member
 
Registered: May 2013
Posts: 200

Original Poster
Rep: Reputation: 1
Thanks I have understood the real use of virtual machine and the number 26.
I have shared only one folder and that is whole filesystem and now it is easy to access every file and folder of my host OS ubuntu.
I am not facing any problem yet.

Just one question because it is related to virtual host that's why I haven't created any new thread.
My host OS is ubuntu 12.10 and I have installed gnome classic desktop, I do not like unity . My screen resolution for ubuntu is 1440 x 900 (16:10)
and resolution of my XP (virtual host OS ) is (1024 x 676 ) highest 32 bit. it is the max I can select.
Now the virtual host OS is appeared in the center of the screen. It is very uncomfortable.
Can it be arranged in a way so my XP's task bar just above the ubuntu task bar (length should be little less than ubuntu's) and width should be same for both that is 1440. so approx resolution for XP should be 1440 x 700 or 1440 x750.

Please suggest for this.

Last edited by unclesamcrazy; 07-03-2013 at 02:44 AM.
 
Old 07-04-2013, 01:26 AM   #7
karim.ouda
Member
 
Registered: Jun 2013
Posts: 41

Rep: Reputation: 3
To add the resolution in windows XP, I don't think you should ask this here in this forum.
Search on google, you must get many useful links.

I think Virtual host OS detects the resolution according to your display settings.
XP should detect it your higher resolution according to your display settings, try to manage it from there.
 
Old 07-04-2013, 01:51 AM   #8
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by unclesamcrazy View Post
Just one question because it is related to virtual host that's why I haven't created any new thread.
My host OS is ubuntu 12.10 and I have installed gnome classic desktop, I do not like unity . My screen resolution for ubuntu is 1440 x 900 (16:10)
and resolution of my XP (virtual host OS ) is (1024 x 676 ) highest 32 bit. it is the max I can select.
Now the virtual host OS is appeared in the center of the screen. It is very uncomfortable.
Can it be arranged in a way so my XP's task bar just above the ubuntu task bar (length should be little less than ubuntu's) and width should be same for both that is 1440. so approx resolution for XP should be 1440 x 700 or 1440 x750.

Please suggest for this.
You are probably referring to seamless mode. Do this
  1. Install Guest Additions for guest VM and reboot
  2. Goto 'View' menu and make sure 'Auto-resize Guest Display' is checked.
  3. Click Maximize Button at top right corner.
  4. Now goto 'View' menu and select 'Switch to Seamless Mode'
  5. To disable and come back to normal mode, press Ctrl+L

Last edited by Madhu Desai; 07-04-2013 at 01:55 AM.
 
1 members found this post helpful.
Old 07-05-2013, 09:46 AM   #9
unclesamcrazy
Member
 
Registered: May 2013
Posts: 200

Original Poster
Rep: Reputation: 1
Thanks mddesai for your solution.
But I was still facing problem.
Neither karim.ouda's solution worked for me. XP was not detected resolution automatically.

But somehow the problem is solved (because of google and my dangerous practicals)
There are several resolution list in displays settings like 1440x900, 1280x1024, 1280x960, 1152x864 etc and when I was changing these in ubuntu as the front screen is virtual box xp screen, the monitor blinks and adds new resolution in XP.
I don't know how this was happened, but it detects some other resolution and I found my desired resolution there that is 1440x778.

I was afraid if I lose this after restart but nothing happened like this

If it would happen, I would give another trouble,

By the way thanks again for your kind help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue faced while installing Linux in virtual machine in Oracle virtual box ravisingh1 Linux - Virtualization and Cloud 5 04-07-2013 10:42 AM
how to share a folder for virtual linux server in windows xp jpmaxyusuf Linux - Server 3 07-20-2010 01:45 PM
unable to auto mount 'shared folder' iin Suse 11.2 virtual machine using Virtual Box marvinudy Linux - Virtualization and Cloud 1 02-03-2010 02:29 PM
I deleted the Additions folder in Virtual Box. Ordinary12 Ubuntu 1 02-21-2008 07:04 PM
Virtual Box. Removing a shared folder inside virtual xp. glore2002 Linux - Software 2 05-20-2007 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration