Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No VBox Guest additions =>Unable to mount /vagrant in VirtualBox shared folders. SOLVED #1

Open
acf136 opened this issue Jan 29, 2020 · 3 comments

Comments

@acf136
Copy link

acf136 commented Jan 29, 2020

Hello,

Brief:
There's an issue with the new wechris/OpenSUSE-15.1_sapnw752 Vagrant box that is not with the last version wechris/openSUSE-42.3 Vagrant box, and, in my opinion, is because the new box doesn't include the guest additions as default, as is shown in the output for the vagrant up command below.

History:
https://github.com/wechris/SAPNW752SP01 WORKS PERFECT IN THE SAME MACHINE/CONFIGURATION .

MACHINE/CONFIGURATION:

  • Toshiba SATELLITE P50-A-12Z - i7/4700MQ CPU/ 16GBytes RAM/500GBytes SSD
  • Windows 8.1
  • Gitbash from Git version 2.21.0.windows.1
  • Vagrant 2.2.5
  • VirtualBox 6.0.16
  • /vagrant is the mount point in Guest (Suse Linux)
  • C:/Users/tp50/.vagrant.d/boxes/SAPNW752SP04-master is the folder in w8.1 host where is the file Vagrantfile cloned from github repository

Output reporting errors:

THIS IS THE OUPUT IN Gitbash : >>

tp50@tp50a MINGW64 ~/.vagrant.d/boxes/SAPNW752SP04-master
$ vagrant up --provision --provider virtualbox
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'wechris/OpenSUSE-15.1_sapnw752' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: 1.0.0
==> default: Loading metadata for box 'wechris/OpenSUSE-15.1_sapnw752'
default: URL: https://vagrantcloud.com/wechris/OpenSUSE-15.1_sapnw752
==> default: Adding box 'wechris/OpenSUSE-15.1_sapnw752' (v1.0.0) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/wechris/boxes/OpenSUSE-15.1_sapnw752/versions/1.0.0/providers/virtualbox.box
default: Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com
default:
==> default: Successfully added box 'wechris/OpenSUSE-15.1_sapnw752' (v1.0.0) for 'virtualbox'!
==> default: Preparing master VM for linked clones...
default: This is a one time operation. Once the master VM is prepared,
default: it will be used as a base for linked clones, making the creation
default: of new VMs take milliseconds on a modern system.
==> default: Importing base box 'wechris/OpenSUSE-15.1_sapnw752'...
==> default: Cloning VM...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'wechris/OpenSUSE-15.1_sapnw752' version '1.0.0' is up to date...
==> default: Setting the name of the VM: SAPNetWeaver7.52SP04
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 8000 (guest) => 8000 (host) (adapter 1)
default: 44300 (guest) => 44300 (host) (adapter 1)
default: 3300 (guest) => 3300 (host) (adapter 1)
default: 3200 (guest) => 3200 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection reset. Retrying...
default: Warning: Connection aborted. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Connection reset. Retrying...
default: Warning: Connection aborted. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: No guest additions were detected on the base box for this VM! Guest
default: additions are required for forwarded ports, shared folders, host only
default: networking, and more. If SSH fails on this machine, please install
default: the guest additions and repackage the box to continue.
default:
default: This is not an error message; everything may continue to work properly,
default: in which case you may ignore this message.
==> default: Setting hostname...
==> default: Mounting shared folders...
default: /vagrant => C:/Users/tp50/.vagrant.d/boxes/SAPNW752SP04-master
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available.
This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t vboxsf -o uid=1000,gid=100 vagrant /vagrant

The error output from the command was:

END OF THE OUPUT IN Gitbash : >>

Possible solution:
Review the last vagrant box SAPNW752SP01 to include in the new box SAPNW752SP04 the installation of VBox Guest additions by default.

@acf136 acf136 changed the title Unable to mount /vagrant => C:/Users/tp50/.vagrant.d/boxes/SAPNW752SP04-master No VBox Guest additions =>Unable to mount /vagrant => C:/Users/tp50/.vagrant.d/boxes/SAPNW752SP04-master Jan 29, 2020
@acf136 acf136 changed the title No VBox Guest additions =>Unable to mount /vagrant => C:/Users/tp50/.vagrant.d/boxes/SAPNW752SP04-master No VBox Guest additions =>Unable to mount /vagrant in sharedfolders Jan 29, 2020
@acf136 acf136 changed the title No VBox Guest additions =>Unable to mount /vagrant in sharedfolders No VBox Guest additions =>Unable to mount /vagrant in VirtualBox shared folders. Jan 29, 2020
@wechris
Copy link
Owner

wechris commented Feb 2, 2020

Hi,
I made some tests with the VagrantBox on Windows 10.
Please check, which vagrant plugins are installed:
vagrant plugin list
If no plugin is installed, try installing vagrant plugin install vagrant-vbguest.
Installing vagrant-vbguest has solved the problem with my tests.
If the plugin is installed, check if an update is available: vagrant plugin update [<name>]
A complete new rebuild is necessary in both cases.
Good luck.

@acf136 acf136 changed the title No VBox Guest additions =>Unable to mount /vagrant in VirtualBox shared folders. No VBox Guest additions =>Unable to mount /vagrant in VirtualBox shared folders. SOLVED Feb 4, 2020
@acf136
Copy link
Author

acf136 commented Feb 4, 2020

Many thanks.
It works.
solution: vagrant plugin install vagrant-vbguest

Note: It would be appreciated a remark on a blog-step by step to install SAP Fiori, as much detailed as possible.

@acf136
Copy link
Author

acf136 commented Mar 16, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants