Re: [uml-user] self-built root filesystem failed to boot

2013-08-06 Thread Han
thanks Steliosm. I tried with "init=/bin/bash" but still same error. It seems that not anything wrong with "init" process itself, but some error happened before that. I just tried to build the rootfs without "--variant=buildd". And this time it worked. Not sure what changed. Will play around

Re: [uml-user] self-built root filesystem failed to boot

2013-08-06 Thread Michael Richardson
Han wrote: > I've built a root filesystem based off Debian Squeeze because I wanted to > include all built (e.g. gcc) tools in.  However,  i was not able to boot the > UML with this rootfs due to this error: > > Kernel panic - not syncing: No init found.  Try passing init=

Re: [uml-user] self-built root filesystem failed to boot

2013-08-06 Thread Stelios M.
Hello. You could try to loop mount the root fs and check if there is an init there. You could also boot it with bash as init (init=/bin/bash) and check things. Regards, Steliosm On Aug 6, 2013 9:30 PM, "Han" wrote: > Hi, > > I've built a root filesystem based off Debian Squeeze because I wanted

[uml-user] self-built root filesystem failed to boot

2013-08-06 Thread Han
Hi, I've built a root filesystem based off Debian Squeeze because I wanted to include all built (e.g. gcc) tools in. However, i was not able to boot the UML with this rootfs due to this error: Kernel panic - not syncing: No init found. Try passing init= option to kernel. here is how I ran t