Re: Re: Kernel panic after compiling

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

 



 


On Fri, 23 Sep 2005 Manu Anand wrote :
>On 9/23/05, Jason R. Martin <nsxfreddy@xxxxxxxxx> wrote:
> >
> > On 9/22/05, Libin Varghese <libinv@xxxxxxxxx> wrote:
> > > Hi,
> > > After compiling the 2.6.0 kernel, copied the image to /boot and
> > > renamed it to vmlinuz-2.6.0. I add the kernel image in the grub
> > > configuration file (grub.conf) as follows
> > >
> > > <grub.conf>
> > > title Linux 2.6.0
> > > root (hd0, 8)
> > > kernel /vmlinuz-2.6.0 ro root=LABEL=/ rhgb
> > > </grub.conf>
>
>
>
>
>I am facing the same issue.
>I think the reason is that my partition table is screwed up.
>Try 'fdisk -l' and see if it complains...
>
>Manu
>
> >
> > > But when I boot, I get the following error
> > > <boot-up>
> > > VFS: cannot open root device "LABEL=/" or unknown-block (0,0)
> > > please append a correct "root=" boot option
> > > kernel panic: VFS: unable to mount root fs on unknown-block (0,0)
> > > </boot-up>
> >


To resolve this issue of yours , you guys should take care of the following few things:-

1. while you are configuring the kernel make sure that you keep ext2  and ext3 as built in the kernel and not as modules.

2. after doing a make modules_install you should do
    mkinitrd
3. now do a make install

i think this should solve ur problem.

PS: correct me if i have been unclear or wrong anywhere




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux