Use any of the /etc/rc.local scripts or create a new one. Add the following three lines:
#/bin/bash
sudo gru
halt
Here's an explanation: I use my GRUB to halt the system in its shell. That;s what everyone said. They reboot to power their systems off. What if we could enter the GRUB shell and do this by itself?
I haven't tried this y self so don't make me responsible for any damage to unmounted file systems. That can cause loss of data.
Praveen: Can you please explain which BIOS you have?
Everyone: Are you dual bootng with Windows? Probably. I face the problem when dual oot with a Windows or DOS. Try installing it on a clean, small, IDE hard drive and boot from it.
I think the answer should be plain:
Use any of the /etc/rc.local scripts or create a new one. Add the following three lines:
#/bin/bash
sudo gru
halt
Here's an explanation: I use my GRUB to halt the system in its shell. That;s what everyone said. They reboot to power their systems off. What if we could enter the GRUB shell and do this by itself?
I haven't tried this y self so don't make me responsible for any damage to unmounted file systems. That can cause loss of data.
Praveen: Can you please explain which BIOS you have?
Everyone: Are you dual bootng with Windows? Probably. I face the problem when dual oot with a Windows or DOS. Try installing it on a clean, small, IDE hard drive and boot from it.