On 2009-08-16, David Francisco Rodriguez Perez
wrote:
> I use um_utilities to clean exit.
> When running I always put a name
> ./vmlinux umid=DR . . .
For the purpose of shutting down UMLs, I changed "ctrlaltdel" handling
in /etc/inittab (in the UML) to:
#v+
ca:12345:ctrlaltdel:/sbin/shutdown -
Thanks. Will try this.
David Francisco Rodriguez Perez wrote:
> Andy
>
> I use um_utilities to clean exit.
> When running I always put a name
> ./vmlinux umid=DR . . .
> 1. Then to stop I do a sync first.
> uml_mconsole DR sysrq s
> 2. Then I stopped using
> uml_mconsole DR halt, or kill -2 . Thi
Andy
I use um_utilities to clean exit.
When running I always put a name
./vmlinux umid=DR . . .
1. Then to stop I do a sync first.
uml_mconsole DR sysrq s
2. Then I stopped using
uml_mconsole DR halt, or kill -2 . This pid is the parent process of
the VM and it is located on $(home)/.uml/DR/pid.
Is there a way to shut down uml cleanly if you can't do it by halting it
from a terminal inside uml? I've had to do this a couple of times (with
a standard TERM signal), and both times it's trashed the (ext3)
filesystem it was using.
cheers,
andy
--