public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Grub 0.93 grub-2003-01-08-doc.patch DOC2000 trouble
@ 2003-02-15 10:15 Jeb Campbell
  2003-02-18 14:53 ` Ilguiz Latypov
  0 siblings, 1 reply; 4+ messages in thread
From: Jeb Campbell @ 2003-02-15 10:15 UTC (permalink / raw)
  To: linux-mtd

Problem with MBR -- steps to get there:

1)patch grub-0.93 with grub-2003-01-08-doc.patch:
cd grub-0.93
patch -p1 < ../grub-2003-01-08-doc.patch
export WANT_AUTOMAKE_1_5=1 WANT_AUTOCONF_2_5=1
aclocal && automake --add-missing && autoconf
./configure --exec-prefix=/ \
         --disable-auto-linux-mem-opt \
         --enable-diskonchip-2000 \
         --enable-diskonchip-ctrlbypass \
         --enable-rtl8139

This patches and compiles fine and grub_firmware is 120K

2) boot dos
use v4.2 DUPDATE /win:d600 /s:DOC42.EXB and power cycle

3) boot dos to format 48M DOC2000 and load grub_firmware
use v5.1 DFORMAT /win:d600 /BDKF0:grub_fir /BDKL0:160000
formats ok and then power cylcle

4) use grub to boot linux off hard drive (2.4.19 with cvs mtd nftlcore 
1.87 and nftlmount 1.31)
fdisk -l /dev/nftla
shows the fat16 partion
mke2fs -m 0 /dev/nftla1 (no root reserve)
and it mounts fine

But when I unplug the hd, grub fails on invalid MBR on the DOC2000-48M
I can netboot and get a kernel from tftp and boot the chip fine.

But the strangest thing is grub will get the menu.lst from the DOC on 
the first partition!  But then error out when trying to boot/load the 
kernel.

Any help would be appreciated.  I don't know if I need to take out some 
of the error checking for the MBR?  Anyway I would like to use grub-0.93 
because the realtek netboot driver works (and 0.92 will not).

Thanks again,

Jeb Campbell

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-19  1:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-15 10:15 Grub 0.93 grub-2003-01-08-doc.patch DOC2000 trouble Jeb Campbell
2003-02-18 14:53 ` Ilguiz Latypov
2003-02-18 15:05   ` David Woodhouse
2003-02-19  1:50   ` Jeb Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox