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, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access