UEFI won boot tools via fog menu.
-
@dureal99d You should use subtree_check, not no_subtree_check.
-
@dureal99d ISO’s can be created to run in only “BIOS” mode. This means, while UEFI is backwards compatible from a support perspective, the ISO’s have no idea how to use UEFI. BIOS expects certain things to run. You must remember BIOS booting has been around, essentially, since the beginning of personal computers. UEFI is relatively new so simply saying “UEFI is supposed to be backwards compatible” doesn’t mean much. EFI has been around for quite some time, but only recently has it been in “major” use.
-
@Tom-Elliott Ok I’m going to try that now
also i tried this config and its getting farther than before by loads
initrd http://${fog-ip}/bootimgs/16.04.1_64/casper/initrd.lz chain http://${fog-ip}/bootimgs/16.04.1_64/casper/vmlinuz.efi initrd=initrd.lz root=http://${fog-ip}/bootimgs/16.04.1_64/casper/squashfs ip=dhcp – || read void boot || goto MENU```
-
@dureal99d The post I’m linking here.
You are missing the initrd= statement. You will likely need to add: initrd=initrd.lz (or the respective initrd filename) to each of your menu entries.
-
@dureal99d Try to use fetch=http://${fog-ip}/bootimgs/16.04.1_64/casper/squashfs instead of root=
-
@Tom-Elliott said in UEFI won boot tools via fog menu.:
@dureal99d ISO’s can be created to run in only “BIOS” mode. This means, while UEFI is backwards compatible from a support perspective, the ISO’s have no idea how to use UEFI. BIOS expects certain things to run. You must remember BIOS booting has been around, essentially, since the beginning of personal computers. UEFI is relatively new so simply saying “UEFI is supposed to be backwards compatible” doesn’t mean much. EFI has been around for quite some time, but only recently has it been in “major” use.
I understand.
-
: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.
-
@Tom-Elliott said in UEFI won boot tools via fog menu.:
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 startyour edit to my config file works flawlessly!!!
THank you @Tom-Elliott @Quazz @Wayne-Workman @george1421 & @Moderators @Senior-Developers @Developers.
this has been one heck of a trip but it was worth it in the end.
t -
@dureal99d for the Linux distros the argument initrd=initrd.lz was missing. that’s crazy!!!
-
@dureal99d Well this is the difference of legacy vs. uefi too. UEFI doesn’t know much about the ram space, so there is no definition of where to find the initrd filesystem. With legacy, it typically loaded the initrd into the same point, so legacy systems wouldn’t have an issue. It doesn’t hurt legacy to have the initrd= options either, so this method should work the same for both legacy and uefi.
-
@dureal99d I run ddwrt sp2 v24 and being as it has successfully dual booted bios and uefi is it safe to say that it has the correct version of dnsmasq to handle the job?
-
@Tom-Elliott Yes i have tested the booting of the Linux isos in both bios and uefi and they work the same.
-
@dureal99d I don’t think version mattered here. DD-WRT uses DNSMASQ as the DHCP server for the router. The only “version” difference problems of UEFI/Legacy handouts I’m aware of was with ProxyDNS.
-