Try making a 32-bit EFI bootfile with a script that only has these contents:
#!ipxe
dhcp
shell
If that doesn’t work either, make a 64-bit one with the same script.
One of those should bring you to an iPXE shell.
Try making a 32-bit EFI bootfile with a script that only has these contents:
#!ipxe
dhcp
shell
If that doesn’t work either, make a 64-bit one with the same script.
One of those should bring you to an iPXE shell.
I’m hoping that once you make a 32-bit bootfile that it’ll work. Unless you already have…
Do this:
[SIZE=13px][INDENT]Go here:
[URL=‘https://rom-o-matic.eu/’]https://rom-o-matic.eu[/URL]
Advanced - EFI PXE Bootstrap 32-bit
Check these boxes:
[URL=‘http://www.ipxe.org/buildcfg/PARAM_CMD’][FONT=Arial][COLOR=#000000]PARAM_CMD[/COLOR][/FONT][/URL][FONT=Arial][COLOR=#000000], Form parameter commands [/COLOR][/FONT]
[URL=‘http://www.ipxe.org/buildcfg/CONSOLE_CMD’][FONT=Arial][COLOR=#000000]CONSOLE_CMD[/COLOR][/FONT][/URL][FONT=Arial][COLOR=#000000], Console command [/COLOR][/FONT]
[URL=‘http://www.ipxe.org/buildcfg/CPUID_SETTINGS’][FONT=Arial][COLOR=#000000]CPUID_SETTINGS[/COLOR][/FONT][/URL][FONT=Arial][COLOR=#000000], CPUID settings[/COLOR][/FONT]
And paste this script in the script box (Replace x.x.x.x with your FOG server’s IP or hostname):
#!ipxe
dhcp
cpuid --ext 29 && set arch i386 ||
params
param mac0 ${net0/mac}
param arch ${arch}
param product ${product}
param manufacturer ${product}
param ipxever ${version}
param filename ${filename}
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain [url]http://x.x.x.x/fog/service/ipxe/boot.php##params[/url]
Click Proceed, and voila! Copy the new EFI bootfile to your /tftpboot folder and give it a whirl![/INDENT][/SIZE]
[SIZE=11px] [/SIZE]
You’ll have to add one of them to FOG’s list of hosts, deploy your image, then replace the LAN adapter’s MAC with the Surface’s wireless MAC. Rinse and repeat until done.
I had to do this with over 500 tablets/10 LAN adapters a few months back…blah.
Hell yes! You’re very welcome. Cheers!
I recommend keeping a backup or two of the custom bootfile you made. That way anytime you update to the latest SVN of FOG you can copy it right back into /tftpboot post-upgrade.
If it’s prompting for the TFTP server address then it’s simply an issue with that particular build of iPXE. The good news is that everything else is working properly.
If you compile your own it shouldn’t prompt you for the address anymore and instead take you straight to the FOG boot menu.
Go here:
[url]https://rom-o-matic.eu[/url]
Advanced - EFI PXE Bootstrap (and your desired architecture)
Check these boxes:
[URL=‘http://www.ipxe.org/buildcfg/PARAM_CMD’][FONT=Arial][COLOR=#000000]PARAM_CMD[/COLOR][/FONT][/URL][FONT=Arial][COLOR=#000000], Form parameter commands [/COLOR][/FONT]
[URL=‘http://www.ipxe.org/buildcfg/CONSOLE_CMD’][FONT=Arial][COLOR=#000000]CONSOLE_CMD[/COLOR][/FONT][/URL][FONT=Arial][COLOR=#000000], Console command [/COLOR][/FONT]
[URL=‘http://www.ipxe.org/buildcfg/CPUID_SETTINGS’][FONT=Arial][COLOR=#000000]CPUID_SETTINGS[/COLOR][/FONT][/URL][FONT=Arial][COLOR=#000000], CPUID settings[/COLOR][/FONT]
And paste this script in the script box (Replace x.x.x.x with your FOG server’s IP or hostname):
#!ipxe
dhcp
cpuid --ext 29 && set arch x86_64 || set arch i386
params
param mac0 ${net0/mac}
param arch ${arch}
param product ${product}
param manufacturer ${product}
param ipxever ${version}
param filename ${filename}
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain [url]http://x.x.x.x/fog/service/ipxe/boot.php##params[/url]
Click Proceed, and voila! Copy the new EFI bootfile to your /tftpboot folder and give it a whirl!
[quote=“Ray Zuchowski, post: 39700, member: 24449”]Drk3,
It worked like a champ but when I go to register the PC, it comes back that the Hard Drive isn’t found. Tom… LOL you are needed here ![/quote]
Welcome to my world, that’s where I’m at with my Asus T100TA’s.
Try setting the Host Primary Disk to:
/dev/mmcblk0
I can’t pull inventory until I do this…
[quote=“Ray Zuchowski, post: 39585, member: 24449”]Drk3
Thanks bro for this hookup. Im going to try it out today. I just setup WDS on a Windows server to get me through this imaging but if FOG works with this… This will be sick![/quote]
No problem brother. At the very least you should be able to register them/send inventory. I hope you’re able to get them to image, though!
This can actually be updated with the new default.ipxe script, I don’t have access to it ATM, though…
Simply hand out that 32-bit ipxe.efi bootfile via DHCP and that should do the trick.
[quote=“Ray Zuchowski, post: 39508, member: 24449”]Tom,
Just tried imaging one of the Dell Venu Pro 11 5130 and tried all the .efi files and none of them work. Any suggestions ?[/quote]
Go here: [url]https://rom-o-matic.eu/[/url]
Click Advanced, at the bottom choose “EFI PXE Bootstrap 32-bit (.efi)”
These are the options I always check:
[SIZE=12px][FONT=Arial][COLOR=#000000]CPUID_SETTINGS[/COLOR][/FONT][/SIZE]
[SIZE=12px][FONT=Arial][COLOR=#000000]DOWNLOAD_PROTO_NFS[/COLOR][/FONT][/SIZE]
[SIZE=12px][FONT=Arial][COLOR=#000000]IMAGE_PNG[/COLOR][/FONT][/SIZE]
[SIZE=12px][FONT=Arial][COLOR=#000000]PARAM_CMD[/COLOR][/FONT][/SIZE]
[SIZE=12px][FONT=Arial][COLOR=#000000]CONSOLE_CMD[/COLOR][/FONT][/SIZE]
Finally, plop this script in the iPXE script box (remember to change the last line to match your FOG server’s IP or hostname:
(the colour and cpair lines are optional, I use these for my menu colors. Simply remove them if desired.)
#!ipxe
colour --basic 2 7
cpair --foreground 7 --background 9 1
cpair --foreground 0 --background 9 2
dhcp
set arch i386 ||
params
param mac0 ${net0/mac}
param arch ${arch}
isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
:bootme
chain [URL=‘http://x.x.x.x/fog/service/ipxe/boot.php##params’][COLOR=#737373]http://x.x.x.x/fog/service/ipxe/boot.php##params[/COLOR][/URL]
Note: With the 32-bit tablets I UEFI PXE boot with, I have to manually set the arch to i386 in this script because they are technically 64-bit capable and FOG detects this and gives them bzImage/init.xz, but they only work with bzImage32/init_32.xz.
Bump because I have nothing to lose
I forgot to mention that you need to update your password in here too:
/var/www/fog/lib/fog/Config.class.php
Then: [CODE]service mysql restart[/CODE]
Make sure FOG works normally. Then try to upgrade again.
I had this same issue when I upgraded to 1.2.0. I had to run [CODE]dpkg-reconfigure mysql-server-5.5[/CODE] to change my root password for MySQL. I then updated the password in .fogsettings and it worked.
Thanks so much, Tom! I’ll get back to you once I test the new kernel.
After more research, the problem lies within the Replay Protected Memory Block (/dev/mmcblk0rpmb). Now I just need to figure out what needs to be added to the kernel to fix this.
Some info/patch here: [url]https://dev-nell.com/rpmb-emmc-errors-under-linux.html[/url]
We’ll get it eventually. I wanna thank you again for all of your help, Tom.
And if anyone has any knowledge to shed, please, feel free to chime in
Update: making a custom init_32.xz with Buildroot, I’ll report back if I get these uploading!