How to mount rootfs though harddisk when booting?

Kumar Gala galak at kernel.crashing.org
Fri Oct 23 01:22:42 EST 2009


On Oct 22, 2009, at 9:08 AM, wilbur.chan wrote:

> mpc85xx with sata harddisk,which has a rootfs on sda3.
>
> I ' ve tried to use  freescale's kernel image , which is  togehther
> with the mpc85xx board, to successfully mount the sda3 filesystem when
> booting,
>
>
> But when I used my own kernle, it failed:
>
>
>
> I am using  kernel 2.6.21.7 to mount the harddisk as the rootfs.
>
> However, it failed in booting and print:
>
>
> VFS: Cannot open root device "sda3" or unknown-block(0,0)
>
> My kernel's bootargs are as followed:
>
>
> root=/dev/sda3 rw console=ttyS0,115200 console=tty0
>
>
> I guess there were some incorrect configs when doing kernel
> menuconfig,  I' ve set "ext2,ext3", and some "sata" ,"scsi" configs,
>
> but that might be  not enough.
>
>
> May anyone please give me some  suggestions?
>
> THX in advance.
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

Post the full kernel boot log.

- k


More information about the Linuxppc-dev mailing list