ubuntu无法关机
2024-08-27 20:41:52
在/etc/default/halt 增加下面
INIT_HALT = POWEROFF
另一种方法:
I have the same problem and found a solution which worked out for me.
Type in terminal:
sudo -i (to get a root shell, sudo gedit is not recommended)
gedit /etc/default/grub
Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Change this to: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force"
Save the file and close the file.
Finally, in terminal: update-grub
exit (to end the root shell)
写于: 2014年05月07日
更新于: 2015年03月23日
最新文章
- UNITY在VS中调试
- c++ std::string.c_str()
- [转]使用maven镜像
- leetcode 150. Evaluate Reverse Polish Notation ------ java
- c#中多线程访问winform控件的若干问题
- 使用bootstrapvalidator的remote验证经验
- 用JS计算预计时间与现在时间的差
- Java 多文件压缩成一个文件工具类
- mysql外键使用
- mysql中cast() 和convert()的用法讲解
- phpstorm自定义代码片段
- GIS入门基础知识点
- SSIS 连接数据
- chessboard
- js便签笔记(1)——说说HTMLCollection、NodeList以及NamedNodeMap
- hdu 5326
- (三)SpringBoot2.0基础篇- 持久层,jdbcTemplate和JpaRespository
- 一个最简单的JStorm例子
- Atitit.json类库的设计与实现 ati json lib
- 推荐20个非常有帮助的web前端开发教程
热门文章
- pytest文档53-命令行实时输出错误信息(pytest-instafail)
- swoft根据表创建实体
- ansible用authorized_key模块批量推送密钥到受控主机(免密登录)(ansible2.9.5)
- 第十二章 Linux三剑客之老三—grep
- Python之for循环和列表
- 异常java.lang.IllegalArgumentException: An invalid character [32] was present in the Cookie value
- .Net Core实现基于Quart.Net的任务管理
- nginx tp5配置
- 线程池FixedThreadPool
- 如何实现一个FormData