Solved

Kernel Panic: VFS:

Posted on 1997-01-14
1
481 Views
Last Modified: 2013-12-15
Does the fact that I have a 1048 sector harddrive have anything to do with my kernel not booting up after I have completed compiling and running zdisk on it?
0
Comment
Question by:joeb011497
1 Comment
 
LVL 1

Accepted Solution

by:
mart010897 earned 50 total points
ID: 1626700
Probably does...

Try turning on LBA translation mode for that drive in your PC's CMOS setup.  Hard disks with > 1024 cylinders can mess with boot loaders.

Failing that-- your boot disk might think its root filesystem is going to be somewhere other than it actually is.  Boot "happy" (from a disk that works, get your hard disk mounted on /) and type mount.  The drive mounted on / should be the root device of your boot kernel.

To see what the root device of your boot kernel is going to be (well, hey, let's make our own boot disk while we're at it)-- after doing a make zImage, do:

cd /usr/src/linux/arch/i386/boot
rdev zImage

It should show its root device as the same as what's mounted on /.  If not, do:

rdev zImage /dev/hda3

or whatever the device for your hard disk partition is.  Then, to make a bootkernel disk from the zImage, do this with a blank low-level formatted floppy in the drive:

dd if=zImage of=/dev/fd0

Once the floppy stops churning, try booting off it.  If none of this works, get back to me.

Feel free to mail me directly if you need clarification...

Mart
mart@voicenet.com
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now