Reconfiguring an exisiting FOG Server to not have PXE enabled
-
I have a second FOG server that used to be our main but we got a new server that is our current FOG server. I want to reconfigure the old server so that we can remotely image over the network and boot using USB. If I run the foginstaller script will I be able to change the FOG server IP and disable pxe/dhcp on it? Or do I have to wipe the server completely and install from scratch?
-
@brakcounty The quick answer is to update the hidden file
/opt/fog/.fogsettings
Edit the IP address in there as well as disable the dhcp server. Then rerun the installer.
You will need to update the IP address in the storage node as well as FOG Configuration -> FOG settings -> Expand all just search for the old IP address and change it there.
Ensure that the isc-dhcp server is not configured to start on reboot using systemctl commands.
-
This post is deleted! -
@brakcounty I take it you answered your own question about bios booting from USB. The FOS image should be configured to boot both bios and uefi modes.
When building the fos image this should load the bios boot sector on the iso image.
grub-install --removable --no-floppy --boot-directory=/mnt/boot --target=i386-pc /dev/${LOOPDEV}
-
@george1421 I thought I did but I was wrong. I started reading these instructions down at the bottom under “Older Instructions” https://wiki.fogproject.org/wiki/index.php?title=USB_Bootable_Media#USB_Boot_UEFI_client_into_FOG_menu_.28harder_way.29
But the files and folders don’t match up with what I got. Do I still need to copy the contents of /tftpboot/ to the root of the USB? Where do I start?