Re: Problems upgrading kernel

Jim Breton (jamesb-admin@alongtheway.com)
Thu, 29 Jun 2000 04:50:55 +0000


On Wed, Jun 28, 2000 at 05:29:31PM -0700, Susan LB wrote:
> I copied a lilo.conf from another machine and I think
> the other machine must have been booting off a
> different partition than the one I was upgrading. (I

Whoops. ;)

> So now when I try to boot to either kernel I get a
> kernel panic that says it can't boot the root fs. Can
> anyone help? All I need to do is modify

Few things you could try, depending on what your actual situation is.

One option: when you see the LILO prompt, pass a "root=" command line
to the kernel like this:

linux root=/dev/hda1

(for example).

Failing that, you could boot off a boot disk (one from any distribution
will do) and open a shell and mount your root partition somewhere else
in the filesystem, fix lilo.conf (don't forget to run lilo when you're
done), and reboot.

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