Ultimate Boot CD
http://www.ultimatebootcd.com/forums/

Grub4dos problem with Syslinux 4
http://www.ultimatebootcd.com/forums/viewtopic.php?f=7&t=2646
Page 1 of 1

Author:  Victor Chew [ Sun Sep 19, 2010 8:25 pm ]
Post subject:  Grub4dos problem with Syslinux 4

Looks like grub4dos "chainloader" command is broken on syslinux 4. Trying to execute:

Code:
chainloader /boot/isolinux/isolinux.bin || chainloader +1


gives:

Code:
Error 13: Invalid or unsupported executable format


Any workaround for this?

Author:  Icecube [ Mon Sep 20, 2010 10:56 am ]
Post subject:  Re: Grub4dos problem with Syslinux 4

grub4dos uses some magic bytes to determine if the chainloaded file is isolinux.bin or not.
This magic bytes are not the same between all releases. I will ask the grub4dos developers to support the newer version too.

Author:  Icecube [ Wed Sep 22, 2010 12:15 pm ]
Post subject:  Re: Grub4dos problem with Syslinux 4

Should be fixed (not tested yet):
http://www.boot-land.net/forums/index.p ... ntry109781

Author:  Victor Chew [ Sat Sep 25, 2010 3:07 pm ]
Post subject:  Re: Grub4dos problem with Syslinux 4

Thanks! Will try.

Author:  kcarney [ Tue Dec 21, 2010 1:42 pm ]
Post subject:  Re: Grub4dos problem with Syslinux 4

I believe this is broken for USB switching from grub4dos menu to syslinux

Quote:
Cannot chainload ISOLINUX from a non-CDROM device.
Partition table not recognized(boot_drive=0x80, err=1)

Error 43: The BPB hidden_sectors should not be zero for a hard disk boot sector



Author:  Icecube [ Tue Dec 21, 2010 2:16 pm ]
Post subject:  Re: Grub4dos problem with Syslinux 4

Did you had problems with the same USB stick before?
Did you reformat/repartitioned it in the meanwhile?

I think, I had the same issue (Error 43: The BPB hidden_sectors should not be zero for a hard disk boot sector) in the past.
Syslinux doesn't care about that field, but grub4dos complains about it. I patched the byte manually. I think your partition will probably be a logical partition.

I think I confirmed the "problem" with running boot_info_script. You can do that from Parted Magic.

Author:  kcarney [ Tue Dec 21, 2010 2:22 pm ]
Post subject:  Re: Grub4dos problem with Syslinux 4

I think you may be right, something seems weird in the way it is formatted. There are 0 hidden sectors when I believe there should be 63. I'll give the script a try and see what it says.

Any way to bypass the complaint grub4dos has? In a few hours I haven't found any on my own.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/