After installation of Windows 10 pro PC gets caught in a loop and will not boot to HDD.
-
Fog Version Is (Version 1.5.6)
Server Is
root@Fog:/opt/fog_stable/bin# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenialDesktops deploying image on is
Dell Inc.
System Product OptiPlex 3010
System Version 01
System UUID 4c4c4544-0042-4a10-8038-b6c04f465831
System Type Type: Desktop
BIOS Vendor Dell Inc.
BIOS Version A09
BIOS Date 01/31/2013
Motherboard Manufacturer Dell Inc.
Motherboard Product Name 042P49
Motherboard Version A01
CPU Manufacturer Intel Corporation
CPU Version Intel Core i5-3470 CPU @ 3.20GHz
CPU Normal Speed Current Speed: 3200 MHz
CPU Max Speed Max Speed: 3200 MHz
Memory 3.75 GiB
Hard Disk Model WDC WD5000AAKX-75U6AA0For pxe I’m using
ipxe.efiThank you for the help im stuck atm. If it helps i can do the deployment in UEFI or Legacy just can’t get the machines to boot to legacy.
Again thanks for the help -
Ok figured out how to get it to boot to hard drive. On host EFI exit type i changed it to REFIND_EFI. Now if anyone can help me figure out the best way to get legacy to boot to the fog server i would appreciate it a lot. Thanks
-
Now if anyone can help me figure out the best way to get legacy to boot to the fog server i would appreciate it a lot.
What happens in bios mode, does it get stuck at “initializing…” in the iPXE boot loader?
-
It says that the rom is too big for legacy boot. On a Lenova Yoga n11 it will not chain load
-
@seahunter said in After installation of Windows 10 pro PC gets caught in a loop and will not boot to HDD.:
the rom is too big for legacy boot
This typically means you are sending a uefi boot image name (ipxe.efi) to a bios based computer. Either switch the Yoga to uefi mode or send undionly.kpxe boot file name to the yoga so it can boot.
-
@george1421
This is the issue I’m having now.bzImage… ok
Could not select : Exec format error (http://ipxe.org/2e008081)Could not boot: Exec format error (http://ipxe.org/2e008081)
Could not boot: Exec format error (http://ipxe.org/2e008081)
-
@seahunter Please run the following commands on your FOG server and post all results here:
ls -al /var/www/html/fog/service/ipxe/init* ls -al /var/www/html/fog/service/ipxe/bzImage* file /var/www/html/fog/service/ipxe/init* file /var/www/html/fog/service/ipxe/bzImage*
-
root@Fog:~# ls -al /var/www/html/fog/service/ipxe/init*
-rw-r–r-- 1 fogproject www-data 18839868 Jul 11 07:41 /var/www/html/fog/service/ipxe/init_32.xz
-rw-r–r-- 1 fogproject www-data 19662688 Jul 11 07:41 /var/www/html/fog/service/ipxe/init.xzroot@Fog:~# ls -al /var/www/html/fog/service/ipxe/bzImage*
-rw-r–r-- 1 fogproject www-data 8381088 Jul 11 07:41 /var/www/html/fog/service/ipxe/bzImage
-rw-r–r-- 1 fogproject www-data 7802816 Jul 11 07:41 /var/www/html/fog/service/ipxe/bzImage32
root@Fog:~#root@Fog:~# file /var/www/html/fog/service/ipxe/init*
/var/www/html/fog/service/ipxe/init_32.xz: XZ compressed data
/var/www/html/fog/service/ipxe/init.xz: XZ compressed data
root@Fog:~#root@Fog:~# ls -al /var/www/html/fog/service/ipxe/bzImage*
-rw-r–r-- 1 fogproject www-data 8381088 Jul 11 07:41 /var/www/html/fog/service/ipxe/bzImage
-rw-r–r-- 1 fogproject www-data 7802816 Jul 11 07:41 /var/www/html/fog/service/ipxe/bzImage32
root@Fog:~# file /var/www/html/fog/service/ipxe/init*
/var/www/html/fog/service/ipxe/init_32.xz: XZ compressed data
/var/www/html/fog/service/ipxe/init.xz: XZ compressed data
root@Fog:~# file /var/www/html/fog/service/ipxe/bzImage*
/var/www/html/fog/service/ipxe/bzImage: Linux kernel x86 boot executable bzImage, version 4.19.36 (jenkins-agent@Tollana) #1 SMP Sun Apr 28 18:10:07 CDT , RO-rootFS, swap_dev 0x7, Normal VGA
/var/www/html/fog/service/ipxe/bzImage32: Linux kernel x86 boot executable bzImage, version 4.19.36 (jenkins-agent@Tollana) #1 SMP Sun Apr 28 16:59:45 CDT , RO-rootFS, swap_dev 0x7, Normal VGA
root@Fog:~#Thank you for helping @Sebastian-Roth
-
@seahunter Files are all looking ok on first sight. Hmmmm.
bzImage… ok
Could not select : Exec format errorThis is usually the case when the iPXE boot loader is not able to run the binary file (kernel/bzImage).
- One cause is the file does not exist. Please make absolutely sure you have the spelling right. In the Linux world
bzImage
is not the same asbzimage
. It’s all case sensitive! Please make sure it really saysbzImage... ok
on your boot screen. - In the early days of UEFI we had this issue when there were still kernel binaries around that did not have the EFI stub header compiled into it. But that was years ago and I am sure we don’t have that issue here.
- One cause is the file does not exist. Please make absolutely sure you have the spelling right. In the Linux world
-
@Sebastian-Roth I have made one image and can deploy that one without issue. This failure is coming on a Lenovo yoga 11n. Using the lab. It pixe boots without fault. When I pick to register the laptop is when the error happens. I have the stock fog install. I’m using UEFI boot on the laptop and disabled safe boot. Trying to build the image to deploy for teachers. I’m using ipxe.epl for the file if this matters. Thanks. If you want me to try something let me know.
-
@seahunter said in After installation of Windows 10 pro PC gets caught in a loop and will not boot to HDD.:
I’m using ipxe.epl
Is this a type-o it should be ipxe.efi.
Reading the tea leaves here, we have seen systems, specifically Lenovo brand where the internal firmware will not take the hand off between iPXE and bzImage well. One thing to check is to make sure these yogas have the latest firmware (bios) installed. We have seen early release lenovo firmware be a bit buggy.
If you can’t get them to pxe boot at all, we can use the USB boot method with some caveats to get you past this issue.
-
@george1421 said in After installation of Windows 10 pro PC gets caught in a loop and will not boot to HDD.:
ipxe.efi.
Yes it was a typo i’m using ipxe…efi
-
@seahunter So is the firmware up to date on this yoga?
-
@george1421
Yes i have made sure that all drivers and firmware are up to date. To confirm the Laptop is a Lenovo Yoga 11e sorry for the N. I can get it to boot without issue but no matter the choice in the boot menu from fog server besides boot to HDD. The laptop has the error that we are talking about. Does anyone have any further suggestions or ideas to try? The network is ipv4 base with no ipv6 dhcp setup only ipv4. Thanks everyone for the help. -
@seahunter Well we can take the fall back approach and build a FOS usb boot drive to bypass iPXE altogether. I’m pretty sure that bzImage will work if we boot from a usb flash drive.
Here are the instructions. Read all of my posts including the caveats in taking this approach: https://forums.fogproject.org/topic/7727/building-usb-booting-fos-image
Also look at the forum chat bubble in the upper right corner of the page for a few additional hits.