Re: Error while booting newly installed kernel

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

 



Hi
    my root partition is hda3 only . do i need to compile ext3 with built in support in this case also.  and i m not sure about initrd . i read this in a tutorial to remove the entry .

    "The reason you should remove the initrd field is because the initrd file does not contain anything that would be useful to your new kernel. In a normal Linux distribution, the initrd contains a lot of kernel modules which can only be loaded by the distribution kernel."

   but i m not sure about this. and i dont know how to create this file . i followed some steps from a tutotrial to create this file but could not succeed .

      do i need to compile ext3 as built in instead of module even if   my  root  paritition is hda3.  how do we generate the initrd.img file


   thanks in advance


regards

devendra



On 10/28/05, Fawad Lateef <fawadlateef@xxxxxxxxx> wrote:
On 10/28/05, Fawad Lateef <fawadlateef@xxxxxxxxx> wrote:
> On 10/28/05, Devendra Singh Mahra <devendra.sm@xxxxxxxxx> wrote:
> >
> >    i tried installing new kernel on my machine. but when i tried to boot in
> > that kernel ,  i get the following error ,
> >
> >       kernel panic - not syncing  VFS  - Unable to mount root fs in unknown
> > block (0,0)
> >
> >
>
> I think your file-system type for the root partition is EXT3 and you
> compiled your kernel with EXT3 as module, so kernel won't able to find
> ext3 hence unable to mount your root partition. For this just change
> EXT3 from module to built-in (M to Y) in kernel configuration file,
> recompile kernel and boot. I hope this will work ...
>
> >  following is  extract from my   /boot/grub/menu.lst
> >
> >  title           Ubuntu, kernel 2.6.13
> >  root            (hd0,2)
> >  kernel          /boot/vmlinuz-2.6.13 root=/dev/hda3 ro quiet splash
> >  savedefault
> >  boot
> >
> >  title           Ubuntu, kernel 2.6.10-5-386
> >  root            (hd0,2)
> >  kernel          /boot/vmlinuz-2.6.10-5-386 root=/dev/hda3 ro quiet spla
> >  sh
> >  initrd          /boot/initrd.img-2.6.10-5-386
> >  savedefault
> >  boot
> >
> >
> >  is there a problem with the entry or anything else .    Can anyone please
> > help
> >
>
> If you root partition is hda3 then its ok !
>

And yes, there is a prob in your grub file, compare your first entry
with the 2nd one and you will find that you are not mentioning initrd
in your first entry ! This can be a prob too ...

--
Fawad Lateef


[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