Ubuntu

Halt entry doesn't shutdown pc

Reported by Linard Verstraete on 2008-04-22
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
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

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
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
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[...]".

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers