UEFI won boot tools via fog menu.
-
Server
- FOG Version: rc-10
- OS: Ubuntu 16.04.1
Client
- Service Version: 11.5
- OS: windows 10 x64
Description
I have noticed that when booting uefi the fog client will capture and deploy just fine.
However extra stuff such as booting Linux and other specials tools fail to work.
Why? why does the fog client boot extra tools fine in legacy but not in uefi mode?
I assume it must be necessary to make some config changes to so and if so what config changes need to be made to boot files.
I get A VFS: Unable to mount root fs via NFS on Linux tools.
-
:MENU menu item --gap -- ---------------- iPXE boot menu ---------------- item mac Macrium Reflect item clonezilla Clonezilla 2015 item ubuntu6 Ubuntu 16:04.1 x64 item ubuntu6 Ubuntu 16:04.1 x32 item ubuntu Ubuntu 15:10 x64 item ubuntu Ubuntu 15:10 x32 item kubuntu6 Kubuntu 16:04.1 x64 item kubuntu6 Kubuntu 16:04.1 x32 item kubuntu Kubuntu 15:10 x64 item kubuntu Kubuntu 15:10 x32 item mint18 Linux Mint 18 "Sarah" - MATE (32-bit) item Mint18 Linux Mint 18 "Sarah" - MATE (64-bit) item mint Linux Mint 17.2 "Rafaela" - MATE (32-bit) item Mint Linux Mint 17.2 "Rafaela" - MATE (64-bit) item mint Linux Mint 17.2 "Rafaela" - Cinnamon (32-bit) item Mint Linux Mint 17.2 "Rafaela" - Cinnamon (64-bit) item BOOTCD Hirens 15.2 BOOTCD item pgon Paragon Harddisk Manager 12 item ubd Ultimate Boot Disk item ez EZ Gig IV Cloning Software item centos Centos item fedora Fedora item fedoral Fedora Live item hostinfo details about this computer item win windows10 32-bit item win64 windows10 64-bit item part Parted Magic x64 item shell ipxe shell item return return to previous menu choose --default return --timeout 5000 target && goto ${target} :mac initrd http://${fog-ip}/fog/service/ipxe/mac/mac.iso chain memdisk iso raw || goto MENU :clonezilla kernel http://${fog-ip}/bootimgs/clonezilla/vmlinuz initrd http://${fog-ip}/bootimgs/clonezilla/initrd.img imgargs vmlinuz initrd=initrd.img boot=live username=user fetch=http://${fog-ip}/bootimgs/clonezilla/filesystem.squashfs locale=en_US.UTF-8 keyboard-layouts=NONE boot || echo failed to boot prompt goto MENU :ubuntu6 kernel http://${fog-ip}/bootimgs/16.04.1_64/casper/vmlinuz.efi initrd http://${fog-ip}/bootimgs/16.04.1_64/casper/initrd.lz imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/16.04.1_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :ubuntu6 kernel http://${fog-ip}/bootimgs/16.04.1_32/casper/vmlinuz initrd http://${fog-ip}/bootimgs/16.04.1_32/casper/initrd.lz imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/16.04.1_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :ubuntu kernel http://${fog-ip}/bootimgs/15.10_64/casper/vmlinuz.efi initrd http://${fog-ip}/bootimgs/15.10_64/casper/initrd.lz imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/15.10_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :ubuntu kernel http://${fog-ip}/bootimgs/15.10_32/casper/vmlinuz initrd http://${fog-ip}/bootimgs/15.10_32/casper/initrd.lz imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/15.10_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :kubuntu6 kernel http://${fog-ip}/bootimgs/kubuntu6_64/casper/vmlinuz.efi initrd http://${fog-ip}/bootimgs/kubuntu6_64/casper/initrd.lz imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu6_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :kubuntu6 kernel http://${fog-ip}/bootimgs/kubuntu6_32/casper/vmlinuz initrd http://${fog-ip}/bootimgs/kubuntu6_32/casper/initrd.lz imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu6_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed :kubuntu kernel http://${fog-ip}/bootimgs/kubuntu5_64/casper/vmlinuz.efi initrd http://${fog-ip}/bootimgs/kubuntu5_64/casper/initrd.lz imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu5_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :kubuntu kernel http://${fog-ip}/bootimgs/kubuntu5_32/casper/vmlinuz initrd http://${fog-ip}/bootimgs/kubuntu5_32/casper/initrd.lz imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/kubuntu5_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :mint18 kernel http://${fog-ip}/bootimgs/lm18_32/casper/vmlinuz initrd http://${fog-ip}/bootimgs/lm18_32/casper/initrd.lz imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm18_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :Mint18 kernel http://${fog-ip}/bootimgs/lm18_64/casper/vmlinuz initrd http://${fog-ip}/bootimgs/lm18_64/casper/initrd.lz imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm18_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :mint kernel http://${fog-ip}/bootimgs/lm_32/casper/vmlinuz initrd http://${fog-ip}/bootimgs/lm_32/casper/initrd.lz imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :Mint kernel http://${fog-ip}/bootimgs/lm_64/casper/vmlinuz initrd http://${fog-ip}/bootimgs/lm_64/casper/initrd.lz imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lm_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :mint kernel http://${fog-ip}/bootimgs/lmc_32/casper/vmlinuz initrd http://${fog-ip}/bootimgs/lmc_32/casper/initrd.lz imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lmc_32/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :Mint kernel http://${fog-ip}/bootimgs/lmc_64/casper/vmlinuz initrd http://${fog-ip}/bootimgs/lmc_64/casper/initrd.lz imgargs vmlinuz initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/var/www/html/bootimgs/lmc_64/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=la mirror/country=US boot || goto failed goto start :centos initrd http://${fog-ip}/bootimgs/centos/images/pxeboot/initrd.img chain http://${fog-ip}/bootimgs/centos/images/pxeboot/vmlinuz initrd=initrd.img root=live:http://${fog-ip}/bootimgs/centos/LiveOS/squashfs.img ip=dhcp repo=http://192.168.1.109/bootimgs/centosrepo/mirror.nodeshosting.com/centos/7.2.1511/os/x86_64 splash quiet – || read void boot || goto MENU :fedoral initrd http://${fog-ip}/bootimgs/fedora/images/pxeboot/initrd.img chain http://${fog-ip}/bootimgs/fedora/images/pxeboot/vmlinuz initrd=initrd.img root=live:http://${fog-ip}/bootimgs/fedora/LiveOS/squashfs.img devfs=nomount ip=dhcp boot || goto MENU :fedora initrd http://${fog-ip}/bootimgs/fedora/images/pxeboot/initrd.img chain http://${fog-ip}/bootimgs/fedora/images/pxeboot/vmlinuz initrd=initrd.img root=live:http://${fog-ip}/bootimgs/fedora/LiveOS/squashfs.img rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 boot || goto MENU :BOOTCD initrd http://${fog-ip}/bootimgs/bootcd/hirensboot.iso || chain memdisk iso raw || boot || goto MENU :pgon initrd http://${fog-ip}/bootimgs/pgon/phdman12.iso || chain memdisk iso raw || boot || goto MENU :ubd initrd http://${fog-ip}/bootimgs/ubcd/ubcd535.iso || chain memdisk iso raw || boot || goto MENU :ez initrd http://${fog-ip}/bootimgs/ez/EZGIG438.iso || chain memdisk iso raw || boot || goto MENU :hostinfo echo This computer : || echo MAC address....${net0/mac} || echo IP address.....${ip} || echo Netmask........${netmask} || echo Serial.........${serial} || echo Asset number...${asset} || echo Manufacturer...${manufacturer} || echo Product........${product} || echo BIOS platform..${platform} || echo || echo press any key to return to Menu || prompt goto MENU :win initrd http://${fog-ip}/bootimgs/winiso/winpe10.iso chain memdisk iso raw :win64 initrd http://${fog-ip}/bootimgs/winiso/winpe1064.iso chain memdisk iso raw :part kernel http://${fog-ip}/bootimgs/pmagic/bzImage64 initrd http://${fog-ip}/bootimgs/pmagic/initrd.img initrd http://${fog-ip}/bootimgs/pmagic/files.cgz initrd http://${fog-ip}/bootimgs/pmagic/fu.img initrd http://${fog-ip}/bootimgs/pmagic/m64.img imgargs initrd=initrd.img bzImage64 boot=live ip=dhcp edd=on noapic load_ramdisk=1 prompt_ramdisk=0 rw vga=normal sleep=0 loglevel=0 keymap=us splash quiet - || read void boot || read void :shell shell || goto MENU :return chain http://${fog-ip}/${fog-webroot}/bootimgs/boot.php?mac=${net0/mac} || prompt goto MENU autoboot
Just bringing it to the top of the list. I’ve edited your config, but realized it was ONLY editing, it wasn’t a quote as I originally intended. Here’s just to bring it forward.
-
Could you clarify what “extra stuff” you are talking about?
Is that extra stuff that comes with FOG, or extra stuff such as you want to boot iso images, and foreign kernels via the FOG iPXE menus?
Just to be clear, the FOG Client is service that gets loaded into a target OS to allow the FOG server to interact with the target OS. Les make sure we are talking about the same function.
-
@george1421 said in UEFI won boot tools via fog menu.:
extra stuff such as you want to boot iso images, and foreign kernels via the FOG iPXE menus
Yes!!! Iso images and foreign kernels, why can I not boot them in uefi mode, or rather why am I getting this error?
-
@dureal99d This will depend entirely on what you’re trying to boot and how your machines are setup and what not.
Maybe the tools you’re trying to boot don’t support UEFI mode. Maybe you left Secure Boot on BIOS. Or maybe it’s something else entirely.
Check those two things for us first, if for nothing else but to rule them out.
-
@Quazz said in UEFI won boot tools via fog menu.:
tools you’re trying to boot don’t support UEFI mode. Maybe you left Secure Boot on BIOS. Or maybe it’s something else entirely.
Check those two things for us first, if for nothing else but to rule them outI have tried and I get the error “VFS: Unable to mount root?”
I am confused as to why I would experience this error on booting Linux isos when they say uefi is backwards compatible.
Should it not stand to reason that I should not have to change anything as relates to boot codes?
-
@dureal99d It will not automatically recognize the difference. UEFI will not auto boot to another type system. Essentially, as I understand it, all “UEFI is backwards compatible” means is UEFI Motherboards will allow Legacy style systems to work, but it doesn’t necessarily have to do this “on the fly”.
-
@dureal99d To add on further, backwards compatible does not mean, LEGACY, is “forwards compatible”
-
FOG supports both BIOS and UEFI, and the FOG Client installs on all major versions of Windows, OSX, and Linux. What your trying to do isn’t directly supported, but of course you can make it work. Follow Quazz’s suggestion, check secure boot, check the material you’re wanting to boot actually works in the mode you want it to work in. Also read through this, and if you get your particular project working for yourself, you should contribute what you did here in the forums - we are a community of volunteers and you can help too, by contributing what you did - step by step.
Now, what are you trying to boot, exactly?
-
@Wayne-Workman said in UEFI won boot tools via fog menu.:
what are you trying to boot, exactly?
@Wayne-Workman I am trying to boot Linux Ubuntu, mint, fedora, centos and windows tools as I am able to in bios boot mode.
-
@Wayne-Workman @Tom-Elliott it wont even run memtools in uefi mode
-
@Wayne-Workman then link you provided works well in bios boot mode but non of it works in uefi mode. it gives an nfs error but nfs is working fine. oh and cent os and fedora boots just fine though. nothing else
-
@dureal99d What is running DHCP in the environment? Have you seen this article? https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence
-
@Wayne-Workman said in UEFI won boot tools via fog menu.:
is running DHCP in the environment? Have you seen this
@Wayne-Workman I am running ddwrt on a router and using it as my dhcp. I seen that article but remain confused as it points out the dns masq part which applies to me, but u really don’t understand this part. # x.x.x.x = TFTP. what does the x.x.x.x represent?
-
@dureal99d I’m not sure how dd-wrt handles vendor classes, but I’m pretty certain it can.
What’s likely happening with your problem is dd-wrt is only setup to serve a bios boot file, which is why most of your uefi ISOs don’t work.
Perhaps one of the @Developers or @Moderators or @Testers have dd-wrt at home and know how, but you need to set it up to hand out
ipxe.efi
for uefi identifying machines andundionly.kkpxe
for BIOS identifying machines (generally).If you read through the article I posted you might better understand what you need to do with your dd-wrt router.
Here’s something I found by searching Google for ‘dd-wrt dhcp vendor class’. The thread is probably so old that it doesn’t even apply to the latest version but it might point you in the right direction:
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=643566Another idea is to turn off dhcp on the router temporarily and then edit the fog servers
/opt/fog/.fogsettings
file and change do dhcp and bldhcp to yes or 1, and rerun the installer and just see if your ISOs work then. Because FOGs dhcp setup already well supports many architecture types, some of that work I contributed to, it’s solid. To undo this, same steps but turn those two settings off, then manually stop and disable dhcp. For Ubuntu it should beservice dhcpd stop;service dhcpd disable
Here is more info on .fogsettings if you get lost or curious:
https://wiki.fogproject.org/wiki/index.php?title=.fogsettings -
@Wayne-Workman said in UEFI won boot tools via fog menu.:
same steps but turn those two settings off
@Wayne-Workman will look into this and report back. promptly!!!
-
@Wayne-Workman yeah after reviewing it all I have been looking for how to add onto “dhcp-boot=undionly.kpxe,fog ip address” and add on the efi boot options. I am stomped on how to do this on dnsmsq of ddwrt.
-
From what I’ve read on the Wiki they need to be added to the additional dnsmasq options manually.
https://wiki.fogproject.org/wiki/index.php/FOG_with_DD-WRT_firmware
-
@Quazz said in UEFI won boot tools via fog menu.:
From what I’ve read on the Wiki they need to be added to the additional dnsmasq options manually.
https://wiki.fogproject.org/wiki/index.php/FOG_with_DD-WRT_firmware
@Quazz I know they need to be added on manually and i have no issue with that.
but what to add in addition to “dhcp-boot=undionly.kpxe,192.xxx.x.xxx” is what stomps me.Ive tried several configs all of which seems to make nothing work.
-
@dureal99d The dnsmasq on ddwrt may not support the options you need, not sure. I know they use a custom lightweight version of it.
-
@Quazz said in UEFI won boot tools via fog menu.:
sq on ddwrt may not support the options you need, not sure. I know they use a custom lightweight
@Quazz I am willing to try that option but i dont understand the x.x.x.x part outside of the obvious ip parts in the begin.
dhcp-match=set:bios,60,PXEClient:Arch:00000 dhcp-boot=tag:bios,undionly.kpxe,x.x.x.x,x.x.x.x <<clearly IP # ?.?.?.? = TFTP/FOG server IP