?
Solved

Kernel Panic: VFS:

Posted on 1997-01-14
1
Medium Priority
?
494 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
mart010897 earned 100 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses
Course of the Month12 days, 16 hours left to enroll

777 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