It is currently Wed Oct 22, 2014 7:24 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Grub4dos problem with Syslinux 4
PostPosted: Sun Sep 19, 2010 8:25 pm 
Offline

Joined: Mon Feb 21, 2005 10:59 pm
Posts: 1294
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?


Top
 Profile  
 
 Post subject: Re: Grub4dos problem with Syslinux 4
PostPosted: Mon Sep 20, 2010 10:56 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
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.

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject: Re: Grub4dos problem with Syslinux 4
PostPosted: Wed Sep 22, 2010 12:15 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
Should be fixed (not tested yet):
http://www.boot-land.net/forums/index.p ... ntry109781

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject: Re: Grub4dos problem with Syslinux 4
PostPosted: Sat Sep 25, 2010 3:07 pm 
Offline

Joined: Mon Feb 21, 2005 10:59 pm
Posts: 1294
Thanks! Will try.


Top
 Profile  
 
 Post subject: Re: Grub4dos problem with Syslinux 4
PostPosted: Tue Dec 21, 2010 1:42 pm 
Offline

Joined: Tue Nov 24, 2009 9:22 am
Posts: 51
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




Top
 Profile  
 
 Post subject: Re: Grub4dos problem with Syslinux 4
PostPosted: Tue Dec 21, 2010 2:16 pm 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
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.

_________________
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/


Top
 Profile  
 
 Post subject: Re: Grub4dos problem with Syslinux 4
PostPosted: Tue Dec 21, 2010 2:22 pm 
Offline

Joined: Tue Nov 24, 2009 9:22 am
Posts: 51
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group