[syslinux] "EDD Load error" on btrfs, how to debug?

H. Peter Anvin hpa at zytor.com
Tue May 20 16:28:30 PDT 2014


On 05/20/2014 12:24 PM, Paulo Alcantara wrote:
> 
> Actually, there is *no* 64KiB limit on btrfs. Look at btrfs-progs
> (ctree.h:830):
> 
> "
> /*
>  * We don't want to overwrite 1M at the beginning of device, even though
>  * there is our 1st superblock at 64k. Some possible reasons:
>  *  - the first 64k blank is useful for some boot loader/manager
>  *  - the first 1M could be scratched by buggy partitioner or somesuch
>  */
> #define BTRFS_BLOCK_RESERVED_1M_FOR_SUPER	((u64)1024 * 1024)
> "
> 
> 1MiB seems to be a reasonable size to fit bootsector + LDLINUX.SYS in. I
> don't know exactly how Syslinux is handling this, but it should be using
> the whole available space (1MiB instead).
> 

I have tried to get a formal ruling on the use of this from the btrfs
crowd, but haven't gotten one yet.  I might need to give up at playing
it nice and Just Do It[TM].

http://www.spinics.net/lists/linux-btrfs/msg34117.html

	-hpa



More information about the Syslinux mailing list