[syslinux] Chaining with chain.c32 from syslinux 6.01 error
Ady
ady-sf at hotmail.com
Fri Jul 26 04:59:15 PDT 2013
>
> In qemu (virtual machine) it is working ok.
>
> On a physsical machine syslinux does not boot at all :
>
> SYSLINUX 6.02 EDD 6.02-pre9 ...
> Boot error.
>
>
> I attached the usb drive info.
>
The CHS values in the Partition Table are inconsistent with the LBA
and fs size.
Partition Table:
Start CHS: 0 / 1 / 1
End CHS: 888 / 254 / 63 (*)
Partition #1 (FAT32LBA, type: 0C):
Start LBA: 63
Size LBA: 30736321 (*)
End LBA: 30736383 (*)
If I'm not mistaken, the last 2 values should better be:
Size LBA: 30732282
End LBA: 30732345
leaving 4038 unpartitioned sectors at the end of the device.
Then the corrected values would be:
Start CHS: 0 / 1 / 1
End CHS: 1023 / 254 / 63
(note the "1023" instead of "888")
and:
Partition #1 (FAT32LBA, type: 0C) (for cyl. alignment):
Start LBA: 63
Size LBA: 30732282
End LBA: 30732345
Size bytes: 15734928384
Partition #2 (free space, type: 00):
Start LBA: 30732345
Size LBA: 4038
End LBA: 30736383
Although, I could have missed some calculation.
Then format the new Partition #1.
Regards,
Ady.
More information about the Syslinux
mailing list