I'm using vagrant inside the linux VM using VMWare and the hosted machine is windows-base. So it's a virtual machine inside a virtual machine.
So when I try to boot the vagrant box I got this error
When I google I couldn't able to find the exact solution for this but here in this question Vagrant up timeout #BrainC pointed out that enable GUI mode from vagrant config file it will give you better idea what exactly going wrong here. but still I couldn't able to find any cause of the problem!
So what's the really issue here... is it because of virtual-machine inside virtual-machine or it's something else.
UPDATE:
when i enabled gui option in vagrantfile gui opens it shows some error BUT IT happend so fast I couldn't able to see it, so I've recorded the screen and this is what i got
Related
I'm very much a Vagrant noob so hope this is an easy issue to fix issue.
I've set up a Vagrant ubuntu/trusty64 box that aliases to an existing directory on my local machine that hosts the development files for a website. I gave the box an IP address (192.168.44.44) and set up domains in my 'hosts' file.
I can ssh into the box no problem and can navigate to the aliased files from within ssh. So the box is working as expected.
I can open a cmd window and ping both the IP address and domain without an issue.
But when I try to access the IP or the domain from within a browser I get an ERR_CONNECTION_REFUSED error. The error appears immediately without any delay.
I'm on a Windows 10 machine. Hope someone can help.
It turns out that the trusty64 box is just Linux but doesn't start with Apache. My other test environments when I looked at them were all LAMP boxes. So the reason all the various tests were working except for the browser was because Apache hadn't been installed.
I hope this helps someone if they have a similar issue.
context: I've been using a box previously made by someone else. I've been using vagrant up for that and it has been working out. I don't really understand vagrant and/or virtualbox.
problem: I deleted some files I want to use again.
question: I have made a copy of the box as soon as I started working and now I want to access that one with vagrant up. Is there a way to link that copied box to a folder (even if it's the old one)? Thanks in advance.
I was messing with systemd in my Vagrant box and I think I did something wrong since the box won't boot anymore. What I need to do is to remove certain files under /etc/systemd in my Vagrant box. However since I can't boot it, I have to remove those files from the host, but I don't know how to do it.
The VM provider is virtualbox. Both the host and the guest are ubuntu 15.04.
Thanks in advance!
option 1: you can try to add vagrant ssh -c 'cmd to run' in your vagrant file, but as you said it really does not boot, I give it really low chance to success.
option 2: create a new VM and add the hard drive from the old box to the new box (add new hard drive from existing disk), boot it and you might need to mount the new hard drive then you should be able to access your data so make the change in your /etc/systemd or whatever files you need and save. once you have made all your fix, you should be able to reboot from the old vm.
I ended up just creating a new VM but I'm fairly certain that this would work: you just mount the virtual disk file (.vmdk in my case) as a hard drive and make the fix. For different formats of virtual disks you need different tools to mount them, which I'm not going to cover here.
I have a Vagrant set up with 3 virtual machines. Each machine has its own shell script for provisioning.
Now I would like to share the exact same status of my set up with somebody else. Since the provisioning procedure takes really (!!) long for each machine, I hope there is another solution.
Ideally I would be able to save each machine as it is in one file, which the other person then could import into Virtualbox. Is there a way to do that?
If I understand you correctly you would like to make a Vagrant base box from provisioned by Vagrant VMs. This is not recommended way to go. How you can approach this is:
Create new VM manually with required OS in the VBox.
Adjust it so Vagrant can connect to it as described here and here.
Provision it using your shell scripts.
Install all the things you would find useful to have on this VM.
Use Vagrant to package it as a base box as described here.
After packaging it with Vagrant you will get a Vagrant base box file with .box extension. You can then pass this to your team mates (usb, network share, ftp etc.) and they can add it to their Vagrant installation and use it. Whenever they will do Vagrant up they will get fully provisioned VM in VBox with all the stuff you have packaged to it. Vagrant also gives you versioning capabilities. If properly configured whenever you will create new version of base box everybody who is using it will be notified and would be able to download and use new version of your box.
Hope I understood your problem correctly and this will help to solve it.
I am trying to create a dev box for SharePoint 2010 Server utilizing the following:
http://blogs.msdn.com/b/cjohnson/archive/2010/10/28/announcing-sharepoint-easy-setup-for-developers.aspx
So first of all this is new to me. I understand that these are instructions are for dual boot in Windows Native, but I am more interested in using a VHD/image of the OS to run on VMWare.
I have tried creating an image of a running virtual machine with sysprep tool, but hit a dead end with capturing the image to a file that I can reference within the running machine to run the scripts against.
I took a look at Diskpart on TechNet, but as I am new to this, I am not sure this is what I want to do?
I tried installing to the local host (virtual machine that is running) and am getting an error there also; fails at Windows Identity Framework.
It is a clean install of Windows 7 (literally nothing else), and the UAC has been disabled.
Is there any insite, help, or advice anyone can provide me regarding this? I would really appreciate it as I have to get working on the development aspects of SP (workflows, web parts,etc), and need a dev env, and I can't seem to get anywhere with this.
Thanks
Justin