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
--
hi again,
I now have UML running OK, but I'm having trouble setting up networking.
I'm using the ethertap method, but when I run ifconfig inside UML, UML
crashes on the host with an error:
host command line:
a...@whale:~$ linux.uml mem=128M ubd0=/dev/sda5 eth0=ethertap,tap0,,10.0.0.5
command i
Sorry my stupid mistake - I was running uml as a user who didn't have
privileges on /dev/sda5. It works fine if I run as root.
andy
andy baxter wrote:
> I've had a go at getting UML running off a partition on the host system.
> What I've done is:
>
> - prepare it as an ext3 filesystem.
> - mount
P.S. I've tried again with ubd0=/dev/sda5 (spelling mistake before).
It's still not working - I've attached the full error log.
andy
andy baxter wrote:
I've had a go at getting UML running off a partition on the host system.
What I've done is:
- prepare it as an ext3 filesystem.
- mount it an
I've had a go at getting UML running off a partition on the host system.
What I've done is:
- prepare it as an ext3 filesystem.
- mount it and debootstrap a debian base system into it.
- checked it works when you chroot to it.
- install the user-mode-linux debian package.
- run:
$ linux.uml mem=1