From: William mcEwan <mcewanw@cp...> - 2003-03-28 04:15:58
> The result is that the command line is longer than 255 characters and
> uml won't boot unless I shorten it.
I found the problem. It wasn't that the line was too long. It was the
number of environment variables I was trying to pass on the command
line. Sorry I missed the following extract from the UML Problems FAQ
page (http://user-mode-linux.sourceforge.net/faq.html). Details below.
"I have no root and I want to scream
Thanks to Birgit Wahlich for telling me about this strange one. It turns
out that there's a limit of six environment variables on the kernel
command line. When that limit is reached or exceeded, argument
processing stops, which means that the 'root=' argument that UML usually
adds is not seen. So, the filesystem has no idea what the root device
is, so it panics.
The fix is to put less stuff on the command line. Glomming all your
setup variables into one is probably the best way to go."
>> Works for me (TM):
usermode:~# cat /proc/cmdline
ssl=pty con0=fd:0,fd:1 umid=debian mem=128M
usermode:~# cat /proc/cmdline | wc -c
School of Computing
Faculty of Commerce
tel: 940 8244