Solved

Kernel Panic: VFS:

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…

733 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