Having to unplug PC from power source to restart or shutdown
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Having to unplug PC from power source to restart or shutdown
Since duel booting Win 10 and Linux Mint 18.1, I'm unable to restart OR shutdown Linux with out unplugging the PC from the power source. When I click restart or shutdown I get a log-on screen but am unable to enter a password because the keyboard is not working (which is why I have to unplug the PC).
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Quote:
Originally Posted by crgibson
Since duel booting Win 10 and Linux Mint 18.1, I'm unable to restart OR shutdown Linux with out unplugging the PC from the power source. When I click restart or shutdown I get a log-on screen but am unable to enter a password because the keyboard is not working (which is why I have to unplug the PC).
Thanks for any help.
.. not sure I've ever seen this type of behaviour in my several years of dual-booting Windows and linux. I HAVE seen difficulties in hibernating Windows on such configurations, depending on the boot loader used (notoriously, GRUB).
Could you provide more detail concerning your system hardware, BIOS settings and boot loader choice and config ?
Boot loader used - unknown (if I was asked I would have used default) BUT
I have the following choices when just starting the PC.
Linux Mint 18.1 Cinnamon 64 Bit
Advance Options
Memory Test (memtest+86+)
Memory Test (memtest+86+, serial console 115200)
windows 10 (loader) (on /dev/sdal)
Boot loader used - unknown (if I was asked I would have used default) BUT
I have the following choices when just starting the PC.
Linux Mint 18.1 Cinnamon 64 Bit
Advance Options
Memory Test (memtest+86+)
Memory Test (memtest+86+, serial console 115200)
windows 10 (loader) (on /dev/sdal)
Config - ?
Does any of this help?
Wut?
Are you sure you don't have some (a lot of) typos in there???
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Hi crgibson ... Thx for the info. Nothing unusual there except maybe all of the external storage. Can I assume that your systems (linux and Windows) are installed on the internal SSD drive ?
In re-reading your original post, I want to clarify my understanding:
1) When you try to restart or shut down Linux, it does not restart or shutdown at all but instead brings you straight to your display manager's (sddm) login screen ?
2) ... at the login screen, neither your keyboard nor your mouse are functional, so you need to "unplug" the computer to restart ?
3) Is this a desktop computer, so that when you unplug the power source, the computer immediately shuts down, or is it a laptop with a battery and for whatever reason, unplugging the AC adapter enables you to restart ?
4) ... or, instead of the situation described in 1), when you restart without unplugging the computer, does it actually reboot and THEN leave you at the situation decribed in 2) ?
5) ... lastly, does it make any difference if none of the external storage (USB drives) are attached ?
... Apologies for all the questions ... just trying to get a complete handle on your issue.
Rickkkk - thanks for the reply. In answer to your questions: Yes, linux and win 10 are installed on the internal SSD Drive.
1 - correct - Linux goes away and a black screen with the login shows.
2 - correct - both keyboard & mouse do not work, needing to uplug.
3 - This is a desktop PC.
4 - No. Situation 1 is what happens. No reboot before the login screen.
5 - I have tried 3 or 4 times unplugging the USB drives before clicking on the shutdown or restart button, and also unplugging the USB drives before starting in Linux and then trying to shutdown/restart have the same results as in situation 1.
Shadow 7 - I am so new to Linux that I have no idea how reboot to bootloader and 'c' command mode. Sorry, will need step by step to try this.
Nothing unusual there except maybe all of the external storage.
All of the external storage is weird, especially since Samsung doesn't even make an 18 TB external drive (neither does anybody else). Additionally, there is no such thing as DDRS ram. That motherboard used DDR2, but DDR2 doesn't run anywhere near 300 MHz, and the display resolution is also messed up. SSDs also didn't exist when this motherboard was made, so I'm a little surprised there aren't BIOS compatibility issues trying to boot off of one. Frankly I'm most surprised by the notion that Windows 10 can even run on 11 year old hardware.
suicidaleggroll - Where does Samsung come into the picture? And where do you get 18 TB. The DDRS are the ram sticks and they do run at 300 MHz. Also the motherboard is only less than 5 years old not 11 years old.
But all that aside, the problem still is there with the USB drives NOT connected to the PC.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
Quote:
Originally Posted by crgibson
Rickkkk - thanks for the reply. In answer to your questions: Yes, linux and win 10 are installed on the internal SSD Drive.
1 - correct - Linux goes away and a black screen with the login shows.
2 - correct - both keyboard & mouse do not work, needing to uplug.
3 - This is a desktop PC.
4 - No. Situation 1 is what happens. No reboot before the login screen.
5 - I have tried 3 or 4 times unplugging the USB drives before clicking on the shutdown or restart button, and also unplugging the USB drives before starting in Linux and then trying to shutdown/restart have the same results as in situation 1.
Shadow 7 - I am so new to Linux that I have no idea how reboot to bootloader and 'c' command mode. Sorry, will need step by step to try this.
Thanks for reply.
crgibson - thx for the answers.
... not obvious where to start with this one .. Another question: does the same thing happen when you're in Windows or does that shut down and restart normally ?
Also - to try Shadow_7's suggestion, next time you start up the computer, type c when the boot loader pops up and try the command (halt, I believe it was ..). Let us know how that goes as well ...
The default boot loader when you install linux is grub. It's the menu thing before linux loads up. If you press "c" on the keyboard before it times out to the default menu item, it'll put you in command mode. Typing in the command "halt" and pressing enter should power off the computer. This can sometimes work around bios issues that don't play well with your linux configuration and method of shutting down / powering off.
Rickkkk - Win 10 shuts down and restarts as it should.
Shadow 7 - I did as you suggested. I started the PC, when the boot loader came up I clicked 'c'. Entered 'halt'. The boot loader restarted and Linux started. When I clicked on the restart button, the problem was still there. I then restarted and loaded Linux again and tried the shutdown button. Same thing.
I think that I will just learn to "live with it" like I have with a few other things about Linux.
If you have a different power supply you might try using it. Even temporarily, I suspect it's that piece of hardware that is the issue. Since you have to kill power to it to make things play nice again. That would be the only part affected by that IMO. You might also have your PC wired wrong. If it's not that old you might check the motherboard manual.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.