[syslinux] Boot sector file testcases

H. Peter Anvin hpa at zytor.com
Mon May 14 12:02:22 PDT 2012


On 05/14/2012 11:43 AM, Matt Fleming wrote:
> On Mon, 2012-05-14 at 10:28 -0700, H. Peter Anvin wrote:
>> On 05/14/2012 12:42 AM, Matt Fleming wrote:
>>> Does anyone have a collection of bootable .bs, .bss, .bin and .img files
>>> that I could use for testing the booting functionality on the elflink
>>> branch? A copy of the files and config file lines should be enough to
>>> produce a testcase.
>>
>> It's not quite that simple.  Those files are highly interlinked with the
>> rest of the media they are running on.
>>
>> The simplest one is .0 for network, which you can simply do by
>> re-loading pxelinux.0:
>>
>> label restart
>> 	pxe pxelinux.0
>>
>> ... and it should be able to re-chain indefinitely.  
> 
> Yep, that test appears to work.
> 

OK... let me see if I can cook up a couple of more tests for you.

.bs and .bss are pretty easy.  "CD boot sector" is harder, .img is
trivial as long as the BIOS supports it, but few do -- few enough that
we might want to kill off the support.

	-hpa




More information about the Syslinux mailing list