Greetings,
I've made an iso out of a bootcd tool that uses WinPE v3 for its startup environment.
Using Grub menu, I start this iso with the commands:
title My Boot
find --set-root ubcd/custom/ISO/MyBoot.iso
map ubcd/custom/ISO/MyBoot.iso (hd32)
map --hook
chainloader (hd32)
However, I'm getting the error:
Error 13: Invalid or unsupported executable format
Press any key to continue...
I have defragged the iso using Wintig. Still same error.
I've also changed (hd32) to (0xff) same problem...
The iso boots fine stand alone when using Virtual Box.
Is there something unique about WinPE v3 that Grub does not like?
I've had success with WinPE v2 CD's like Vista Repair Disk.
Any insight is much appreciated.
ISO won't start from within Grub menu...
Moderators: Icecube, StopSpazzing
Re: ISO won't start from within Grub menu...
Try with an additional slash:
Also try to enter the commands in the grub4dos prompt:
Boot into the grub4dos menu, press "C" and enter each line separately and look at the output it gives.
Code: Select all
title My Boot
find --set-root /ubcd/custom/ISO/MyBoot.iso
map /ubcd/custom/ISO/MyBoot.iso (hd32)
map --hook
chainloader (hd32)
Boot into the grub4dos menu, press "C" and enter each line separately and look at the output it gives.
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/
Use Parted Magic for handling all partitioning task: http://partedmagic.com/
Re: ISO won't start from within Grub menu...
My memu.lst file does have the / "slash" in the path. I miss typing in during my post of the issue.
I ran the commands manually from a grub prompt.
Still getting same Error 13 message as mentioned above...
I ran the commands manually from a grub prompt.
Still getting same Error 13 message as mentioned above...
Re: ISO won't start from within Grub menu...
Figured it out...
Thanks for your help BTW, always good to have a second set of eyes...
Thanks for your help BTW, always good to have a second set of eyes...
Re: ISO won't start from within Grub menu...
Oh, BTW, do you know how to disable PXE scan in Grub?
Thanks.
Thanks.
Re: ISO won't start from within Grub menu...
What was the problem?Figured it out...
I don't think the PXE scan takes very long. I never had much problems with it.
You need to edit the embedded config file.
You can open grldr (end of the file) in a hexeditor and delete "pxe detect\n" (70 78 65 20 64 65 74 65 63 74 0a):
Code: Select all
0003f0f0 07 00 00 00 07 00 00 00 b0 02 1a ce 00 00 00 00 |................|
0003f100 00 00 00 00 00 00 00 00 70 78 65 20 64 65 74 65 |........pxe dete|
0003f110 63 74 0a 63 6f 6e 66 69 67 66 69 6c 65 0a 64 65 |ct.configfile.de|
0003f120 66 61 75 6c 74 20 30 0a 74 69 6d 65 6f 75 74 20 |fault 0.timeout |
0003f130 31 0a 0a 74 69 74 6c 65 20 66 69 6e 64 20 2f 6d |1..title find /m|
0003f140 65 6e 75 2e 6c 73 74 2c 20 2f 62 6f 6f 74 2f 67 |enu.lst, /boot/g|
0003f150 72 75 62 2f 6d 65 6e 75 2e 6c 73 74 2c 20 2f 67 |rub/menu.lst, /g|
0003f160 72 75 62 2f 6d 65 6e 75 2e 6c 73 74 0a 09 65 72 |rub/menu.lst..er|
0003f170 72 6f 72 63 68 65 63 6b 20 6f 66 66 0a 09 63 6f |rorcheck off..co|
0003f180 6e 66 69 67 66 69 6c 65 20 2f 6d 65 6e 75 2e 6c |nfigfile /menu.l|
0003f190 73 74 20 7c 7c 20 63 6f 6e 66 69 67 66 69 6c 65 |st || configfile|
0003f1a0 20 2f 4d 45 4e 55 2e 4c 53 54 0a 09 63 6f 6e 66 | /MENU.LST..conf|
0003f1b0 69 67 66 69 6c 65 20 2f 62 6f 6f 74 2f 67 72 75 |igfile /boot/gru|
0003f1c0 62 2f 6d 65 6e 75 2e 6c 73 74 20 7c 7c 20 63 6f |b/menu.lst || co|
0003f1d0 6e 66 69 67 66 69 6c 65 20 2f 42 4f 4f 54 2f 47 |nfigfile /BOOT/G|
0003f1e0 52 55 42 2f 4d 45 4e 55 2e 4c 53 54 0a 09 63 6f |RUB/MENU.LST..co|
0003f1f0 6e 66 69 67 66 69 6c 65 20 2f 67 72 75 62 2f 6d |nfigfile /grub/m|
0003f200 65 6e 75 2e 6c 73 74 20 7c 7c 20 63 6f 6e 66 69 |enu.lst || confi|
0003f210 67 66 69 6c 65 20 2f 47 52 55 42 2f 4d 45 4e 55 |gfile /GRUB/MENU|
0003f220 2e 4c 53 54 0a 09 66 69 6e 64 20 2d 2d 73 65 74 |.LST..find --set|
0003f230 2d 72 6f 6f 74 20 2d 2d 69 67 6e 6f 72 65 2d 66 |-root --ignore-f|
0003f240 6c 6f 70 70 69 65 73 20 2d 2d 69 67 6e 6f 72 65 |loppies --ignore|
0003f250 2d 63 64 20 2f 6d 65 6e 75 2e 6c 73 74 20 26 26 |-cd /menu.lst &&|
0003f260 20 63 6f 6e 66 69 67 66 69 6c 65 20 2f 6d 65 6e | configfile /men|
0003f270 75 2e 6c 73 74 0a 09 66 69 6e 64 20 2d 2d 73 65 |u.lst..find --se|
0003f280 74 2d 72 6f 6f 74 20 2d 2d 69 67 6e 6f 72 65 2d |t-root --ignore-|
0003f290 66 6c 6f 70 70 69 65 73 20 2d 2d 69 67 6e 6f 72 |floppies --ignor|
0003f2a0 65 2d 63 64 20 2f 62 6f 6f 74 2f 67 72 75 62 2f |e-cd /boot/grub/|
0003f2b0 6d 65 6e 75 2e 6c 73 74 20 26 26 20 63 6f 6e 66 |menu.lst && conf|
0003f2c0 69 67 66 69 6c 65 20 2f 62 6f 6f 74 2f 67 72 75 |igfile /boot/gru|
0003f2d0 62 2f 6d 65 6e 75 2e 6c 73 74 0a 09 66 69 6e 64 |b/menu.lst..find|
0003f2e0 20 2d 2d 73 65 74 2d 72 6f 6f 74 20 2d 2d 69 67 | --set-root --ig|
0003f2f0 6e 6f 72 65 2d 66 6c 6f 70 70 69 65 73 20 2d 2d |nore-floppies --|
0003f300 69 67 6e 6f 72 65 2d 63 64 20 2f 67 72 75 62 2f |ignore-cd /grub/|
0003f310 6d 65 6e 75 2e 6c 73 74 20 26 26 20 63 6f 6e 66 |menu.lst && conf|
0003f320 69 67 66 69 6c 65 20 2f 67 72 75 62 2f 6d 65 6e |igfile /grub/men|
0003f330 75 2e 6c 73 74 0a 09 65 72 72 6f 72 63 68 65 63 |u.lst..errorchec|
0003f340 6b 20 6f 6e 0a 09 63 6f 6d 6d 61 6e 64 6c 69 6e |k on..commandlin|
0003f350 65 0a 0a 74 69 74 6c 65 20 63 6f 6d 6d 61 6e 64 |e..title command|
0003f360 6c 69 6e 65 0a 09 63 6f 6d 6d 61 6e 64 6c 69 6e |line..commandlin|
0003f370 65 0a 0a 74 69 74 6c 65 20 72 65 62 6f 6f 74 0a |e..title reboot.|
0003f380 09 72 65 62 6f 6f 74 0a 0a 74 69 74 6c 65 20 68 |.reboot..title h|
0003f390 61 6c 74 0a 09 68 61 6c 74 0a 0a 00 |alt..halt...|
0003f39c
fbinst tool: http://bbs.znpc.net/viewthread.php?tid=5641
Grub and Grub4dos is not the same (don't have the same features).
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/
Use Parted Magic for handling all partitioning task: http://partedmagic.com/
Re: ISO won't start from within Grub menu...
Ah. Thanks for that, I will fire up the editor.
The problem was the iso had a 2 boot files in the root directory. That was causing confusion.
Question:
I know Grub does not support HFS + But I have a small boot CD based on OSX.
[http://refit.sourceforge.net/]
I would like to added it. There must be a way to call it in Grub. Like if I pulled Chain0 from an OSX DVD?
The problem was the iso had a 2 boot files in the root directory. That was causing confusion.
Question:
I know Grub does not support HFS + But I have a small boot CD based on OSX.
[http://refit.sourceforge.net/]
I would like to added it. There must be a way to call it in Grub. Like if I pulled Chain0 from an OSX DVD?