Halt entry doesn't shutdown pc

Bug #220543 reported by Linard Verstraete
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: grub

I added:

title Shut down
halt

to "/boot/grub/menu.lst".

*** Expected behavior ***
When using it in GRUB my pc would shutdown.

*** Happend behavior ***
The screen just turn black with a blinking command line mousepointer

*** System ***
Dell Vostro 1500
Xubuntu Hardy

Tags: hardy xubuntu
Revision history for this message
Charlie Kravetz (charlie-tca) wrote :

The behavior you describe is the expected when using the halt command. It shuts down all software, but does not shutdown the computer hardware itself. Perhaps instead of "halt" you could use "shutdown -P now". Please see the "man shutdown" for details.

Thank you for making ubuntu better. Feel free to submit any future bugs you may find.

Changed in grub:
status: New → Invalid
Revision history for this message
SeySayux (seysayux) wrote :

@Charlie: he describes grub, not the shutdown command.

PS. Can anyone tell me why launchpad mailed me for this? I can't remember I subscribed to this bug.

Most likely, this has something to to with APCI.

Changed in grub:
status: Invalid → New
Revision history for this message
Linard Verstraete (linardv) wrote :

@Charlie Kravetz:
From the "GNU GRUB Manual 0.97": (http://www.gnu.org/software/grub/manual/grub.html#halt)
[quote]
Command: halt --no-apm
  The command halts the computer. If the --no-apm option is specified, no APM BIOS call is performed. Otherwise, the computer is shut down using APM.
[/quote]
It clearly states "[...]computer is shut down[...]".

Revision history for this message
Charlie Kravetz (charlie-tca) wrote :

Sorry for the misunderstanding. Now that I do understand, I'm confirming this bug.

To reproduce:
1. edit /boot/grub/menu.lst
    Add after last entry -
    title Shut down
    halt

2. save the file
3. restart the system
4. choose Shut down from the boot menu
5. Observe the flashing "-" cursor; also note that the system has not shutdown, since a ctrl+alt+del will restart the system
6. Further, if you choose "c" for command line at the boot menu, hit TAB for commands, you will see "halt" as one of the commands. Type "halt" and hit enter.
    The system now has no cursor, but has not shutdown. The keyboard is mostly inactive and the screen will not change. However, again the ctrl+alt+del will restart the system.

Expected behavior for both of these cases is that the system should perform a system shutdown. It should not simply halt keyboard input.

Thanks for your assistance in improving Ubuntu.

Changed in grub:
status: New → Confirmed
Revision history for this message
Luigi R. (xluigi84) wrote :

This bug is still there. I have installed Ubuntu 14.04 and 16.04 on a Packard Bell v7956 and due to an incompatibility issue I cannot shutdown properly the machine. I have tried really everthing including acpi=force. Sometime it works other it doesn't. I was looking for a workaroud but if I type grub>halt the monitor does not turn off. Any suggestions?

madbiologist (me-again)
tags: added: hardy xubuntu
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.