redhat 9, doc 2000
Selwyn Tang
selwyn at hectrix.com
Mon Oct 6 22:55:33 EDT 2003
On 10/07/2003 05:34 AM, Slim wrote:
> the above, but the doc-grub always loads despite changing the boot
> device in the bios setup. Now I can't boot from the hard drive unless I
> disable all access to the doc. Any workaround?
I think you have built a GRUB firmware and written it on the DOC. But
there is a catch that the firmware will register as a BIOS extension
that will take over the boot sequence from the BIOS. You should patch
GRUB with the ctrlbypass functionality. It allows you to bypass the GRUB
on DOC and boot according to your BIOS by holding CTRL while booting. I
used grub-2003-01-08.doc.patch here. Refer to p.262-266 of Karim's book.
Now, to get back to boot from your harddisk and have a chance to rewrite
the correct firmware, you may try hotplugging your DOC after the system
is booted. Although it is a bit undesirable and dangerous, I tried once
and it seemed alright. Once, I even accidentally pulled out a DOC with a
screwdriver while the system was still running, and the DOC was not
damaged at all.
Selwyn
More information about the linux-mtd
mailing list