Booting from DOC2000 with GRUB loader

Jasmine Strong jasmine at
Fri May 3 12:19:55 EDT 2002

On Friday, May 3, 2002, at 02:40 PM, John Sutton wrote:
> ...the nftl
> format put on there by M-systems.  Once you want to have a go with grub,
> this is no good.  (Presumably precisely because the mtd-patched grub
> insists on putting stage2 onto the doc thus trashing this existing 
> format?

Yes.  The M-systems stuff reserves a block at the start of the DoC for
the BIOS extender-  however it only seems to be 48kbytes on any of the
parts I've tried, so that's not big enough for grub, and you need to
make more space.

If you don't reformat and make more space, you'll trash the first two
blocks of the NFTL, which contain the media headers, and this will
effectively destroy the NFTL.

>  Can't see why you couldn't have a "standard" grub installation which
> would only need to overwrite 512 bytes like lilo does?  Not that that
> would have much merit in itself.)

You could, but you would have to leave the M-Systems int13h 
in the first 48k of the DoC (as an unpatched grub would need to be able 
use standard int13h calls to read its second stage) and that would suck
*much* harder than just reformatting the thing.


More information about the linux-mtd mailing list