GRUB
Hi Everybody,
I just installed grub-0.92 on a DOC Millenium, however this appears to have overwritten the original partition table:
Could not find valid boot record
Could not mount NFTL device
Since the documentation states "DO NOT EVER USE THE nftl_format UTILITY WITHOUT FIRST SEEKING ADVICE ON THE MAILING LIST. It will erase all blocks on the device, potentially losing the factory-programmed information about bad blocks. (Someone really ought to fix it one of these days - ed)", what should I do?
Thanks in Advance,
Erik Smit
If you used doc_loadbios to install GRUB and the binary partition (before the NFTL disk on the flash) was smaller than your GRUB image then doc_loadbios overwrote the NFTL table of the DOC flash.
The safest way to install the GRUB "bios" on a DOC is to use mSys DFORMAT 5.x from DOS. But this requires a version of the GRUB DOC patch which is compatible with DFORMAT 5.x (there is a small undocumented difference in the NFTL header between DFORMAT 4.x and 5.x). The grub-2002-10-08-doc.patch should work I think. Earlier GRUB patches won't work.
The alternative way is to use doc_loadbios and nftl_format from Linux but you will then need to calculate all the offsets manually IIRC, and there reportedly is critical issues if you have the NFTL Linux driver loaded while doing this.
Regards
Henrik
fre 2002-11-22 klockan 16.21 skrev Erik Smit:
Quoted 22 lines
Hi Everybody,
I just installed grub-0.92 on a DOC Millenium, however this appears to have overwritten the original partition table:
Could not find valid boot record
Could not mount NFTL deviceSince the documentation states "DO NOT EVER USE THE
nftl_formatUTILITY WITHOUT FIRST SEEKING ADVICE ON THE MAILING LIST. It will erase all blocks on the device, potentially losing the factory-programmed information about bad blocks. (Someone really ought to fix it one of these days - ed)", what should I do?Thanks in Advance,
Erik Smit
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/