Shutdown-halt

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
vidtek
Level 1
Level 1
Posts: 44
Joined: Sat Jul 14, 2012 9:23 pm
Location: from 13-03-2014 in Bournemouth UK

Shutdown-halt

Post by vidtek »

Sorry to bring this up yet again, there still seems to be no definitive answer to this issue.

I have a new one- anybody seen this?

Code: Select all

tony@linuxmint ~ $ sudo systemctl shutdown -P now
systemctl: invalid option -- 'P'
This started happening after I'd tried umpteen "solutions" to the shutdown problem. Luckily I have a clone of the system ssd before I started mucking around with all these various solutions, I'll go back to that one.

Still having shutdown issues, I firmly believe it has to do with hardware drivers as I have 2 machines both running 18.2 Sonya, one shuts down perfectly every time, the other never does.

Hardware of machine which shuts down perfectly:
Gigabyte Z68XUD43B i7 3700K 16gb ram DDR3 1800mb 4.25tb 180ssd GTX450 Hauppauge HR2210 Dual tuner 64-bit Mint18.2. Sonya/W10 dual boot BE/FE Homerun dual network tuner.

Hardware of machine which never shuts down properly:
Asus Strix Z270E i7 Kabylake 7700K 16gb ram DDR4 3000mb 8.25tb 250ssd GTX960 TBS 6205 quad tuner 64-bit Mint 18.2 Sonya/W10 dual boot Master BE/FE Homerun dual network tuner.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Asus Z270 i7 16gb ram 8.25tb GT960 TSB6205 Quad tuner 64-bit Mint 18.2 Sonya KDE & win 10 Be/FE myth 0.28
Laptop Samsung NP R580 i5 nvidia linux ultimate & win 10
User avatar
JoeFootball
Level 13
Level 13
Posts: 4673
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: Shutdown-halt

Post by JoeFootball »

vidtek wrote:systemctl: invalid option -- 'P'
Specific to the error, it appears the -P option is being interpreted by systemctl, not shutdown as I believe you're intending.

Wouldn't sudo shutdown -P now suffice?

Joe
dcrowder
Level 4
Level 4
Posts: 202
Joined: Tue May 24, 2011 6:48 pm
Location: Dallas Texas USA

Re: Shutdown-halt

Post by dcrowder »

Code: Select all

sudo shutdown -h 0
has always worked for me.
Mint 21 Vanessa | Cinnamon | x64
vidtek
Level 1
Level 1
Posts: 44
Joined: Sat Jul 14, 2012 9:23 pm
Location: from 13-03-2014 in Bournemouth UK

Re: Shutdown-halt

Post by vidtek »

Joe-

doh-- been stuffing around with this so much now you are right of course, systemctl is interpreting it.

Thanks mate.

Dcrowder- Ubuntu variants are supposed to use the -P not the -h as a command modifier. check this: https://www.mythtv.org/wiki/ACPI_Wakeup this bit:
Shut down your computer and see if it comes back up in ~5 minutes.

sudo shutdown -h now (in Ubuntu 10.4 "sudo shutdown -P now" (-h may cause system to restart))
Asus Z270 i7 16gb ram 8.25tb GT960 TSB6205 Quad tuner 64-bit Mint 18.2 Sonya KDE & win 10 Be/FE myth 0.28
Laptop Samsung NP R580 i5 nvidia linux ultimate & win 10
Locked

Return to “Other topics”