From
http://forums.gentoo.org/viewtopic-t-234393.html
Here are the comments (date: 02/15/05) to this script in (my bad) english:
I will update this if the orginal comments will changed
-----
$USER is the user who running the uml (i want start it as root)
$NICE can use if you want
$REMOTE_IP is not use in the script, is for information only and should set in the uml
$CONSOLE is set to "null", i want see the boot, i can later access the uml with the following command
Code: Select all
screen `sudo -H -u $USER /usr/bin/uml_mconsole $UMID config con1 | cut -d ":" -f 2`
All $MAC must begin with "fe:fd" to set it up (my experience)
To stop the uml is use the "cad" command from uml_mconsole. To use this you must edit the /etc/inittab inside the uml
replace: ca

ctrlaltdel:/sbin/shutdown -r now
with: ca

ctrlaltdel:/sbin/halt
The script dont work if your /tmp is mountet with noexec. I dont know why.
-----