On Mon, Oct 6, 2008 at 6:15 PM, Flavio <fbcyborg@gmail.com> wrote:
2008/10/6 Bhavesh Kamani <kamanibhavesh@gmail.com>:
> Hi Flavio,
>
> I am doing "linux mem=128M" to start UML.
> I tried "linux mem=128M devfs=mount" also, but that is also giving same
> error.
>
> Thanks,
> Bhavesh.
>
>

You should try to do something like this:
linux ubd0=rootfs.debian ubd1=swapfs.debian
eth0=tuntap,,,host_ip_address mem=512M
If you don't specify any root_fs to the user mode linux kernel, it
won't be able to find a root filesystem to use.
Mounting the root filesystem to a loop dir is not necessary to start uml.
You may find further information at www.vdd-project.org under the User
Mode Linux Section.

Best Regards,

Flavio


Hi Flavio,

Thanks for you suggestions.

Only thing was missing was /dev/console. I created it using mknod(used major and minor similar to my working debian). Now I am able to login in my UML. If you don't specify rootfs then it will find root_fs in the current directory.

Thanks,
Bhavesh.