Re: [uml-user] shutting down uml

2009-08-16 Thread hondza
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 -

Re: [uml-user] shutting down uml

2009-08-16 Thread andy baxter
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

Re: [uml-user] shutting down uml

2009-08-16 Thread David Francisco Rodriguez Perez
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.

[uml-user] shutting down uml

2009-08-16 Thread andy baxter
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 --

[uml-user] ethertap problem

2009-08-16 Thread andy baxter
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

Re: [uml-user] monitoring a uml virtual system

2009-08-16 Thread andy baxter
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

Re: [uml-user] monitoring a uml virtual system

2009-08-16 Thread andy baxter
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

Re: [uml-user] monitoring a uml virtual system

2009-08-16 Thread andy baxter
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