POV-Ray : Newsgroups : povray.off-topic : Virtual PC and Linux sharing files? Server Time
5 Nov 2024 12:39:26 EST (-0500)
  Virtual PC and Linux sharing files? (Message 1 to 10 of 30)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Darren New
Subject: Virtual PC and Linux sharing files?
Date: 6 Jan 2009 13:11:48
Message: <49639ee4@news.povray.org>
Is there an easy way to do this? It's trivial to share a CD drive, simple to 
share a SMB share if the child machine is running Windows. Has anyone run 
Linux under MS Virtual PC and gotten it to mount a share to talk to the host 
operating system thru?  It's kind of annoying to have to burn files to a CD 
to copy them in and out.  I saw the bit about mounting .vhd drives on the 
host, but it looks kind of daunting to try out.  Simpler would be better.
-- 
   Darren New, San Diego CA, USA (PST)
   Why is there a chainsaw in DOOM?
   There aren't any trees on Mars.


Post a reply to this message

From: Mike Raiford
Subject: Re: Virtual PC and Linux sharing files?
Date: 6 Jan 2009 13:22:38
Message: <4963a16e$1@news.povray.org>
Darren New wrote:
> Is there an easy way to do this? It's trivial to share a CD drive, 
> simple to share a SMB share if the child machine is running Windows. Has 
> anyone run Linux under MS Virtual PC and gotten it to mount a share to 
> talk to the host operating system thru?  It's kind of annoying to have 
> to burn files to a CD to copy them in and out.  I saw the bit about 
> mounting .vhd drives on the host, but it looks kind of daunting to try 
> out.  Simpler would be better.


FWIW, I used Sun's Virtual Box (www.virtualbox.org) and was able to 
share folders between Windows and Ubuntu rather easily. You may want to 
try that VPC host, its very nice and has extensions for many Linux 
distros that can make life easier. It was quite easy to set up, and IIRC 
sharing only required running a simple installer on the guest machine.

You could also "burn" an ISO file, and mount that in Virtual PC. (IIRC, 
if not mount the ISO in virtual CloneDrive on the host OS)

-- 
~Mike


Post a reply to this message

From: Darren New
Subject: Re: Virtual PC and Linux sharing files?
Date: 6 Jan 2009 14:05:10
Message: <4963ab66$1@news.povray.org>
Mike Raiford wrote:
> FWIW, I used Sun's Virtual Box (www.virtualbox.org) and was able to 
> share folders between Windows and Ubuntu rather easily.

I can get in and out of the network. I can telnet from the guest to a 
telnet-based server on the host. So the connectivity is there. I just can't 
find instructions as to why, when I configure opensuse11 loaded with every 
package containing "samba" or "smb" or "cifs", I can open the "windows 
network" in gnome and not see any of the shares.  Basically, I'm defeated by 
the user unfriendliness.

> You could also "burn" an ISO file, and mount that in Virtual PC. (IIRC, 
> if not mount the ISO in virtual CloneDrive on the host OS)

Yeah, I guess that's easier than actually burning a disk.

-- 
   Darren New, San Diego CA, USA (PST)
   Why is there a chainsaw in DOOM?
   There aren't any trees on Mars.


Post a reply to this message

From: Darren New
Subject: Re: Virtual PC and Linux sharing files?
Date: 6 Jan 2009 14:28:24
Message: <4963b0d8$1@news.povray.org>
Darren New wrote:
> I'm defeated by the user unfriendliness.

OK. Now I can see the computers on the network (probably a firewall 
misconfiguration on SuSE's end), but I still don't see any actual shares. 
Weird, but that's probably something with permissions or some such now. I'm 
encouraged enough to maybe continue to try to make it work. :-)

-- 
   Darren New, San Diego CA, USA (PST)
   Why is there a chainsaw in DOOM?
   There aren't any trees on Mars.


Post a reply to this message

From: Eero Ahonen
Subject: Re: Virtual PC and Linux sharing files?
Date: 6 Jan 2009 15:02:58
Message: <4963b8f2$1@news.povray.org>
Darren New wrote:
> 
> OK. Now I can see the computers on the network (probably a firewall
> misconfiguration on SuSE's end), but I still don't see any actual
> shares. Weird, but that's probably something with permissions or some
> such now. I'm encouraged enough to maybe continue to try to make it
> work. :-)
> 

Have you tried just mounting it to see Samba etc actually works ok?

mount -t smbfs //ip.of.host/sharename /mnt/sharedfromhost

-Aero


Post a reply to this message

From: Jim Henderson
Subject: Re: Virtual PC and Linux sharing files?
Date: 6 Jan 2009 15:11:13
Message: <4963bae1$1@news.povray.org>
On Tue, 06 Jan 2009 10:11:45 -0800, Darren New wrote:

