Troubleshooting

I followed the steps, but when I rebooted, I got kernel panic.

One of several things occurred. Most probably, you forgot to run lilo to install the new boot image. If you did run lilo, did you ensure it terminated with no errors? (You saw the list of kernel images by name.)

To fix this, you'll need to boot from your boot disk or CD-ROM, and at the LILO: prompt, press Shift+Tab and enter the following:

boot root=/dev/hda1

Remember to change /dev/hda1 for the correct device to mount your root filesystem. Now cd into /etc, review your lilo.conf file, and rerun lilo.

I'm getting an error when the kernel boots about VFS: cannot mount root partition.

Whenever you get an error regarding the VFS (virtual filesystem) for a Linux partition, ...

Get Special Edition Using Linux®, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.