Re: How do I boot over network

Wakko Warner (wakko@animx.eu.org)
Sat, 2 Oct 1999 17:51:12 -0400


> > On Sat, 2 Oct 1999, Wakko Warner wrote:
> > > I have an intel etherexpress 10/100 in a diskless machine. It gets it's ip
> > > address and tftp's the kernel image. Once it transfers control to the
> > > image, I get 8000 scrolling down the screen and the floppy drive is
> > > constantly on.
> >
> > A standard kernel image assumes that its boot sector was loaded off of a
> > floppy, and attempts to load the remainder of the kernel. I patched the
> > setup code to work when netbooted, but I lost the source. :( However, if
> > you want a copy of the bootsector, I can send you one (and maybe
> > disassemble/recreate the source).
>
> it sounds like what you want to do is change the root device. use rdev to
> change that (as is described in nfsroot.txt). the kernel, though, doesn't
> load the remainder of the kernel; it tries to mount the root device. this
> doesn't explain the 8000 (ahem) error messages, though. when a kernel can't
> mount the root device you usually get something like this (i'm doing this
> from memory, excuse the wrong wording):
>
> VFS: No such device 02:00
> Kernel panic.
>
> after which, you will find no more error messages.

Excuse me, but exactly how did you gather I needed to set the root device?
This image works on floppy, but not when it is tftp'd by the nic. (I did
everything I could to get this far before I decided to send a message. Now
that it is tftp'ing the image and not working, I'm confused!)

> for the original poster: what exactly is displayed on screen (i.e. how far
> does it get?). is it immediately after it uncompresses the image, or what?
> and what is the exact wording of the error message?

The nic says 'Transfering ...' sorry, forgot the full message. The next
thing is 8000 line after line. There's no message from the kernel image.
As the previous guy said, it's trying to read the rest of itself from floppy
and not realize it is already in memory.

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/