> Is there an easy way to do this? It's trivial to share a CD drive,
> simple to share a SMB share if the child machine is running Windows. Has
> anyone run Linux under MS Virtual PC and gotten it to mount a share to
> talk to the host operating system thru?  It's kind of annoying to have
> to burn files to a CD to copy them in and out.  I saw the bit about
> mounting .vhd drives on the host, but it looks kind of daunting to try
> out.  Simpler would be better.

Why not just configure SAMBA in the guest?  I don't know VPC, but if it 
does anything like VMware, the Host/Guest filesystem sharing isn't as 
solid as just going native CIFS or SMB.

Jim


Post a reply to this message

From: Darren New
Subject: Re: Virtual PC and Linux sharing files?
Date: 6 Jan 2009 15:30:18
Message: <4963bf5a@news.povray.org>
Jim Henderson wrote:
> Why not just configure SAMBA in the guest?

I'm not sure what the difference is between SAMBA and SMB and whatever, for 
one. At this point, OpenSUSE on the guest can connect to the Windows machine 
it's running on (via telnet) and it can see the host machine (and itself) in 
Gnome's nautilus. But It doesn't see any of the things the host is sharing.

The host can see the guest machine, but when I try to mount any of the 
shares I think it should be sharing, I get "access denied", even tho there's 
only root and "darren" on the guest OS, and I tried the passwords for both, 
so I don't know what I'm supposed to be doing there either.

Eero Ahonen wrote:
 > Have you tried just mounting it to see Samba etc actually works ok?

Well, yes, that's my basic goal. ;-)

 > mount -t smbfs //ip.of.host/sharename /mnt/sharedfromhost

smbfs isn't found.  "mount -t cifs" with the same args prompts me for a 
password, then gives me error 13 = Permission denied. However, after 
following thru the man page and giving a bunch of options on the command 
line that it had been prompting for before, it seems to have mounted my 
public share locally on the guest.

Thanks for the help there!


-- 
   Darren New, San Diego CA, USA (PST)
   Why is there a chainsaw in DOOM?
   There aren't any trees on Mars.


Post a reply to this message

From: Jim Henderson
Subject: Re: Virtual PC and Linux sharing files?
Date: 6 Jan 2009 15:54:04
Message: <4963c4ec$1@news.povray.org>
On Tue, 06 Jan 2009 12:30:13 -0800, Darren New wrote:

> I'm not sure what the difference is between SAMBA and SMB and whatever,
> for one. At this point, OpenSUSE on the guest can connect to the Windows
> machine it's running on (via telnet) and it can see the host machine
> (and itself) in Gnome's nautilus. But It doesn't see any of the things
> the host is sharing.
> 
> The host can see the guest machine, but when I try to mount any of the
> shares I think it should be sharing, I get "access denied", even tho
> there's only root and "darren" on the guest OS, and I tried the
> passwords for both, so I don't know what I'm supposed to be doing there
> either.

My first thought would be firewall, by default the openSuSE firewall is 
completely locked down, but if you get "access denied", then it's 
permissions related on the host.

Jim


Post a reply to this message

From: Darren New
Subject: Re: Virtual PC and Linux sharing files?
Date: 6 Jan 2009 16:07:41
Message: <4963c81d@news.povray.org>
Jim Henderson wrote:
> My first thought would be firewall, by default the openSuSE firewall is 
> completely locked down, but if you get "access denied", then it's 
> permissions related on the host.

Well, once I killed the firewall, I could see other computers on the LAN, 
but not their shares etc.  Once I used a manual mount -t cifs and put in the 
  -o user=...,password=... and a few other options, I could mount the share 
on the guest from the host, so I'm cool now.

Again, thanks for everyone's help.

(Am I the only one that has been perpetually bugged since before Linux that 
exiting a man page display clears the screen? :-)

-- 
   Darren New, San Diego CA, USA (PST)
   Why is there a chainsaw in DOOM?
   There aren't any trees on Mars.


Post a reply to this message

From: Eero Ahonen
Subject: Re: Virtual PC and Linux sharing files?
Date: 6 Jan 2009 16:22:19
Message: <4963cb8b@news.povray.org>
Darren New wrote:
> 
> Well, once I killed the firewall, I could see other computers on the
> LAN, but not their shares etc.  

That might even be a bug in the file manager software. That's why I
asked to try from command line.

> Again, thanks for everyone's help.

Be welcome :).

> (Am I the only one that has been perpetually bugged since before Linux
> that exiting a man page display clears the screen? :-)

No, you're not. I tend to use multiple Xterms to cover that problem -
that way you even can scroll the man-page while writing the command.

-Aero


Post a reply to this message

Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.