Aleksandar Kuktin wrote:
>> On Sun, 30 Jun 2013 16:24:47 +0800
>> Chen Qi <[email protected]> wrote:
>>
>> Thanks for your reply.
>>
>> I tried both approaches.
>> No matter I used the 'defconfig + devtmpfs' approach or I used the
>> 'host config file' approach, I always met the following error.
>> '''
>> VFS: Cannot open root device "sdb1" or unknown-block(0,0)
>
> Okay, now you are getting somewhere. This error appears, if it appears,
> after the kernel bootstrapped itself and is now trying to boot the
> userland.
>
> What the error MEANS is that the kernel can not find and use the
> filesystem for the root filesystem. Heres a checklist of the things
> that could prevent it from doing that, from memory:
> 1. It can not use the PCI bus to talk to the disk controler. Because
>     your kernel boots itself, you can rule this out.
> 2. The kernel can not talk to the USB controler. Check that you have
>     enabled the proper USB version (UHCI, OHCI.. et cetera).
> 3. The kernel has no concept of the USB storage device so it can not
>     conceive of it. Make sure you have "USB mass storage" enabled. IIRC,
>     you might also need a few other things related to mass storage.
> 4. The kernel does not know anything about partitions. There is a group
>     of options regarding partitioning. Turn on appropriate (unless you
>     have something special, that means "PC partition table").
> 5. The kernel can not read the filesystem. Make sure that the
>     filesystems you enabled in the kernel match whatever filesystem is
>     on the partition you want to mount. Does your USB drive use the
>     NTFS filesystem? Have you enabled the NTFS driver in the kernel?

I agree that we are making progress, but first lets see what you are 
passing on the kernel command line.  I know that you built on sdb, but 
the kernel may not think that way.

Try passing sda1 to the kernel instead of sdb1.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to