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

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



On Thu, Aug 23, 2007 at 09:49:52PM -0400, Francois Duranleau wrote:
> 
> 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.

Tell us about the hardware:  

Is the disk really a PATA or is it SATA?  2.4 kernels will see them as
/dev/hd* whereas 2.6 kernels will see them as /dev/sd*

Also, for /dev/sd*, it is possible for renaming to occur.  You can get
around this by adding a filesystem lable (e.g. root or boot) to the
filesystems and pass that as a root= option.

Doug.



Reply to: