Posts: 893
Threads: 197
Joined: Jul 2014
Reputation:
0
04-06-2015, 06:34 AM
(This post was last modified: 08-24-2015, 06:20 AM by m654321.)
I have no problems setting up file sharing between a windows 7 guest in a LL2.2 host, using Oracle Virtualbox, having already done this a few times on different laptops.
However, when the guest is changed to a distro e.g. ubuntu 14.04, with LL2.2 host, I have problems setting up file sharing. The problem is something like this...
... the 'Guest Additions' appear to install correctly. However, when I go to...
Browse Network (within the guest) → Lappy → linuxliteshare,
a window opens up with a password request for linuxliteshare. However when I put my Administrator password in this doesn't seem to work.
Any clarification much appreciated.
Kind regards
Mike
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Posts: 857
Threads: 47
Joined: Feb 2014
Reputation:
0
Hi m654321,
Does the VirtualBox section in the LL Manual help?
https://www.freecinema2022.gq/manual/softw....html#vbox
Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
[size=1em]Hi,[/size]
[size=1em]Linux Guests/Hosts are a bit different.
> Have you installed "Guest Additions[/size]" in the Guest?
[size=1em]Note the last instruction can be a sudo:[/size]
Code: sudo sh ./VBoxLinuxAdditions.run
[size=1em]Have you set up "Shared Folders[/size]" on the Host, then it can be mounted from Guest.?.?
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Posts: 893
Threads: 197
Joined: Jul 2014
Reputation:
0
Thanks Wirezfree, I tried sudo sh ./VBoxLinuxAdditions.run but the terminal replies with...
sh: 0: can't open ./VBoxLinuxAdditions.run
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
Hi,
In the VM menu "Device",
It appears when you mouse over the middle of the Guest Task bar.
I'm unable to grab it in a screen shot, it's transient
Make sure to select "Insert Guest Additions CD Image"
It will mount, and appear on the desktop.
Then open it, and "right click" in it,
Then select "Open Terminal Here"
Then try command again....
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Posts: 893
Threads: 197
Joined: Jul 2014
Reputation:
0
08-20-2015, 03:34 PM
(This post was last modified: 08-20-2015, 03:39 PM by m654321.)
I've returned to this issue after putting it on hold for a while, but am still unable to get Linux guest and Linux host to communicate, e.g. I would like LL v2.6 beta (guest) to access data files on LL v2.4, and also to access files on a DATA partition on a separate 2nd physical hard drive on the same laptop.
I have seen a thing called 'linuxliteshare' in the VM but it asks for a password and my administrator password doesn't seem to work.
The guest recognises & accesses USB devices plugged into the laptop (e.g. printer external drives etc), and the guest takes up the full screen when booted up.
Dave, I did everything you suggested above, but it doesn't seem to work for guest/host communication - I seem to be missing something...
Any further guidance on this one...?
Cheers
Mike
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Posts: 1,599
Threads: 86
Joined: Jun 2015
Reputation:
0
08-20-2015, 04:06 PM
(This post was last modified: 08-20-2015, 04:13 PM by torreydale.)
To m654321 ,
The following assumes you've installed Virtualbox guest additions to your VM. Since your guest VM recognizes USB devices and since the desktop resizes, it sounds like guest additions and the Virtualbox Essentials Pack have been installed.
Now to get shared folders between the host and the guest, do the following:
1) Create a folder on your host machine that you want to share with your VM.
2) With your VM powered off, go to the VirtualBox settings of your VM.
3) Go to the Shared folders section of those settings.
3) For Machine Folders, add a shared folder pointing to the folder you created on your host machine, and set it to Auto-mount.
4) Start your VM.
5) After the reboot, within the VM, go to the User Manager (Menu->Settings->User Manager).
6) Add your user account to the vboxsf user group (ie. for your user account, put a check mark next to vboxsf).
7) Restart your VM.
The shared folder on the VM will be under the /media parent folder. You can create a test document there and see it show under the folder you created on your host machine.
Same directions are in this video with one exception...the video producer added the user account to the vboxsf group using the terminal instead of the user manager.
https://www.youtube.com/watch?v=TcrfrVNNGMU
Want to thank me? Click my [Thank] link.
Posts: 1,484
Threads: 96
Joined: Mar 2014
Reputation:
0
@ torreydale,
Well remembered, I have not installed a Linux guest for a while, and not needed to run it.
I just checked my install, and it matches your comments. I forgot about ticking the vboxsf in user manger.
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks
Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) , BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Posts: 893
Threads: 197
Joined: Jul 2014
Reputation:
0
08-24-2015, 06:12 AM
(This post was last modified: 08-24-2015, 06:22 AM by m654321.)
@torreydale & @wirezfreeze...
Many thanks to you both - I have now got host LL & guest LL 'talking' to each other through /media/sf_ [name of directory].
One difficulty was that Host already had its directories (Documents, Downloads, Music etc...) symlinked to a separate data partition (shared with Win8.1).
When I tried to link them all collectively with Guest under Shared Folders in the Virtual Box Manager as /home/mike, they would appear with double crosses when I opened File System (under File Manager) on Guest.
However I got round this problem by linking the directories individually under Shared Folders in Virtual Box Manager, i.e. as /home/mike/Documents; /home/mike/Downloads; home/mike/Music; etc... It works just fine now so I will mark this thread as SOLVED.
However, is there a way of making /media/sf_ [name of directory] more accessible in Guest, rather than having to go through the File Manager each time? Maybe I could mount them collectively in a folder on the Desktop - how do I do that?
Many thanks again for your help guys.
Cheers
Mike
64bit OS (32-bit on Samsung[i] netbook) installed in [i]Legacy mode on MBR-formatted SSDs (except pi which uses a micro SDHC card):
2017 - Raspberry pi 3B (4cores) ~ [email protected] - LibreElec, used for upgrading our Samsung TV (excellent for the task)
2012 - Lenovo G580 2689 (2cores; 4threads] ~ [email protected] - LL3.8/Win8.1 dual-boot (LL working smoothly)
2011 - Samsung NP-N145 Plus (1core; 2threads) ~ Intel Atom [email protected] - LL 3.8 32-bit (64-bit too 'laggy')
2008 - Asus X71Q (2cores) ~ Intel [email protected] - LL4.6/Win8.1 dual-boot, LL works fine with kernel 4.15
2007 - Dell Latitude D630 (2cores) ~ Intel [email protected] - LL4.6, works well with kernel 4.4; 4.15 doesn't work
Posts: 1,599
Threads: 86
Joined: Jun 2015
Reputation:
0
You can create a shortcut or a link.
Open up the file manager (Thunar). Right click on the folder you want quick access to and select Send To. From there, you have an option to Create a Shortcut to the side pane of the file manager (Thunar), or an option to Create a Link to the Desktop.
Want to thank me? Click my [Thank] link.
|