Difference between shutdown options [duplicate]Why doesn't running “sudo shutdown now” shut down?Ubuntu hangs on shutdownUbuntu 12.04 doesn't turn off (halt) under ESXi 5.0U1Ubuntu 12.10 wireless shutdown issueSystem will not power down on shutdowngui shutdown on acer aspire v5-573G not workingTrap the shutdown event of ubuntu systemShutdown LubuntuStandby and Shutdown Hang on Macbook Pro 11,4Ubuntu 16.04 hangs on shutdown/restartno shutdown, kubuntu 16.04.2
Can someone publish a story that happened to you?
How to fry ground beef so it is well-browned
Can I criticise the more senior developers around me for not writing clean code?
How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?
What is meant by "Prämie" in this letter? Do I have to pay it or it is just a reminder?
Is there any official lore on the Far Realm?
How did Captain America manage to do this?
"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?
Can SQL Server create collisions in system generated constraint names?
Thesis on avalanche prediction using One Class SVM
Negative Resistance
How to not starve gigantic beasts
How can the Githyanki Commander Supreme move while insubstantial?
Your bread will be buttered on both sides
Why did some of my point & shoot film photos come back with one third light white or orange?
How can I practically buy stocks?
Why do games have consumables?
What makes accurate emulation of old systems a difficult task?
Determine the application client is using to connect
Is there really no use for MD5 anymore?
Who was the lone kid in the line of people at the lake at the end of Avengers: Endgame?
Rivers without rain
How does Nebula have access to these memories?
How exactly does Hawking radiation decrease the mass of black holes?
Difference between shutdown options [duplicate]
Why doesn't running “sudo shutdown now” shut down?Ubuntu hangs on shutdownUbuntu 12.04 doesn't turn off (halt) under ESXi 5.0U1Ubuntu 12.10 wireless shutdown issueSystem will not power down on shutdowngui shutdown on acer aspire v5-573G not workingTrap the shutdown event of ubuntu systemShutdown LubuntuStandby and Shutdown Hang on Macbook Pro 11,4Ubuntu 16.04 hangs on shutdown/restartno shutdown, kubuntu 16.04.2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
This question already has an answer here:
Why doesn't running “sudo shutdown now” shut down?
4 answers
I'd like to know what the difference is between shutdown -H
(halt the machine) and shutdown -P
(poweroff the machine).
I understand what poweroff means; it's rather self-explanatory. But what exactly is "halt"?
Background:
I need to turn off my PC with a terminal-command because otherwise the shutdown/reboot hangs.
I found the command shutdown -H -P +0
here.
It seems to be combination of the two options and it really works fine.
P.S. I have Lubuntu 18.04.2, 64 bit
shutdown
marked as duplicate by heemayl, karel, Fabby, Eric Carvalho, N0rbert Mar 23 at 19:26
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Why doesn't running “sudo shutdown now” shut down?
4 answers
I'd like to know what the difference is between shutdown -H
(halt the machine) and shutdown -P
(poweroff the machine).
I understand what poweroff means; it's rather self-explanatory. But what exactly is "halt"?
Background:
I need to turn off my PC with a terminal-command because otherwise the shutdown/reboot hangs.
I found the command shutdown -H -P +0
here.
It seems to be combination of the two options and it really works fine.
P.S. I have Lubuntu 18.04.2, 64 bit
shutdown
marked as duplicate by heemayl, karel, Fabby, Eric Carvalho, N0rbert Mar 23 at 19:26
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
Mar 20 at 13:34
1
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
Mar 20 at 15:39
1
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
Mar 20 at 19:54
add a comment |
This question already has an answer here:
Why doesn't running “sudo shutdown now” shut down?
4 answers
I'd like to know what the difference is between shutdown -H
(halt the machine) and shutdown -P
(poweroff the machine).
I understand what poweroff means; it's rather self-explanatory. But what exactly is "halt"?
Background:
I need to turn off my PC with a terminal-command because otherwise the shutdown/reboot hangs.
I found the command shutdown -H -P +0
here.
It seems to be combination of the two options and it really works fine.
P.S. I have Lubuntu 18.04.2, 64 bit
shutdown
This question already has an answer here:
Why doesn't running “sudo shutdown now” shut down?
4 answers
I'd like to know what the difference is between shutdown -H
(halt the machine) and shutdown -P
(poweroff the machine).
I understand what poweroff means; it's rather self-explanatory. But what exactly is "halt"?
Background:
I need to turn off my PC with a terminal-command because otherwise the shutdown/reboot hangs.
I found the command shutdown -H -P +0
here.
It seems to be combination of the two options and it really works fine.
P.S. I have Lubuntu 18.04.2, 64 bit
This question already has an answer here:
Why doesn't running “sudo shutdown now” shut down?
4 answers
shutdown
shutdown
edited Mar 20 at 15:15
wjandrea
9,58642765
9,58642765
asked Mar 20 at 12:58
RosikaRosika
18711
18711
marked as duplicate by heemayl, karel, Fabby, Eric Carvalho, N0rbert Mar 23 at 19:26
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by heemayl, karel, Fabby, Eric Carvalho, N0rbert Mar 23 at 19:26
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
Mar 20 at 13:34
1
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
Mar 20 at 15:39
1
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
Mar 20 at 19:54
add a comment |
1
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
Mar 20 at 13:34
1
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
Mar 20 at 15:39
1
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
Mar 20 at 19:54
1
1
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
Mar 20 at 13:34
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
Mar 20 at 13:34
1
1
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
Mar 20 at 15:39
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
Mar 20 at 15:39
1
1
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
Mar 20 at 19:54
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
Mar 20 at 19:54
add a comment |
2 Answers
2
active
oldest
votes
Make it easy and use the command
poweroff
It works with my Lubuntu 18.04 LTS.
halt
means flush buffers, unmount drives, close all processes in a graceful way. But not power off (though some systems may power off anyway). So the hardware is still provided with power.
After halt
a hard power off (pressing the power button or unplugging the power supply) will not damage the system, because it is already halted in a graceful way.
This is a great answer. Explained clearly and unambiguously.
– Clonkex
Mar 20 at 22:09
add a comment |
From the man page of shutdown
:
-H
Requests that the system be either halted or powered off after it has been brought down, with the choice as to which left up to the system
Halted here means it is going to wait for a user action. That can be pressing the power down button and holding it to stop the machine. But also pressing a key that would restart the machine. That can be useful if you want to enter BIOS of the machine.
-P
Requests that the system be powered off after it has been brought down.
+0
it the time it has to wait in minutes
So... -P
can, depending on the system, already be part of the -H
option. You need the -P
if the -H
does not power down by itself. What actually happens is part of ACPI and the implementation of it can be buggy so for some it works for others not so ... The general idea when giving a solution is to try to cover all the bases and that would be to use both: -H
and -P
.
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
Mar 20 at 16:22
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Make it easy and use the command
poweroff
It works with my Lubuntu 18.04 LTS.
halt
means flush buffers, unmount drives, close all processes in a graceful way. But not power off (though some systems may power off anyway). So the hardware is still provided with power.
After halt
a hard power off (pressing the power button or unplugging the power supply) will not damage the system, because it is already halted in a graceful way.
This is a great answer. Explained clearly and unambiguously.
– Clonkex
Mar 20 at 22:09
add a comment |
Make it easy and use the command
poweroff
It works with my Lubuntu 18.04 LTS.
halt
means flush buffers, unmount drives, close all processes in a graceful way. But not power off (though some systems may power off anyway). So the hardware is still provided with power.
After halt
a hard power off (pressing the power button or unplugging the power supply) will not damage the system, because it is already halted in a graceful way.
This is a great answer. Explained clearly and unambiguously.
– Clonkex
Mar 20 at 22:09
add a comment |
Make it easy and use the command
poweroff
It works with my Lubuntu 18.04 LTS.
halt
means flush buffers, unmount drives, close all processes in a graceful way. But not power off (though some systems may power off anyway). So the hardware is still provided with power.
After halt
a hard power off (pressing the power button or unplugging the power supply) will not damage the system, because it is already halted in a graceful way.
Make it easy and use the command
poweroff
It works with my Lubuntu 18.04 LTS.
halt
means flush buffers, unmount drives, close all processes in a graceful way. But not power off (though some systems may power off anyway). So the hardware is still provided with power.
After halt
a hard power off (pressing the power button or unplugging the power supply) will not damage the system, because it is already halted in a graceful way.
answered Mar 20 at 14:26
sudodussudodus
25.8k33179
25.8k33179
This is a great answer. Explained clearly and unambiguously.
– Clonkex
Mar 20 at 22:09
add a comment |
This is a great answer. Explained clearly and unambiguously.
– Clonkex
Mar 20 at 22:09
This is a great answer. Explained clearly and unambiguously.
– Clonkex
Mar 20 at 22:09
This is a great answer. Explained clearly and unambiguously.
– Clonkex
Mar 20 at 22:09
add a comment |
From the man page of shutdown
:
-H
Requests that the system be either halted or powered off after it has been brought down, with the choice as to which left up to the system
Halted here means it is going to wait for a user action. That can be pressing the power down button and holding it to stop the machine. But also pressing a key that would restart the machine. That can be useful if you want to enter BIOS of the machine.
-P
Requests that the system be powered off after it has been brought down.
+0
it the time it has to wait in minutes
So... -P
can, depending on the system, already be part of the -H
option. You need the -P
if the -H
does not power down by itself. What actually happens is part of ACPI and the implementation of it can be buggy so for some it works for others not so ... The general idea when giving a solution is to try to cover all the bases and that would be to use both: -H
and -P
.
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
Mar 20 at 16:22
add a comment |
From the man page of shutdown
:
-H
Requests that the system be either halted or powered off after it has been brought down, with the choice as to which left up to the system
Halted here means it is going to wait for a user action. That can be pressing the power down button and holding it to stop the machine. But also pressing a key that would restart the machine. That can be useful if you want to enter BIOS of the machine.
-P
Requests that the system be powered off after it has been brought down.
+0
it the time it has to wait in minutes
So... -P
can, depending on the system, already be part of the -H
option. You need the -P
if the -H
does not power down by itself. What actually happens is part of ACPI and the implementation of it can be buggy so for some it works for others not so ... The general idea when giving a solution is to try to cover all the bases and that would be to use both: -H
and -P
.
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
Mar 20 at 16:22
add a comment |
From the man page of shutdown
:
-H
Requests that the system be either halted or powered off after it has been brought down, with the choice as to which left up to the system
Halted here means it is going to wait for a user action. That can be pressing the power down button and holding it to stop the machine. But also pressing a key that would restart the machine. That can be useful if you want to enter BIOS of the machine.
-P
Requests that the system be powered off after it has been brought down.
+0
it the time it has to wait in minutes
So... -P
can, depending on the system, already be part of the -H
option. You need the -P
if the -H
does not power down by itself. What actually happens is part of ACPI and the implementation of it can be buggy so for some it works for others not so ... The general idea when giving a solution is to try to cover all the bases and that would be to use both: -H
and -P
.
From the man page of shutdown
:
-H
Requests that the system be either halted or powered off after it has been brought down, with the choice as to which left up to the system
Halted here means it is going to wait for a user action. That can be pressing the power down button and holding it to stop the machine. But also pressing a key that would restart the machine. That can be useful if you want to enter BIOS of the machine.
-P
Requests that the system be powered off after it has been brought down.
+0
it the time it has to wait in minutes
So... -P
can, depending on the system, already be part of the -H
option. You need the -P
if the -H
does not power down by itself. What actually happens is part of ACPI and the implementation of it can be buggy so for some it works for others not so ... The general idea when giving a solution is to try to cover all the bases and that would be to use both: -H
and -P
.
edited Mar 20 at 21:00
N0rbert
26k956122
26k956122
answered Mar 20 at 13:23
RinzwindRinzwind
211k28406541
211k28406541
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
Mar 20 at 16:22
add a comment |
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
Mar 20 at 16:22
8
8
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
Mar 20 at 16:22
Recall that older computers (without ACPI) couldn't turn themselves off. Witness Windows 95's "It is now safe to turn off your computer" screen.
– Roger Lipscombe
Mar 20 at 16:22
add a comment |
1
Why not try and find the source of the shutdown/reboot problem? When it hangs, try hitting the ESC key and see if it brings up a text log of the shutdown/reboot process. Look at any FAIL entries, or the last few entries, for a clue.
– heynnema
Mar 20 at 13:34
1
@ heynnema: It´s a bit difficult. Some other people experience the same problem. Shutdown/reboot hangs at a certain point: "kvm: exiting hardware virtualization". See also: unix.stackexchange.com/questions/188747/… . The easiest way turns out to be "poweroff".
– Rosika
Mar 20 at 15:39
1
@sudodus Thanks for posting an answer. You should probably delete your comment now.
– wizzwizz4
Mar 20 at 19:54