[syslinux] altmbr.bin always boots the first partition

H. Peter Anvin hpa at zytor.com
Wed Mar 21 15:58:02 PDT 2012


On 03/21/2012 03:36 PM, Maxim Kammerer wrote:
> On Thu, Mar 22, 2012 at 00:16, H. Peter Anvin <hpa at zytor.com> wrote:
>> Could you send a small Qemu disk image which shows the problem?
> 
> Attaching compressed image (it compresses well, so I didn't bother
> minimizing it). Hopefully the mailing list will accept the archive,
> but leaving your personal email for the case it won't.
> 
> You can see that byte 440 (counting from 1) in the MBR is 02, yet the
> first partition is loaded (look for PARTITION-1 and PARTITION-2 in the
> error messages). Using mbr_c.bin, and marking either partition as
> active using sfdisk or parted works fine.
> 
> Best regards,
> Maxim
> 

Thank you, that made it quick to track down.  I just pushed a patch into
the git repository.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list