On 2008-12-30, Thilo Pfennig <[email protected]> wrote:
>
> I have a FAT32 disk on wd1i as a disk for interchange with other
> computers. On every bootup I get the message "No space for FAT (Cannot
> allocate memory)" and then get into a shell where I should check
> manually.

This is coming from fsck_msdos. Either one of NumClusters, FATsecs
or BytesPerSec stored in the bootblock of the partition is mangled,
or it's just too big a partition for fsck_msdos to handle in the
available memory.

Build fsck_msdos with debugging symbols and run it under gdb, set
a breakpoint after readboot() is called in check.c (line 90 or so
should be ok), then when it's triggered, print boot.

> But I can mount the disk without any problem.

Unless you do it manually, there won't be an fsck then.

Reply via email to