|
From: Michael R. <mc...@sa...> - 2013-08-06 21:16:26
|
Han <kee...@gm...> 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:
> <snip>
> Kernel panic - not syncing: No init found. Try passing init= option to kernel.
> </snip>
> here is how I ran the UML:
> ./linux ubda=/nobackup/hxu2/uml/debian-root-fs mem=128M
Did you include ext3 or whatever file system you built the image with?
What if you say, "root=/dev/ubda"? While you can sometimes get away without
initramfs now, it's getting harder and harder.
I have broken off most of the Freeswan/Openswan UML build environment off
as a separate project at:
https://github.com/mcr/uml-network-testing-infrastructure
This likely doesn't work with kernels newer than 2.6.26, but I do have fixes
in other trees for that, I just haven't moved things over. If it is useful
to someone, I will spend the time.
--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | network architect [
] mc...@sa... http://www.sandelman.ca/ | ruby on rails [
|