[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Kernel for only power-off purpose.



Hello.

Erik Mouw wrote:
> Grub is able to power off the machine itself using the "halt" command.
What a wonderful solution!

I'm using VMware to compile kernels for various distributions,
but I had trouble switching off the guest OSes.
Now, I can do it by

(1) set the guest OS's grub's default entry to

title Power Off
halt

(2) boot the guest OS and start

make-kpkg or rpmbuild; reboot

(3) suspend all guest OSes and run 

for i in ~/VMware/*/*.vmx; do vmware -x -q $i; done

to build kernels for all distributions sequentially.

Thank you very much.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