Re: Kernel for only power-off purpose.

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

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux