Trouble with booting to windows
-
@george1421 ok got the location for fog now and changed the refind name… Now the boot from hard disk just loops back to the menu… Can see some text for redind conf and efi flash… The installation was done in some weird way as the server didnt have straight internet connection… Will prolly try reinstalling tomorrow or monday unless i get instructions for it today
-
@george1421 got more info on the pcs… Apparently they do use uefi. I set up bios as instructed but windows seems to be installed in some “bios mode” and will need to be reinstalled
-
@JerJer said in Trouble with booting to windows:
Apparently they do use uefi
I was thinking about this as I ran my morning trips. The part we were missing in the tests is that iPXE will tell boot.php what type of system it is (32bit vs 64bit) and (bios vs uefi). When we called the boot url those parameters weren’t passed as iPXE would. That is why the tests always came up bios. I was going to have you double check to ensure these systems were uefi because bios based systems could not boot refind.efi only uefi systems should understand that environment.
Ok now we understand the conditions we can focus on the problem. When iPXE exits it calls refind.efi to locate the bootable hard drive.
I have 2 thoughts on this
- We need to adjust the refind config file to look in more places
- I’m a bit surprised that the FOG developers switched back to 0.9.1 of refind. That is somewhat old. I know we were doing testing with 0.11.3 and then had to back up to 0.11.0 because of a bug in 0.11.3. I wonder if 0.9.1 supports nvme disks…
-
@george1421 Looking at the sourceforge page for rEFInd it looks like 0.9.1 was release in Sept 2015 which (if I’m remembering correctly) predates the wide adoption of nvme disks. Understand this is only a suspicion, but I wonder if 0.9.1 can even see nvme disks…
I’m wondering if we grab a current version of refind from here: https://sourceforge.net/projects/refind/files/0.11.4/ download the zip file and then in the zip file change to /refind-bin-0.11.4/refind/ Extract refind_x64.efi and rename it to refind.efi and move it to /var/www/html/fog/service/ipxe directory on the fog server. Don’t forget to rename the existing refind.efi file before copying the new version of refind there.
-
@george1421 reinstalled windows on one of the pcs now… The windows is now uefi and the booting works correctly now
-
@george1421 said in Trouble with booting to windows:
@JerJer Ah that’s fog’s ping command.
You need:
- The hosts to be able to be resolved by name by DNS
- The host have udp port 445 open in the windows firewall.
How would i go about doing step 1?
-
Are the names registered in FOG the real names of the computers out in the field?
If so, from a window computer, can you ping the target computer by the names listed in the fog web ui?
If so, from the fog server linux console, can you ping the target computers by the names listed in the fog web ui?
If all tests are true then you need to look at the target computer’s firewall settings to be sure udp port 445 is enabled.
I suspect the tests will fail before the firewall fix.
-
@george1421 the computer names are nifferent from fog names. Would they all have to be changed manually?
-
@JerJer said in Trouble with booting to windows:
@george1421 the computer names are nifferent from fog names. Would they all have to be changed manually?
If you want the fog errors clear when you list the hosts then you need to have the fog name match the real system name and fog will need to be able to find the systems using dns lookups.