I am using Grub4DOS as an automatic recovery option but i was wondering if someone could help with updating the Menu.lst due to peramaenters;
The ideal situation is that if Menu Option 1 (saying Windows boot option) fails to load correctly, load option 2 which is a Winpe ISO.
Now i understand that Windows could load successfully, but fail halfway or similar so this isn't really a possibility. So what i would like to be able to do is change the default boot option in the menu.lst when it runs it;
Menu.lst default option to boot WinPE.ISO, before booting it will amend the Menu.lst to say the next time its loaded to default option to boot WindowsXp
My current code where you have to manually choose your options;
write (md)0x220+1 !BAT\necho -n -P:0000 $ --- KFC Rescue my PC --- \0 initscript (md)0x220+1 find --set-root /PC_Restore/PC.xpm.gz && splashimage /PC_Restore/PC.xpm.gz default 0 timeout 5 color white/blue color normal=0x0c highlight=0x1e helptext=0x0D standard=0x02 border=0x0c title Boot to Windows\n errorcheck off find --set-root /ntldr || find --set-root /bootmgr chainloader /ntldr || chainloader /bootmgr title Rescue my PC! find --set-root /PC_Restore/GRUB/WinPE.iso map /PC_Restore/GRUB/WinPE.iso (0xff) || map --mem /PC_Restore/GRUB/WinPE.iso (0xff) map --hook chainloader (0xff)