LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-06-2002, 02:19 AM   #1
aditya
Member
 
Registered: Aug 2002
Distribution: RH 7.x
Posts: 71

Rep: Reputation: 15
Question Kernel Panic Kernel Panic!!!


Hi,
I'm making a boot floppy. I've complied the kernel and put it in one floppy. I then put the root file system in the second floppy.
On trying to boot from it, the first floppy loads the kernel and asks for the second floppy.
When I insert the second floppy, it gives me the message
'KERNEL PANIC: VFS: Unable to mount root fs on 02:00'

The website tldp.org/HOWTO/Bootdisk-HOWTO tells me some things, but in vain.
1. How do I check if the device 02:00 exists. I couldn't understand how to read the /usr/src/linux/Documentation/devices.txt file.
2. I have done rdev -r on /mnt/floppy/bzImage
3. I have added the standard IDE floppy drive support in my kernel.
4. I have added the ramdisk support (though i've excluded initrd), and added ext2 fs support built-in. I've got no modules.

Could anybody tell me in easy language what's the problem?
thanks already.
 
Old 09-06-2002, 04:21 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
I think initrd is needed. If you're the one I'm thinking about I'm sorry I'd missed it.
 
Old 09-06-2002, 04:51 PM   #3
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
rdev /dev/fd0 /dev/fd0 #Tells the kernel that the rootfs is on /dev/fd0
rdev -R /dev/fd0 0 #Tells the kernel to mount rootfs read/write
rdev -r /dev/fd0 49152 #Tells the kernel it will look for a initrd.gz compressed filesystem at sector 0 of secound disk


This is assuming you have allready dd'd the kernel to the floppy disk. And that the kenel disk is in the drive.

Last edited by hanzerik; 09-06-2002 at 04:53 PM.
 
Old 09-06-2002, 05:01 PM   #4
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
How are you putting the kernel and rootfs on the disks? dd?
 
Old 09-09-2002, 12:45 AM   #5
aditya
Member
 
Registered: Aug 2002
Distribution: RH 7.x
Posts: 71

Original Poster
Rep: Reputation: 15
Wink Thanks all

Hi,
It was my mistake. I was doing 'rdev -r /mnt/bzImage 0'.
The '0' was the wrong part.
Now, when I boot, it kernel loads good,
and at the end the message flashes:
'Found Compresses image at block 0...' or something like tat, and the computer just halts. Still don't know what to do.
 
Old 09-09-2002, 12:46 AM   #6
aditya
Member
 
Registered: Aug 2002
Distribution: RH 7.x
Posts: 71

Original Poster
Rep: Reputation: 15
And yes, I am using 'dd' to transfer the root fs to disk.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM


All times are GMT -5. The time now is 10:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration