PXE connection Using Windows 2008 as DHCP Server
-
@techadmin Now that you found a network adapter that FOS is happy with (the white one). Now lets go back and see if options 7 or 8 on the FOS boot stick work. FOS and iPXE share similar hardware requirements. My hope is that we can get options 7 or 8 to work to jumpstart your target computer into the iPXE menu. This would be the best choice if it now works with the one you identified in FOS that works.
-
@george1421
Ok I am seeing a new error
So when I made the image it gave me this sorry someone else took the photo …so if I am looking at this right the image never showed up on the server?
In side of the image folder I have a dev and a postdownloadscripts folders.I had to delete all the images from the server I thought I was running out of space. So I cleared out all host and all images
So how do I reset the numbers where it is showing the image is #6 -
@techadmin Wow, I thought my eyes were all hazy after looking at that picture, until I read your message.
Ok in regards to that error. I have to as you this question. Do you, or have you used the linux account named
fog
on this server for system administration? AND/OR did you change the password on this account? This is not the webgui account called FOG, its the linux accountfog
If you have mucked about with this account then stop it <jk>. This account is for FOG internal use and should not be used for system administration. There is a process to fix it, we just need to know how it got broke.
-
@techadmin The numbers listed for 6 are recorded at the time the image is captured. They are only in the database. If you delete the images from inside FOG, each image one by one there is an option to remove the image files. If you do it in bulk you can not remove the data behind the metadata. You will only remove the metadata.
-
@george1421
Not sure I have been playing with this for about a week now, so I should go to System Administration User Manager go to FOG account and change it to fog/password ??? -
@techadmin Well first of all no.
do you (personally) use the linux account
fog
for anything? -
@george1421
No fog is not being used
This is a new server setup strictly for testing and R&D work
So how do I fix it? -
@techadmin OK here is the process.
- Review the hidden file /opt/fog/.fogsettings on the fog server that is generating the invalid login.
- In that file will be a setting password=“something”. You need to note and document this password. (Hint: if you connect to your fog server with putty and copy that password out using putty your life will be much easier).
- Now from the linux command prompt set the fog user’s password to the value found in the .fogsettings file with
passwd fog
and then paste in the password you collected in step 2. - In the FOG Webgui, goto the FOG Settings and then tftp server settings. Ensure the password defined there matches what you collected in step 2.
- Still in the web gui go to the storage node configuration for that server. Ensure the management password matches what you collected in step 2.
- Now from a windows computer make sure you can log into the FOG server using a FTP client. User the user ID of
fog
and the password you collected in step 2. - If successful now to the last bit of cleanup. Rerun the fog installer
./installfog.sh
script that will clean up the remaining bits and put you back in a happy place.
-
@george1421
Worked like a charm…being that this is a VM I may have to expand the drive for the images storage…is there anything I need to know before I break this ? -
@techadmin Well since its a vm, I would go about it by creating another vm disk , create a generic partition (not LVM), format it, then mount it over the /images directory. Having a standard single partition on a new vmdk file will allow you to expand it in the future by just expanding the vmdk, and finally expand the file system without touching your running vm.
-
@george1421
Ok so things are working great here; Just thought I would give an update. Now is there instructions for multicasting to a group of devices at one time? -
@techadmin There is a wiki page that covers this: https://wiki.fogproject.org/wiki/index.php?title=Multicasting
The other thing is your networking infrastructure. If all of your target machines are on the same subnet as your FOG server, then you are good to go. If they are on different subnets then you need to get with your infrastructure team and discuss setting up a multicast router or allowing multicasts to traverse your subnets. This is not something specific to FOG, but rather multicast data paths.