DOC2000 and Grub

Ilguiz Latypov ilatypov at superbt.com
Tue Jun 11 13:56:45 EDT 2002


On Tue, 11 Jun 2002, Matt Vestal wrote:

> Also, the partition table gets easily corrupted.

You might have noticed the today's posting by David Woodhouse on 
importance of NFTL driver being inactive when re-formatting the chip.  I 
reboot few times to achieve that:

    erase_all /dev/mtd0
    doc_loadbios /dev/mtd0 grub_firmware
    reboot

    # Now it is unlikely the NFTL driver will find an NFTL signature on 
    # the chip.
    erase_all /dev/mtd0   # erase again since the previous erase might
                          # be spoiled by the NFTL driver
    doc_loadbios /dev/mtd0 grub_firmware
    nftl_format /dev/mtd0 98304
    fdisk /dev/nftla
    mke2fs /dev/nftlaX
    ...

Ilguiz






More information about the linux-mtd mailing list