Hi Vegard,
    Thanks for your reply. 
    I got the same result when I used ./linux init=/bin/sh command line to boot 
uml.
    Finally, I mount my root_fs to /mnt and ldd init. The ldd told me some lib 
is miss and some lib is 32-bit for my 64-bit init.
    Now, I can boot my UML. 


    Thanks all the same.
Jotus



At 2016-05-23 00:17:38, "Vegard Nossum" <vegard.nos...@gmail.com> wrote:
>On 16 May 2016 at 10:05, kail-gj <an_gj_...@126.com> wrote:
>> Hi,
>>     I build my uml from source with CONFIG_INITRAMFS_SOURCE configured with
>> a rootfs text file.  I specify the init file to  busybox as
>>     file /bin/busybox /home/xxxx/busybox/busybox 755 0 0 /init /bin/sh in
>> rootfs text file.
>>     But it does not work and output "kernel panic - not syncing: No init
>> found" error. The full boot log is followed.
>>     Please help me, thanks.
>> -------------------------------------------------
>> boot log:
>
>You still need to pass init= on the command line, no? This shows you
>didn't pass anything:
>
>> Kernel command line: root=98:0
>[...]
>> Kernel panic - not syncing: No init found.  Try passing init= option to
>> kernel.
>
>
>Vegard
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to