/linuxrc link to /bin/busybox causes booting to fail, (sysvinit should be used instead)
A message that is not in the archive (sent off-list or not yet received): mailman.55349.1238837263.4692.openembedded-devel@lists.openembedded.org
Quoted 10 lines · David Huggins-Daines
Quoted 5 lines
Quoted 4 lines
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.
Quoted 11 lines · David Huggins-Daines
Quoted 11 lines · David Huggins-Daines
Quoted 4 lines
Quoted 4 lines
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?
Quoted 6 lines
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...
Signature · 1 line
Denys