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. |
I think initrd is needed. If you're the one I'm thinking about I'm sorry I'd missed it.
|
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. |
How are you putting the kernel and rootfs on the disks? dd?
|
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. |
And yes, I am using 'dd' to transfer the root fs to disk.
|
All times are GMT -5. The time now is 08:27 AM. |