Re: [uml-user] Kernel panic - not syncing: No init found using initramfs

2016-05-22 Thread Jotus Kuo
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 a

Re: [uml-user] Kernel panic - not syncing: No init found using initramfs

2016-05-22 Thread Vegard Nossum
On 16 May 2016 at 10:05, kail-gj 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//busybox/busybox 755 0 0 /init /bin/sh in > rootfs text file. > But it doe

[uml-user] Kernel panic - not syncing: No init found using initramfs

2016-05-16 Thread kail-gj
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//busybox/busybox 755 0 0 /init /bin/sh in rootfs text file. But it does not work and output "kernel panic - not syncing