Linux Mint 18.2

These last couple of days I have had a problem where My desktop PC will not shut down, it just hangs with the Linux Mint icon and the flashing green lights below the icon,
I have tried a selection of Kernels and also tried disconnecting everything from the PC, reconnecting one by one, have tried leaving but some hours later it’s still hanging
there.
My Desktop is a Gigabyte model: F2A58M-HD2 with a Radeon HD 5750 graphics card, 8GB Ram, AMD Athlon X4 760K CPU, work fine up until a few days ago no problems at all, any on have any ideas.

When it hangs on shutdown … if you hit the “Esc” or “Tab” key, is there any message displayed on screen ?

Thanks for your reply, this problem is on a few forums, and sorry to says no fix it would appear, I have install Linux Mint KDE and all appears to work fine at the moment.

hi harry i had the same problem almost,after installing the latest mint version i noticed my laptop was not shutting down fully,i like you searched the forums for a solution,and found that nobody had solved the problem,now for what its worth i am not a linux expert just a normal pc user,i had a thought as to why this was happening,and clicked on the battery icon in system tray on the right,i clicked on shut down when lid is closed,and also when power button is pressed shut down the pc,this has for me at least cured the not fully shutting down issue.hope this helps.oh dear i have replied to a very old post silly me.

Hey maddog,

Typically this problem is the result of something on the computer not closing down when told to. On modern systems there should be a timeout such that whatever is hanging is eventually killed, although this could take as long as 2 mins.

Once you have something like this that’s mis-behaving, finding out what is mis-behaving can be tricky, but there are a couple of things you can try;

  1. Check whether you have any remote filesystems mounted, things like Windows drive shares, NFS drive shared, dropbox etc, if the system is unable to contact the server in these cases to cleanly unmount, this can prevent the system from closing down until such time as the timeout expires and a forced unmount is activated.
  2. Check if you have any virtual machines or containers running, things like Docker, QEMU, LXD, Incus etc. When the machine wants to shut down it will signal virtual machines and containers and tell them to end. If they don’t for any reason, this can also delay the shutdown process.
  3. USB devices, if you plug a USB key in and unplug it, normally the system will automatically mount and unmount it for you. If however when you unplug it the device is busy, for example if you open a terminal session, then cd to a folder on the USB device, then unplug the device, you will be left in a state where the device is unplugged, but the system still has it mounted. In this instance, when you come to shut down the system will be unable to cleanly unmount the device filesystem (because the device isn’t there) which again may trigger the retry / timeout issue.

So, first step, leave it for a while and see if it “eventually” shuts down and see how long it takes … then maybe look at 1-3 if applicable …

hth

1 Like