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

Re: Cannot open root device "hda1" or unknown-block(0,0)



On 24 Aug., 04:00, "Francois Duranleau" <xiao.bai.xi...@gmail.com>
wrote:
> Hi!
>
> Trying to upgrade to kernel 2.6 (actually, 2.6.18) from 2.4.27, when I
> boot my system with 2.6, I get the following error:
>
> VFS: Cannot open root device "hda1" or unknown-block(0,0)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
>
> and then it's stalled, of course. I have no such error with 2.4.27.
>
> I posted the content of my /boot/grub/menu.lst file here:http://www-etud.iro.umontreal.ca/~duranlef/linux-config/
> Everything seems ok to me.
>
> Anybody has any hints?
>
> --
> Francois

Hi

I took a look at your config and menu.lst
So whats missing seems to be an initrd image which holds all the
modules your kernel needs. Your config uses some of em. You should
build the initrd
  mkinitramfs -o /boot/initrd.img-2.6.18 2.6.18
and
  update-grub



Reply to: