Solved

Kernel Panic: VFS:

Posted on 1997-01-14
1
483 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP Apache application gives "Forbidden" message 5 45
VirtualBox in Fedora 25 Linux:  Unable to Install OS 11 149
nagios alerts 3 33
Adding more CPU cores to a Linux VM 5 66
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

895 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

12 Experts available now in Live!

Get 1:1 Help Now