I am now fully operational and up to date to boot! Thank you very much for your time Mr. George1421! It’s much appreciated.
Posts made by Merilious
-
RE: Can't load web portal, PXE boot fails
-
RE: Can't load web portal, PXE boot fails
That did it! I ran the remove unattended updates at the bottom as well.
So now to update the FOG install. Just to make sure I do this correctly I run the following correct?git clone https://github.com/FOGProject/fogproject.git /root/fogproject .
cd /root/fogproject/bin
./installfog.sh
Or should the install line be:
php_ver='7.0' php_verAdds='-7.0' ./installfog.sh -y
Just grabbing info from around the Wiki and stuff.
-
RE: Can't load web portal, PXE boot fails
snmysqlpass=‘’
Also, the FOG version up top states:
Version: 1.4.0-RC-8
Install time: Tue 25 Apr 2017 04:50:18 PM CDT -
RE: Can't load web portal, PXE boot fails
“A valid database connection could not be made”
-
Can't load web portal, PXE boot fails
Server
- FOG Version: Not sure
- OS: Ubuntu 16.04
Client
- Service Version:
- OS: Win10
Description
Sorry for the lack of description info. I believe I am running FOG 1.3.x but forgot how to check what version it is. Spent a good few weeks building an awesome FOG server with the help of the good people of these forums, and used it quite a bit, but then it sat idle for the past month. Just enough time to forget how to traverse and work with Linux/Fog (SHAME!). I tried accessing the web portal and it does not get to the login page, but if I just use the IP without the /fog/management it connects to a FOG page with a couple of links. Also, PXE booting fails with the following error messages (screenshot included):
- input/output error (http://ipxe.org/1d0c6439)
- Could not boot:
- Chainloading failed
I tried doing a little research and saw maybe a mysql database error, but I could not run some of the terminal statements listed. I also saw to maybe try reinstalling FOG but wanted to checkin before doing so. Not sure if that would remove my previous images and pc objects in FOG. Any help getting me back in and up and running would be greatly appreciated and thank you ahead of time.
-
RE: Dell Inspiron 15 7559
Fired up my test Dell Inspiron 7559 through UEFI boot and it first failed but that was my fault. I forgot to undo all the changes to the ltsp.conf I had done on Friday. After I changed the boot files all back to ipxe.efi the Dell 7559 booted just fine to the FOG menu and also successfully registered with the FOG server using the quick registration. I guess your assumption was correct about the funky setup of the Parallels UEFI VMs. BIOS works GREAT on those VMs, it’s just the EFI boot that doesn’t get through the bzImage phase.
-
RE: Dell Inspiron 15 7559
For now yes…I shamefully forgot my Dell test laptop at home. That’d be the big test to see if I can get that to register with FOG. Will post here soon as I get that test done. Thanks a bunch for all the info!
-
RE: Dell Inspiron 15 7559
So I’ve gone through all the combos that I could find between the boot files found in tftpboot and the NICs provided by the Parallel VM options.
Bootfiles tried:
intel.efi
intel7156.efi
ipxe.efi
ipxe7156.efi
realtek.efi
realtek7156.efi
snp7156.efi
snp.efi
snponly.efi
snponly7156.efiNIC options:
Intel PRO/1000 MT
Intel Gigabit CT (82574L)
Realtek RTL8029AS
Virtio network adapterSome would fail to get to the FOG boot screen. Most would get the previously stated bzIMAGE… 0 to 1%. A few got slightly further but would fail at this part:
-
RE: Dell Inspiron 15 7559
I tried both the ipxe7156.efi and the intel.efi. Both had the same effect. Looked in the syslog and here’s the print out of one of the attempts. Just for verification I went in to the ltsp and changed all bootfile options to either the ipxe7156.efi or intel.efi. The one thing that pops out a little is the line saying
Apr 28 10:33:54 fogprod in.tftpd[24188]: tftp: client does not accept optionsApr 28 10:33:50 fogprod dnsmasq-dhcp[24056]: 1914483971 available DHCP subnet: 10.100.10.22/255.255.255.0 Apr 28 10:33:50 fogprod dnsmasq-dhcp[24056]: 1914483971 vendor class: PXEClient:Arch:00007:UNDI:003016 Apr 28 10:33:50 fogprod dnsmasq-dhcp[24056]: 1914483971 PXE(ens32) 00:1c:42:9a:b9:f7 proxy Apr 28 10:33:50 fogprod dnsmasq-dhcp[24056]: 1914483971 tags: UEFI, ens32 Apr 28 10:33:50 fogprod dnsmasq-dhcp[24056]: 1914483971 next server: 10.100.10.22 Apr 28 10:33:50 fogprod dnsmasq-dhcp[24056]: 1914483971 broadcast response Apr 28 10:33:50 fogprod dnsmasq-dhcp[24056]: 1914483971 sent size: 1 option: 53 message-type 2 Apr 28 10:33:50 fogprod dnsmasq-dhcp[24056]: 1914483971 sent size: 4 option: 54 server-identifier 10.100.10.22 Apr 28 10:33:50 fogprod dnsmasq-dhcp[24056]: 1914483971 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74 Apr 28 10:33:50 fogprod dnsmasq-dhcp[24056]: 1914483971 sent size: 17 option: 97 client-machine-id 00:7c:9f:53:d6:94:0e:4c:00:b1:f3:2c:59:ba... Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1914483971 available DHCP subnet: 10.100.10.22/255.255.255.0 Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1914483971 vendor class: PXEClient:Arch:00007:UNDI:003016 Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1049156094 available DHCP subnet: 10.100.10.22/255.255.255.0 Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1049156094 vendor class: PXEClient:Arch:00007:UNDI:003016 Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1049156094 PXE(ens32) 00:1c:42:9a:b9:f7 proxy Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1049156094 tags: UEFI, ens32 Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1049156094 bootfile name: ipxe7156.efi Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1049156094 server name: 10.100.10.22 Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1049156094 next server: 10.100.10.22 Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1049156094 sent size: 1 option: 53 message-type 5 Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1049156094 sent size: 4 option: 54 server-identifier 10.100.10.22 Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1049156094 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74 Apr 28 10:33:53 fogprod dnsmasq-dhcp[24056]: 1049156094 sent size: 17 option: 97 client-machine-id 00:7c:9f:53:d6:94:0e:4c:00:b1:f3:2c:59:ba... Apr 28 10:33:54 fogprod in.tftpd[24188]: tftp: client does not accept options Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 available DHCP subnet: 10.100.10.22/255.255.255.0 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 vendor class: PXEClient:Arch:00009:UNDI:003010 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 user class: iPXE Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 PXE(ens32) 00:1c:42:9a:b9:f7 proxy Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 tags: UEFI64, ens32 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 next server: 10.100.10.22 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 broadcast response Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 sent size: 1 option: 53 message-type 2 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 sent size: 4 option: 54 server-identifier 10.100.10.22 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 sent size: 17 option: 97 client-machine-id 00:7c:9f:53:d6:94:0e:4c:00:b1:f3:2c:59:ba... Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 available DHCP subnet: 10.100.10.22/255.255.255.0 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 vendor class: PXEClient:Arch:00009:UNDI:003010 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 user class: iPXE Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 available DHCP subnet: 10.100.10.22/255.255.255.0 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 vendor class: PXEClient:Arch:00009:UNDI:003010 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 user class: iPXE Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 PXE(ens32) 00:1c:42:9a:b9:f7 proxy Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 tags: UEFI64, ens32 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 bootfile name: ipxe.efi Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 server name: 10.100.10.22 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 next server: 10.100.10.22 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 sent size: 1 option: 53 message-type 5 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 sent size: 4 option: 54 server-identifier 10.100.10.22 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74 Apr 28 10:33:59 fogprod dnsmasq-dhcp[24056]: 3502022152 sent size: 17 option: 97 client-machine-id 00:7c:9f:53:d6:94:0e:4c:00:b1:f3:2c:59:ba... Apr 28 10:36:55 fogprod in.tftpd[24329]: tftp: client does not accept options Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 available DHCP subnet: 10.100.10.22/255.255.255.0 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 vendor class: PXEClient:Arch:00009:UNDI:003010 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 user class: iPXE Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 PXE(ens32) 00:1c:42:9a:b9:f7 proxy Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 tags: UEFI64, ens32 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 next server: 10.100.10.22 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 broadcast response Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 sent size: 1 option: 53 message-type 2 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 sent size: 4 option: 54 server-identifier 10.100.10.22 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 sent size: 17 option: 97 client-machine-id 00:7c:9f:53:d6:94:0e:4c:00:b1:f3:2c:59:ba... Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 available DHCP subnet: 10.100.10.22/255.255.255.0 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 vendor class: PXEClient:Arch:00009:UNDI:003010 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 user class: iPXE Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 available DHCP subnet: 10.100.10.22/255.255.255.0 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 vendor class: PXEClient:Arch:00009:UNDI:003010 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 user class: iPXE Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 PXE(ens32) 00:1c:42:9a:b9:f7 proxy Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 tags: UEFI64, ens32 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 bootfile name: ipxe.efi Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 server name: 10.100.10.22 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 next server: 10.100.10.22 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 sent size: 1 option: 53 message-type 5 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 sent size: 4 option: 54 server-identifier 10.100.10.22 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 sent size: 9 option: 60 vendor-class 50:58:45:43:6c:69:65:6e:74 Apr 28 10:36:59 fogprod dnsmasq-dhcp[24056]: 3812542537 sent size: 17 option: 97 client-machine-id 00:7c:9f:53:d6:94:0e:4c:00:b1:f3:2c:59:ba...
-
RE: Dell Inspiron 15 7559
So that did the trick! I added that line and got both EFI and BIOS to boot up to FOG. One thing always needs to another though…
I tried doing a quick registration for each BIOS and EFI. BIOS goes through just fine, but the EFI gets stuck at bzIMAGE… 0%. I tried going in to the FOG web portal and updating the kernel but it still won’t budge. Any ideas?
-
RE: Dell Inspiron 15 7559
Alright I’m back (a day late). We’re trying to move fast with this so I’ve gone ahead and began building the FOG server on our production side. Again though, I’m stuck on breaking DNS once DNSMasq is installed. I don’t remember how I got around this before to do the DNSMasq build/upgrade to 2.76 unfortunately…
You had mentioned disabling dnsmasq from taking over DNS through ltsp.conf. Here is my current running ltsp.conf:
Don't function as a DNS server: port=0 # Log lots of extra information about DHCP transactions. log-dhcp # Set the root directory for files available via FTP. tftp-root=/tftpboot # Disable re-use of the DHCP servername and filename fields as extra # option space. That's to avoid confusing some old or broken DHCP clients. dhcp-no-override # inspect the vendor class string and match the text to set the tag dhcp-vendorclass=BIOS,PXEClient:Arch:00000 dhcp-vendorclass=UEFI32,PXEClient:Arch:00006 dhcp-vendorclass=UEFI,PXEClient:Arch:00007 dhcp-vendorclass=UEFI64,PXEClient:Arch:00009 dhcp-match=set:ParallelsEFI,97,00:ef:e3:6d:16:10:6f:46:9d:87:12:5a:12:c2 # Set the boot file name based on the matching tag from the vendor class (above) dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,10.100.10.22 dhcp-boot=net:UEFI,ipxe.efi,,10.100.10.22 dhcp-boot=net:UEFI64,ipxe.efi,,10.100.10.22 dhcp-boot=tag:UEFI,tag:ParallelsEFI,intel.efi,10.100.10.22,10.100.10.22 # The boot filename, Server name, Server Ip Address dhcp-boot=undionly.kpxe,,10.100.10.22 # PXE menu. The first part is the text displayed to the user. The second is t$ pxe-prompt="Booting FOG!",1 pxe-service=X86PC, "Boot to FOG", undionly.kpxe pxe-service=X86-64_EFI, "Boot to FOG UEFI", ipxe.efi pxe-service=BC_EFI, "Boot to FOG UEFI PXE-BC", ipxe.efi dhcp-range=10.100.10.22,proxy
Here is my NetworkManager.conf where I removed the “DNS=DNSMASQ” line:
[main] plugins=ifupdown,keyfile,ofono [ifupdown] managed=false
I noticed that I get a new connection named en32 when I install DNSMasq (or somewhere along the lines of installing FOG and DNSMasq). I went in that connections settings and saw 127.0.0.1 as the DNS entries so I updated them to our proper DNS entries, reset networkmanager and dnsmasq services, but still could not ping google but 8.8.8.8 pinged fine. Any ideas?
-
RE: Dell Inspiron 15 7559
I have my Parallel VM’s. Just tested the EFI boot on it and it worked great. Exact same message about the duplicate DHCP. Unfortunately I’m out for the weekend as of this post so if you don’t hear anything from me until Monday… I REALLY appreciate the help. Any further information you need just ask and I’ll post first chance I get. When I saw the duplicate info notice I asked our network guy if the Next-Server entry happened to still linger but it was not.
-
RE: Dell Inspiron 15 7559
Right after this it booted right to the FOG menu! Did a quick registration and verified FOG picked it up in the web portal. So awesome! If you don’t mind me asking, why did this work?
-
RE: Dell Inspiron 15 7559
That 2nd snip took a little ingenuity to capture lol. Had to use the slow-mo video feature on the galaxy s7. Thanks for the help thus far. I feel like I’m on the right track, just need to fix a few nub errors I may have configured or not configured yet maybe.
-
RE: Dell Inspiron 15 7559
UEFI is not working. Only BIOS booting works as intended. When I look in the syslog it shows that there is communication, the client just doesn’t push to the FOG bootup.
-
RE: Dell Inspiron 15 7559
Here’s what I’m currently trying out for my ltsp.conf.
# Don't function as a DNS server: port=0 # Log lots of extra information about DHCP transactions. log-dhcp # Set the root directory for files available via FTP. tftp-root=/tftpboot # Disable re-use of the DHCP servername and filename fields as extra # option space. That's to avoid confusing some old or broken DHCP clients. dhcp-no-override # inspect the vendor class string and match the text to set the tag dhcp-vendorclass=BIOS,PXEClient:Arch:00000 dhcp-vendorclass=UEFI32,PXEClient:Arch:00006 dhcp-vendorclass=UEFI,PXEClient:Arch:00007 dhcp-vendorclass=UEFI64,PXEClient:Arch:00009 dhcp-match=set:ParallelsEFI,97,00:ef:e3:6d:16:10:6f:46:9d:87:12:5a:12:c2 # Set the boot file name based on the matching tag from the vendor class (above) dhcp-boot=net:UEFI32,i386-efi/ipxe.efi,,10.200.10.20 dhcp-boot=net:UEFI,ipxe.efi,,10.200.10.20 dhcp-boot=net:UEFI64,ipxe.efi,,10.200.10.20 dhcp-boot=tag:UEFI,tag:ParallelsEFI,intel.efi,10.200.10.20,10.200.10.20 # The boot filename, Server name, Server Ip Address dhcp-boot=undionly.kpxe,,10.200.10.20 # PXE menu. The first part is the text displayed to the user. The second is the timeout, in seconds. pxe-prompt="Booting FOG!", 10 dhcp-range=10.200.10.20,proxy
-
RE: Dell Inspiron 15 7559
********:~$ dnsmasq -v
Dnsmasq version 2.76 Copyright 2000-2016 Simon Kelley
Compile time options: IPv6 GNU-getopt DBus no-i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotifyThis software comes with ABSOLUTELY NO WARRANTY.
Dnsmasq is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License, version 2 or 3.I did the compile tutorial found around the FOG wiki.
-
Dell Inspiron 15 7559
Howdy yall. Tried my best to get to the end of the light on my own but I could use a little help. Here’s the gist of my setup:
- Fog 1.4 rc6 running on Ubuntu 16.04 running in an esxi box
- All in the same vlan
- Couldn’t make changes to our network so went with DNSMasq
- Hybrid BIOS and UEFI environment
- I can boot and image a BIOS system no problem. It’s UEFI/EFI systems that don’t want to work
- Checking the syslog, I see whatever boot file I set to the different architectures properly changing as I change them in the ltsp.conf trying different ones to check if I’m just not using the right .efi .
- One thing I also noticed is after I installed dnsmasq, my DNS doesn’t work. Followed some of the steps in the threads around here like omitting the dnsmasq line in networkman, but still no go.
- I’ve also got BIOS booting working on Parallels VMs, but same thing breaks when I switch to EFI booting. What is weird is in a previous attempt to get this working I managed to get TO the FOG bootup screen in EFI, it just wouldn’t continue from there to the registration/imaging phase.
Thank you ahead of time for any help or ideas you shoot my way. Any information you request I’ll be more than happy to find and paste on here.