Imaging with fog from ipxe command line
I am a college student staying in a dorm. I just want to play around with fog. So I installed fog in a fedora 25 virtual machine. I had a few kinks, but no major issues. I do not have access to get a entry made to automatically pxe boot to my server.
I have a laptop connected to the network as well. I was able to register it. I booted from the iPXE cd command line.
This brings me to the fog menu where I registered it.
I then went into the management web interface and created an image, assigned it to the host, and scheduled the server to take an image immediately.
I rebooted the laptop. Again with iPXE to
Which brings me back to the fog boot menu.
From what I’ve seen online, it should start to image the laptop, but it doesn’t.
If I go to register host, it says the host is already registered and reboots.
In the management interface it shows the task as active.
Any ideas on what to do?
I am running the latest git version btw.
@Thewafflication Good work. You may think about taking your laptop off of the network so you can run DHCP on your virtualized fog server. :-)
@Tom-Elliott @Wayne-Workman I solved my problem with a workaround.
Using my iPXE cd that doesn’t have param, I booted to the ipxe.pxe provided with fog.
From there I was able to boot default.ipxe.
shoots some error.
I press s to go to command line.
Text flies by, and the computer begins to create an image!
Thanks for the help!
@Thewafflication You’re at a university. Go find a computer technician and just ask them for a small spare flash drive. I promise they will have an entire box of them just laying around of ones they’ve found while doing their jobs. I would know, I worked at university about 5 years ago as a tech.
I do not have a usb drive to spare.
I will buy an extra in next couple of days.
I’m suggesting this file because the ipxe.iso you are using appears to not allow the params ipxe cmd
@Tom-Elliott are you using a custom ipxe file? We create one for this purpose too.
It’s under the tftpboot folder with the name ipxe.iso
@Tom-Elliott of course! (10.51.4.48)
@Thewafflication are you changing out ipoffogserver?
@Tom-Elliott I am not super familiar with iPXE or tftp.
tftp://ipoffogserver/default.ipxe ... ok params: command not found Could not boot .... (error code)
chain tftp://ipoffogserver/default.ipxe ##paramd
This post is deleted!
@Tom-Elliott of course you could simple tftp the file to the client too. Something like:
This is because of your parameters.
You aren’t passing the systems Mac address at all. Take a look at the /tftpboot/default.ipxe file
It will have the same type of chain command followed by ##params I think.