Re: Kernel Panic, root fs..

Tim Ricketts (tr@oxlug.org)
Sat, 21 Aug 1999 21:37:57 +0100 (GMT)


On Thu, 19 Aug 1999, Matthew Vanecek wrote:

> "Mike A. Harris" wrote:
> >
> > and /lib/modules. I then edit lilo.conf and tell it about the
> > new kernel. I don't run rdev, or any other such thing. The
> > kernels ALWAYS boot properly, and if I move them to a totally
> > different machine, they still work correctly.
> >
>
> How do you get away with that? The last time I tried that, the other
> machine had the kernel panic, couldn't open initial console, etc...so I
> ran rdev on it to set the root device, and have been doing it that way
> since.

By default the kernel has the root device wherever it was when you
compiled it. This can be changed with rdev or overridden by putting
root=/dev/whatever on your kernel command line which lilo does if you
specify root=/dev/whatever in lilo.conf.

-- 
Tim
Quidquid latine dictum sit, altum viditur.

- 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/