SliTaz SliTaz Forum archive

This forum is now a read-only archive

The SliTaz community has moved to Maille, a forum made for SliTaz.

We looked hard for a replacement for this aging forum, including a move from bbPress to FluxBB last June. But spam bots now get through sign-up even with mail confirmation, and these forum engines are barely maintained anymore. So we wrote a forum in the SliTaz spirit: small, fast, no JavaScript, works on old machines and in text browsers. Everything here stays readable.

Go to Maille

You are not logged in.

#1 2012-05-09 20:41:49

polybius
Member
Registered: 2012-05-09
Posts: 4

VirtualBox VM will not power off with 'halt' or 'poweroff'

The VM will reboot properly with 'reboot' but does not power down with the 'halt' or 'poweroff' commands. From within X, the shutdown command from the menu does power off properly. I'm running this in VirtualBox in headless mode so if I power down, it doesn't actually turn off (still shows as running) and I can't shut it down without killing the vboxheadless process, of which there are multiple for multiple VMs but they are unlabled. Last time I shutdown another VM sad

The question I have is what is the command the gui shutdown command uses?

Offline

#2 2012-05-09 21:37:43

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: VirtualBox VM will not power off with 'halt' or 'poweroff'

poweroff

Line 316 => http://hg.slitaz.org/slitaz-tools/file/de228dee5090/tazbox/tazbox#l316

Offline

#3 2012-05-09 21:50:18

polybius
Member
Registered: 2012-05-09
Posts: 4

Re: VirtualBox VM will not power off with 'halt' or 'poweroff'

Thanks for the quick reply!

Poweroff does the same as halt in this case. I've had it work once while in console but it's not consistent. What is the syntax of that line? Or does it just run 'poweroff'?

Offline

#4 2012-05-09 22:25:43

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: VirtualBox VM will not power off with 'halt' or 'poweroff'

Just [c]poweroff[/c]

Try this:

[c]poweroff -f[/c]

or

[c]poweroff || poweroff -f[/c]

Usage: poweroff [-d DELAY] [-n] [-f]

Halt and shut off power

Options:

    -d SEC    Delay interval

    -n    Do not sync

    -f    Force (don't go through init)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]