Solved

Kernel Panic: VFS:

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

839 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