Edited undionly.kpxe now receive params: command not found
-
@jlober1981 Just to confirm that 10.0.1.203 is the IP address of your fog server?
I’m back in the office today after traveling last week, so I should be able to create a mock up of this over the lunch hour today. Let me see if I can make it work like I think it should in the test lab.
-
@george1421 said in Edited undionly.kpxe now receive params: command not found:
@jlober1981 Just to confirm that 10.0.1.203 is the IP address of your fog server?
I’m back in the office today after traveling last week, so I should be able to create a mock up of this over the lunch hour today. Let me see if I can make it work like I think it should in the test lab.
Yes 10.0.1.203 is the correct address of the FOG server
-
@jlober1981 Ok the test worked correctly in our test lab.
Some of the settings have changed on the rom-o-matic since that first tutorial was written. Its mostly the same but a few extra options have been added.
Please test this file: 0_1483986244383_gundionly.kpxe and let me know how it works, be aware that I changed the name to gundionly.kpxe to not conflict with the official undionly.kpxe file.
When I tested, I just dropped that file on our test syslinux pxe boot server and then changed the dhcp option 67 to load that file instead of pxelinux.0. It worked right out of the box and loaded the fog pxe menu. I do have to admit I did not try anything past there, but if you can get into the ipxe fog menu that was more than you had before.
If it works correctly in your environment I’ll post the instructions on how to recreate it.
-
@george1421 said in Edited undionly.kpxe now receive params: command not found:
@jlober1981 Ok the test worked correctly in our test lab.
Some of the settings have changed on the rom-o-matic since that first tutorial was written. Its mostly the same but a few extra options have been added.
Please test this file: 0_1483986244383_gundionly.kpxe and let me know how it works, be aware that I changed the name to gundionly.kpxe to not conflict with the official undionly.kpxe file.
When I tested, I just dropped that file on our test syslinux pxe boot server and then changed the dhcp option 67 to load that file instead of pxelinux.0. It worked right out of the box and loaded the fog pxe menu. I do have to admit I did not try anything past there, but if you can get into the ipxe fog menu that was more than you had before.
If it works correctly in your environment I’ll post the instructions on how to recreate it.
Thanks! But I am receiving the same error as shown in the picture.
-
@jlober1981 With what I created?
-
Yes I downloaded your file and received the same error message. Is it perhaps a misconfiguration on my FOG server?
-
TO me, this message appears to be coming from the item that’s booting, not a problem with the ipxe file in use. Maybe we can see what it is that’s booting after the ipxe file get’s loaded?
-
@jlober1981 No I don’t feel that its a fog server issue just yet (You could test by changing /temp/ your dhcp option 66 and 67 to the fog server IP and undionly.kpxe and see if you can boot).
Please tell me a bit more about what you are trying to pxe boot, that system is hanging with the ipxe kernel. I did not test the kernel I posted below, but the only thing I changed was the IP address of your fog server and then recompiled it.
-
@george1421 said in Edited undionly.kpxe now receive params: command not found:
@jlober1981 No I don’t feel that its a fog server issue just yet (You could test by changing /temp/ your dhcp option 66 and 67 to the fog server IP and undionly.kpxe and see if you can boot).
Please tell me a bit more about what you are trying to pxe boot, that system is hanging with the ipxe kernel.
Bear with me as I am quite new to FOG, but I am trying to setup FOG to be able to capture images of new and used Dell Laptops. The ONLY configurations that I have changed on the FOG server is the undionly.kpxe file based on suggestions shown here. If you need more detailed information please specify and I can gladly provide whatever you are looking for to help get this running. Thanks!
-
@jlober1981 First lets take a step back here.
I want you to do this first.
Change your dhcp server options 66 to point to the IP address of your fog server and the dhcp option 67Please ensure you can pxe boot to the fog server.
Second please tell me the mfg and model of the computer you are trying to pxe boot.
-
I successfully booted into the FOG server both by the natively installed undionly.kpxe as well as the version @george1421 had me download. But in order to do so I had to turn off PXE on the SCCM server. If it is easier to create a menu item to point to the sccm server from FOG I am open to this idea as well. I am booting from a Dell Latitude E5470.
-
@jlober1981 When you boot into your syslinux menu with pxelinux.0 you can go to sccm from there? I’m suspecting that sccm is probably using dhcpProxy to send information to the target computer, but I have no evidence of that.
-
@george1421 Yes I can. Here is the code that I use to boot from SCCM
DEFAULT menu.c32
MENU TITLE SCCM PXE ServerLABEL wds
MENU DEFAULT
MENU LABEL SCCM
KERNEL pxeboot.0LABEL linuxpxe
MENU LABEL FOG Image Capture
KERNEL pxechain.com
APPEND 10.0.1.203::undionly.kpxeLABEL abort
MENU LABEL Exit PXE
Kernel abortpxe.0 -
@jlober1981 Switching over to chat, please check the chat bubble at the top of this window.
-
@george1421 Working through chat and with Tom’s help we’ve come up with this chain command that should work from the FOG iPXE menu:
chain tftp://<SCCM_Server_IP>/SMSBoot\x64\pxeboot.0
So the idea we came up with is to create a menu entry in fog to call the sccm pxe boot instead of doing it from the sccm end to call fog boot.
Once the OP has the pxe booting into FOG setup, he can use FOG to either default or fall through the FOG iPXE menu and chain to the sccm pxe boot by setting the sccm chain menu as default or just use fog as normal and leave the menu entry to select sccm boot if that is required.
The key to getting this setup to work was getting the proper path on SCCM to the pxeboot.0 file.
The OP is going to continue to test this setup, but the preliminary test was successful.
-
@george1421 While I know some of SCCM, I can say, I think this method is probably much more accurate than trying to do it in reverse. SCCM, as I understand it, is meant to be used on request. Meaning, when you need to image a device, you tell the device to network boot. From there, it will get its information from the SCCM server and perform the boot to perform the tasking requested.
In our modified scenario, we’re enabling systems to be on network boot mode consistently. All we’re doing is adding a new menu option that allows the user at the system to choose to boot up to disk or if they need to, they can select the SCCM menu option to perform the task sequences as needed.
Hopefully this fits the bill with the requirements, and it allows the users to have a dual type of system for setting up imaging. Essentially you can maintain your ‘light touch’ model if that’s how you’re using SCCM and have a golden base on the FOG Server. (That’s my thoughts, your mileage may vary.)