How to Clean bad Grubfirmware off DOC?

Mark Meade mark at lakeshoremicro.com
Fri Jun 28 17:58:29 EDT 2002


Peter Keel wrote:
> > By saying above ,do you mean "hot plug" ?
> And do you mean you have to have
> - DOS (why shouldn't I use Linux?)

You don't *have* to use DOS, it just might be slightly easier to run DFORMAT 
to erase GRUB and return the DoC to its "virgin" state.  

If you used Linux, you would need to have all of the proper MTD stuff 
compiled as modules, and do your "insmod" or "modprobe" *after* hot-plugging 
the DoC.  You would also need to use "eraseall" to wipe out GRUB, and I 
didn't recommend that option because of the possibility of wiping out the bad 
block table.

> - An Empty DOC
> ??

To clarify, "an empty DoC board" simply means inserting the ISA or PCI eval 
board, without installing the DoC.  Obviously, this would allow you to boot 
without the DoC GRUB taking over, and then you could "hot-plug" the DoC to 
erase it.

Keep in mind that these instructions assume a PC and a M-Sys eval-board.  If 
your system is different, please post the specifics.

For what it's worth, my development PC has an ISA eval-board, and the ability 
to "network" boot.  My target system has a *socketed* DoC, with no monitor or 
keyboard.  I make sure the DoC is bootable (from (dc0,0) with root file 
system on /dev/nftla1) prior to installing it on my target.

What version of GRUB did you use, prior to applying the patch?  I'm still 
curious as to why it doesn't recognize your root filesystem.  Are you running 
GRUB on your hard drive?








More information about the linux-mtd mailing list