[oe] /linuxrc link to /bin/busybox causes booting to fail, (sysvinit should be used instead)

Denys Dmytriyenko denis at denix.org
Tue Apr 7 17:24:44 UTC 2009


On Tue, Apr 07, 2009 at 10:37:19AM -0400, David Huggins-Daines wrote:
>>
>> On 03-04-09 22:44, David Huggins-Daines wrote:
>>> > Hi,
>>> >
>>> > When booting base-image or minimal-image from a ramdisk, I get errors
>>> > like the following:
>>
>> Do you have 
>> http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&id=5261978d6f9600640c1ea4f1393e18772d4f9657 
>> in your OE tree?
>>   
> I do, I think, but actually I discovered the reason for this.  It's a 
> subtlety of the Linux boot process which I didn't previously understand.  
> Basically the kernel will use /linuxrc as init if and only if the root 
> filesystem on the command line is different from the root partition.  So if 
> you are using a ramdisk root (and not an initrd), you need to put 
> root=/dev/ram0 on the kernel command line.

As I told you before - your bootargs is to blame. Sorry I was not very 
specific, but I've seen it fail the same exact way when there was a spelling 
problem in root= option or it was missing entirely...

-- 
Denys




More information about the Openembedded-devel mailing list