LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-02-2017, 02:02 PM   #1
crgibson
LQ Newbie
 
Registered: Dec 2016
Distribution: Linux Mint 18.1 Cinnamon 64bit
Posts: 23

Rep: Reputation: Disabled
Smile 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).

Thanks for any help.
 
Old 03-02-2017, 02:23 PM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,234

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Quote:
Originally Posted by crgibson View Post
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 ?
 
Old 03-02-2017, 03:21 PM   #3
crgibson
LQ Newbie
 
Registered: Dec 2016
Distribution: Linux Mint 18.1 Cinnamon 64bit
Posts: 23

Original Poster
Rep: Reputation: Disabled
I can give you the following:

------System Harware

CPU - AMD Athlon 64 X2 5200+
Brisbane 65nm Technology

RAM - 6.00GB Dual-Channel DDRS @ 301MHz

MOTHERBOARD -
Gigabyte Technologh Co., Ltd. FA-MA770-UD3

Graphics -
Acer ALL1906 (120x1024@75Hz)

Storage -
119GM M4-CT128M4SSD2 ATA Device (SSD)
2794.52GB Seagate HDD USB3
18630.2GB Seagate HDD USB3
4657-53GB Seagate HDD USB3

-----BIOS setting - where and what?



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?
 
Old 03-02-2017, 03:52 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,003
Blog Entries: 1

Rep: Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847
Can you reboot to the bootloader (grub) and "c" to the command mode and "halt" to power off? Does that work around the plugging issue?

The only time I've had issues like that was when the PSU was on it's last leg. Or the system had grown unstable due to heat issues over time.
 
Old 03-02-2017, 04:00 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137
Quote:
Originally Posted by crgibson View Post
I can give you the following:

------System Harware

CPU - AMD Athlon 64 X2 5200+
Brisbane 65nm Technology

RAM - 6.00GB Dual-Channel DDRS @ 301MHz

MOTHERBOARD -
Gigabyte Technologh Co., Ltd. FA-MA770-UD3

Graphics -
Acer ALL1906 (120x1024@75Hz)

Storage -
119GM M4-CT128M4SSD2 ATA Device (SSD)
2794.52GB Seagate HDD USB3
18630.2GB Seagate HDD USB3
4657-53GB Seagate HDD USB3

-----BIOS setting - where and what?



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???
 
Old 03-02-2017, 04:13 PM   #6
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,234

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
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.

Last edited by Rickkkk; 03-02-2017 at 04:16 PM.
 
Old 03-02-2017, 04:41 PM   #7
crgibson
LQ Newbie
 
Registered: Dec 2016
Distribution: Linux Mint 18.1 Cinnamon 64bit
Posts: 23

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-02-2017, 04:56 PM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137Reputation: 2137
Quote:
Originally Posted by Rickkkk View Post
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.
 
Old 03-02-2017, 07:42 PM   #9
crgibson
LQ Newbie
 
Registered: Dec 2016
Distribution: Linux Mint 18.1 Cinnamon 64bit
Posts: 23

Original Poster
Rep: Reputation: Disabled
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.
 
Old 03-02-2017, 07:57 PM   #10
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,234

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Quote:
Originally Posted by crgibson View Post
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 ...

Last edited by Rickkkk; 03-02-2017 at 08:00 PM.
 
Old 03-03-2017, 12:33 AM   #11
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,003
Blog Entries: 1

Rep: Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847
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.
 
Old 03-03-2017, 03:40 AM   #12
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 19.2 MATE, MX-19, Manjaro
Posts: 2,771
Blog Entries: 14

Rep: Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018Reputation: 1018
crgibson,

You may like to backup your personal data first, just in case.

On another functioning PC, either:

1. Download Rescatux and burn .ISO to DVD, read the information and instructions, then reboot:
http://www.supergrubdisk.org/

OR

2. Download Linux Mint 18.1 (MATE or Xfce) and burn .ISO to DVD. Reboot and do a fresh installation.


Rescatux is always handy to have around and you will probably learn from using it.

Having said that, I think it may be quicker using option 2.

Last edited by beachboy2; 03-03-2017 at 03:41 AM.
 
Old 03-03-2017, 12:57 PM   #13
crgibson
LQ Newbie
 
Registered: Dec 2016
Distribution: Linux Mint 18.1 Cinnamon 64bit
Posts: 23

Original Poster
Rep: Reputation: Disabled
Thanks to all for the replies and suggestions.

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.

Thanks to all for time spend with this post.
 
Old 03-03-2017, 01:41 PM   #14
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,003
Blog Entries: 1

Rep: Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847Reputation: 847
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to disable the power button (shutdown/restart) in GDM login screen? colucix Red Hat 3 11-06-2013 08:57 AM
Power button or unplug cable invader44 Slackware 2 11-20-2009 04:59 PM
safe to unplug IDE/power cable from HD wuya Linux - Hardware 5 04-27-2005 03:06 PM
Unplug power frezes computer short101 Linux - Laptop and Netbook 1 07-21-2004 04:59 AM
Optical Fibre unplug requires power cycle mehere Linux - Networking 3 02-05-2004 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration