Debian 32 shared folder in Win 7 x64
-
Takayuki
- Posts: 35
- Joined: 29. Nov 2009, 22:53
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Win Xp 32bit, Debian 5.0.4 i38, Mint Linux 9.0 Isa
Debian 32 shared folder in Win 7 x64
I am having trouble sharing files between Debian 5.0.4 i38 and win 7. Has anyone successfully shared a folder between the two and if so how did you do it?
-
dmcgraw
- Volunteer
- Posts: 808
- Joined: 24. Jun 2008, 17:16
- Primary OS: Ubuntu 8.10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: XP, Ubuntu 9.10
- Location: St. Louis, MO, USA
Re: Debian 32 shared folder in Win 7 x64
You really need to give more information.
What version of VB are you running?
Have you installed the Guest Additions?
What have you tried and what was the result?
Exact error messages?
What version of VB are you running?
Have you installed the Guest Additions?
What have you tried and what was the result?
Exact error messages?
-
Takayuki
- Posts: 35
- Joined: 29. Nov 2009, 22:53
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Win Xp 32bit, Debian 5.0.4 i38, Mint Linux 9.0 Isa
Re: Debian 32 shared folder in Win 7 x64
ver 3.1.6.r59338dmcgraw wrote:You really need to give more information.
What version of VB are you running?
Have you installed the Guest Additions?
What have you tried and what was the result?
Exact error messages?
Guest additions are installed as I can now adjust screen resolution in it
In order to share a folder in Win 7, I went to the virtual machine settings and set the folder that I want to share between the two.
When following this https://help.ubuntu.com/community/Virtu ... redFolders , I get to the point where I run "mount -t vboxsf share mountpoint" or "mount -t vboxfs share mountpoint" in the debian terminal and get the error "mount point mountpoint does not exist"
You might ask why am using Ubuntu instructions to share in Debian, thats because I have searched the net for Debian tutorial and cant find any.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Debian 32 shared folder in Win 7 x64
See Chapter 4.7. Folder sharing in your VirtualBox users guide.I get to the point where I run "mount -t vboxsf share mountpoint" or "mount -t vboxfs share mountpoint" in the debian terminal and get the error "mount point mountpoint does not exist"
You need to create a mount point in the Linux guest as SU
- Example: mkdir /mnt/myshare
mount -t vboxsf <share name> <mount point>
- Example: mount -t vboxsf share /mnt/myshare
-
Takayuki
- Posts: 35
- Joined: 29. Nov 2009, 22:53
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Win Xp 32bit, Debian 5.0.4 i38, Mint Linux 9.0 Isa
Re: Debian 32 shared folder in Win 7 x64
After running mkdir /mnt/mysharePerryg wrote:See Chapter 4.7. Folder sharing in your VirtualBox users guide.I get to the point where I run "mount -t vboxsf share mountpoint" or "mount -t vboxfs share mountpoint" in the debian terminal and get the error "mount point mountpoint does not exist"
You need to create a mount point in the Linux guest as SUthen you run the mount statement.
- Example: mkdir /mnt/myshare
mount -t vboxsf <share name> <mount point>
- Example: mount -t vboxsf share /mnt/myshare
error: mkdir: cannot create directory '/' File exists
mkdir: cannot create directory ' mnt/myshare' : No such file or directory
After runnning mount -t vboxsf share /mnt/myshare
It gives me details on how mountpoint is used with various switches
Now what is the difference between myshare and share terms used here?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Debian 32 shared folder in Win 7 x64
/mnt/myshare
no spaces and it must be complete with the / at the front of the path.
As I said it is an example. You make a mount point where you need to.
no spaces and it must be complete with the / at the front of the path.
As I said it is an example. You make a mount point where you need to.
-
Takayuki
- Posts: 35
- Joined: 29. Nov 2009, 22:53
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Win Xp 32bit, Debian 5.0.4 i38, Mint Linux 9.0 Isa
Re: Debian 32 shared folder in Win 7 x64
Let me get this right. If share is the name of the folder I intend to use between the guest/host what is myshare?Perryg wrote:/mnt/myshare
no spaces and it must be complete with the / at the front of the path.
As I said it is an example. You make a mount point where you need to.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Debian 32 shared folder in Win 7 x64
If share is the name you want to use then it would be /mnt/share
These are only examples. When you see something between <> that means to replace it with the exact name that you are using.
<share name> would then = share if that is what you want to use.
<mount point> = /mnt/share or /home/<your user name>/share If your user name was matt then it would be /home/matt/share.
These are only examples. When you see something between <> that means to replace it with the exact name that you are using.
<share name> would then = share if that is what you want to use.
<mount point> = /mnt/share or /home/<your user name>/share If your user name was matt then it would be /home/matt/share.
-
Takayuki
- Posts: 35
- Joined: 29. Nov 2009, 22:53
- Primary OS: MS Windows 7
- VBox Version: OSE other
- Guest OSses: Win Xp 32bit, Debian 5.0.4 i38, Mint Linux 9.0 Isa
Re: Debian 32 shared folder in Win 7 x64
Finally got it working!
The trouble was with damaged Linux headerfiles. I had them repaired with "apt-get install build-essential linux-headers-`uname -r`"
Now everything runs smoooth and easy
The trouble was with damaged Linux headerfiles. I had them repaired with "apt-get install build-essential linux-headers-`uname -r`"
Now everything runs smoooth and easy