LABEL - MENU LABEL GRUB4DOS menu (chain.c32) TEXT HELP This entry will bring you to the GRUB4DOS menu. ENDTEXT COM32 /boot/syslinux/chain.c32 APPEND ntldr=/boot/grub/grldrIt boots fine, when I run it from a USB stick (or hard drive).
When I run it from ISOLINUX, it won't find the menu.lst file. The root device is set wrong (is set to hd0,0). It will find the menu.lst file when I edit the embedded menu (removed --ignore-cd). I don't want to do this, because when grub4dos starts scanning all devices, there is no advantage at using grldr instead of grub.exe. When SYSLINUX/ISOLINUX is booted first, the root device from which grub4dos should read, is already determined, but if it needs to use the 'find --set-root' command, you don't know which menu.lst file it is going to use (not the right one).
So grub4dos should stop at the bold text of the embedded menu for my purpose.
chain.c32 does load the whole grldr file (ntldr of Windows XP doesn't do this), so you can put grldr at any directory.default 0
timeout 1
title find /menu.lst, /boot/grub/menu.lst, /grub/menu.lst
errorcheck off
configfile /menu.lst
configfile /boot/grub/menu.lst
configfile /grub/menu.lst
find --set-root --ignore-floppies --ignore-cd /menu.lst && configfile /menu.lst
find --set-root --ignore-floppies --ignore-cd /boot/grub/menu.lst && configfile /boot/grub/menu.lst
find --set-root --ignore-floppies --ignore-cd /grub/menu.lst && configfile /grub/menu.lst
errorcheck on
commandline
title commandline
commandline
title reboot
reboot
title halt
halt
It also passes the boot device in register DL.