virtualbox (version 5.2) vm not booting and showing arp timeout
-
@sebastian-roth
Earlier i was getting the following error:Then i searched on net and i got suggestion that dnsmasq would solve the issue so i installed dnsmasq.
After your prompt i again stopped the dnsmasq then i again got the same screen mentioned above.
-
@vivek Ahh, now I see. Should have asked earlier. I thought there was a good reason to use dnsmasq. For you to understand: To PXE boot a client you need to add two things to the DHCP information offered to a client. That is, DHCP option 66 - next server and DHCP option 67 filename. A normal DHCP server like you have with config file
/etc/dhcp/dhcpd.conf
is able to provide both those options (and many more) to the client. But there are other DHCP servers or situations where you can’t add those options. They just hand out IPs to clients but no PXE information. In such a case you can add dnsmasq to your network which can act as a so called proxy DHCP, as well answering clients’ DHCP requests but only providing PXE information (not IP address information). Clients are usually able to combine the two DHCP answers and do PXE boot. But it can be a little tricky.So as it doesn’t seem you need dnsmasq, we better try to get your dhcp conf right to set you up. Seems like you were just missing the filename option. So please add back the
next-server 192.168.1.6;
line which I asked you to remove and just below that add another linefilename "undionly.kpxe";
. Save config, restart service and you should be booting to the FOG PXE menu. -
@sebastian-roth
Thank you very much for giving time to my problem.I have stopped dnsmasq then made the changes of next-server and filename in the dhcp conf file then restarted dhcp service.
then i go the following error:
file:///home/student/VirtualBox_fog_client_11_12_2017_09_14_26.pngI inspected the wireshark on vboxnet0 host only adapter interface of virutalbox:
It is clear that i m still getting dhcp offer from two ip address 192.168.16 (fog server) and 192.168.1.2 ( vboxnet0 interface ip address).
I am not getting why 192.168.1.2 is working as DHCP server.
Please suggest the problem.
-
@vivek Check this out: https://www.thomas-krenn.com/en/wiki/Network_Configuration_in_VirtualBox#Host-only_Networking
I haven’t used Host-Only much and therefore didn’t know that it does DHCP on it’s own. Not sure if it is possible to switch that off?!? If you can’t then I’d suggest switching off the normal isc-dhcp on your FOG server and installing dnsmasq there to be able to inject PXE information into the Host-Only DHCP information. That’s just an idea, haven’t tried this.
Or you could just use a bridged network interface. I do that on my machine. For that I manually create a virtual tap interface (
tunctl
command) and use that as bridge device. It’s very similar to host only but I am in charge of IP address and weather it’s DHCP or static IPs. -
@vivek Just looked at your pictures again. I kind of looks as if it properly points to 192.168.1.6 and also sends undionly.kpxe as filename. Maybe your TFTP server is down? Run
netstat -antup | grep ":69"
as root on your 192.168.1.6 machine and see what you get. -
Thanks a lot for ur suggestion.
I could get the virtualbox vm network booted when i changed the network from "host only adapter " to “bridged”.
-
@vivek said in virtualbox (version 5.2) vm not booting and showing arp timeout:
After booting from network I tried to deploy an windows image already created with FOG but it is showing following error:
What do you mean by “already created”? Did you upload an image before deploying? Just creating it in the web UI is not enough.
-
"already created " means that with the help of fog server installed on the same ubuntu machine (on which I want to network boot virtualbox VM) I had captured Image of a physical machine (windows7 ) and now I want to deploy Windows7 image captured from the physical machine to the Virtualbox VM.
When i deploy the image on network booted VM , i get the follwoing error:
file:///home/student/Pictures/VirtualBox_fog_client_12_12_2017_15_12_37.png
-
@vivek Is this image set to resizable or non-resizable? Was this setting changed between capture and restore?
What disk size has your physical machine and what size has you VM disk?
I’ll mark this solved as the initial question is being answered. Please open a new thread on further issues in the imaging process. It’s better to not mix up many questions in one thread!
-
thank you . I will open a new thread and You can mark it as closed.