Re: Error while booting newly installed kernel

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

 



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

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[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