[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: kernel-panic - not syncing:VFS: Unable to mount root fs onunknown -block (0.0)



Thanks for the mail!

 

/usr/src/kernel folder is fine and it got all related folders.

 

Followed the following steps:

1)       Burned 4 Image disks and 4 source disks

2)       Using image disks upgraded to RHEL4 Update3 from RHEL4 base

3)       Copied “kernel-2.6.9-34.EL.src.rpm” from “source disk4”

4)       rpmbuild –-rebuild –target i686  kernel-2.6.9-34.EL.src.rpm

5)       Copied the kernel source “linux-2.6.9.tar.bz2” from “/usr/src/redhar/SOURCES/” to “/usr/src/redhat/BUILD/kernel/”

6)       Extracted linux-2.6.9.tar.bz2 (this is created as a result of Step 4)

7)       make menuconfig (enabled application related options along with the existing ones)

8)    make clean

9)    make bzImage

10)make modules

11)make modules_install

12)   make install

 

Checked the following things:

1)       “vmlinuz” and “initrdXX.img” got created successfully under ”/boot”

2)       Image is visible in “/etc/grub.conf”

 

Please suggest if I have to follow any more steps to get rid of this problem.

 

Thanks & Regards,
Sailaja

 


From: nahant-list-bounces redhat com [mailto:nahant-list-bounces redhat com] On Behalf Of Waleed Harbi
Sent: Saturday, April 08, 2006 12:35 PM
To: Red Hat Enterprise Linux 4 (Nahant) Discussion List
Subject: Re: kernel-panic - not syncing:VFS: Unable to mount root fs onunknown -block (0.0)

 

Did you check kernel folder under /usr/src?
i think you miss some steps.
In these links you will find how to Building the Kernel

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-custom-kernel-modularized.html
http://redhat.activeventure.com/72/customizationguide/custom-kernel.html
http://kerneltrap.org/node/2465
http://www.tu-berlin.de/zrz/information/paper/linux/RH-4.0-Manual-HTML/node54.html


On 4/7/06, Arjan van de Ven <arjan infradead org> wrote:

On Fri, 2006-04-07 at 20:31 +0530, sailaja reddy wipro com wrote:
> Hi All,
>
>
>
> We have updated the RHEL4 WS base version (Kernel: 2.4.9-5.EL) to
> RHEL4 Update3 version (downloaded
> from:https://rhn.redhat.com/network/software/channels/downloads.pxt?cid=2869)
>
>
>
> We installed the kernel src rpm (kernel-2.6.9-34.EL.src.rpm) and
> recompiled the kernel. When tried to boot from latest kernel, we
> observed following message:
>
>
>
> "kernel-panic - not syncing:VFS: Unable to mount root fs on unknown
> -block (0.0)"

you probably didn't make an initrd or forgot to compile in a key
component you need...

"make install" in the kernel source tree is a good way to make sure
there is a valid initrd...

--
nahant-list mailing list
nahant-list redhat com
https://www.redhat.com/mailman/listinfo/nahant-list




--
-------------------------------
Best regards.
Waleed Harbi.
Saudi Arabia.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]