What steps will reproduce the problem? Asus P8H77-M Pro + Toshiba 60GB SSD
ptn 1 PRI C: OS Windows 7 Embedded (40GB) ptn 2 PRI D: Log Files (10GB) ptn 3 PRI E: Recovery (10GB)
grub4dos installed to MBR grldr and menu.lst on E: (partition 3)
menu.lst
echo 1
iftitle [find --devices=h /bootmgr] Boot Windows 7\nBoots to Windows 7 or Vista (bootmgr) find --set-root --devices=h /bootmgr chainloader /bootmgr
What is the expected output? What do you see instead?
SYMPTOM: system boots grub4dos, loads menu.lst then immediately goes to grub4dos console.
If use INSERT key to single-step - all appears OK. iftitle runs OK and then any lines of menu.lst run OK (e.g. echo 1). After echo 1 it immediately goes to command line.
If at command line, I run configfile (hd0,2)/menu.lst then menu loads and displays OK!
Also, if add the line:
if "%DD%"=="" set DD=1 && configfile (hd0,2)/menu.lst
then menu loads OK on boot.
BIOS is 'strange' because if add code lines to top of menu e.g. if exist (hd0,0)/windows/explorer.exe set WDRV=sda1 if exist (hd0,1)/windows/explorer.exe set WDRV=sda2 if exist (hd0,2)/windows/explorer.exe set WDRV=sda3 if exist (hd0,3)/windows/explorer.exe set WDRV=sda4 if exist (hd0,0)/clonezilla/live/vmlinuz set BAKDRV=sda1 if exist (hd0,1)/clonezilla/live/vmlinuz set BAKDRV=sda2 if exist (hd0,2)/clonezilla/live/vmlinuz set BAKDRV=sda3
then I get errors reported (see jpg attached).
If the iftitle line is changed to:
iftitle [find /bootmgr] Boot Windows 7\nBoots to Windows 7 or Vista (bootmgr) find --set-root --devices=h /bootmgr chainloader /bootmgr
then the menu loads correctly - so the --devices=h is causing the problem but ONLY when used in iftitle and ONLY on this system.
What version of the product are you using? On what operating system? 0.4.5c 2012 version and 2014 version
Please provide any additional information below.
I cannot repro this, but I diagnosed the issue when working via email with a user.
- BadBIOS.jpg 69.33KB
Comment #1
Posted on Jul 1, 2014 by Happy KangarooP.S. the jpg is when debug on is used, so this is normal. So ignore the if exist xxx stuff and the jpg. So the system seems perfectly 'normal' except that --devices=h in an iftitle line causes it to abort instead of showing the menu.
Comment #2
Posted on Aug 2, 2014 by Happy Kangaroofixed in July 2104 version on GitHub
Comment #3
Posted on Aug 4, 2014 by Happy Hippo(No comment was entered for this change.)
Status: Done
Labels:
Type-Defect
Priority-Medium