Hi all,
Got Win_XP host with CentOS 5.2 Linux guest and I have done the folllowing to set up a shared folder:
1. open vbox
2. create “share” folder in C: local drive as shared folder
3. boot into virtual CentOS
4. login as root
5. mkdir /mnt/share_xp
6. vi /etc/sudoers
7. change root line to:
a. root ALL = NOPASSWD : ALL
8. cd /root
9. mkdir scripts
10. chmod 777 scripts
11. nano scripts/shared-folders
12. #!/bin/sh
13. sudo mount –t vboxsf share /mnt/share_xp
14. chmod 777 share-folders
15. ctrl+O to output, then return
16. ctrl+X to exit
17. Add the script to Gnome startup programs:
Desktop > Preferences > Sessions > Startup Programs
Unfortunately, the system doesn't auto share the folder, if I run the script manually then the share works, so I'm wondering if anyone could suggest another method to point 17. above, thanks in advance.
Shared Folders
-
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: Shared Folders
Check my howto in the Linux Guests forum.
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.
-
redshark313
- Posts: 13
- Joined: 2. Mar 2009, 18:49
Re: Shared Folders
Got it, didn't see that section first time round. Worked, thanks.
-
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: Shared Folders
Great, then I'm locking this one.
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.