jack23912 / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

Error 43 - Chainloader prevents booting from PBR #188

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Please see posts starting at
http://reboot.pro/topic/16429-easy2boot-development-discussion/page-29#entry1857
28

Basically, it seems some loaders (syslinux) can boot from a PBR even if the 
hidden-sectors at 001C in the PBR=0.
However, grub4dos will refuse to boot from the PBR ->
Error 43: The BPB hidden_sectors should not be zero for a hard-disk partition 
boot sector

using --raw  or --force  does not help - you still get Error 43.
Also tried geometry --sync and errorcheck off.

What is the expected output? What do you see instead?

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

Suggest that if 
errorcheck off
then it allows you to boot anyway?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Can you explain why the solution works?
i.e.
why chainloader (hd0,1)+0x50 works but chainloader (hd0,1)+1 does not even when 
the PBR hidden-sectors value is fixed?

Original issue reported on code.google.com by Steve6375 on 13 Jul 2014 at 6:29

GoogleCodeExporter commented 8 years ago
chainloader (hd0,1)+2 works.
It seems that the OP made the drive in a strange way however...

Original comment by Steve6375 on 2 Aug 2014 at 7:52