老习惯,先来看内核:

Linux arnyek 4.15.0-29-generic #31~16.04.1-Ubuntu SMP Mon Jun 24 13:21:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

安装Ubuntu 16.04卡住的话,可以看https://blog.csdn.net/Dod_Jdi/article/details/78635126

安装Ubuntu 16.04后关机或重启出现卡死的话可以看下面,

修改Ubuntu 16.04的/etc/default/grub:

改grub中的GRUB_CMDLINE_LINUX_DEFAULT="quiet slpash nomodeset"
修改grub中的GRUB_CMDLINE_LINUX="noacpi acpi=off acpi=force apm power_off=1"

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"    //修改这儿
GRUB_CMDLINE_LINUX="noacpi acpi=off acpi=force apm power_off=1"   //修改这儿# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

然后修改/etc/moprobe.d/black.conf,在文件的末尾添加:

blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist rivatv
blacklist nvidiafb 

修改之后的配置文件长这个样子:

# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.# evbug is a debug tool that should be loaded explicitly
blacklist evbug# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd# replaced by e100
blacklist eepro100# replaced by tulip
blacklist de4x5# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m# Conflicts with dvb driver (which is better for handling this device)
blacklist snd_aw2# Causes trackpads to stop working on Lenovo 11e 2nd gen (Ubuntu: #1802135)
# and Lenovo x240 to hang on boot (Ubuntu: #1802689)
blacklist i2c_i801# replaced by p54pci
blacklist prism54# replaced by b43 and ssb.
blacklist bcm43xx# most apps now use garmin usb driver directly (Ubuntu: #114565)
blacklist garmin_gps# replaced by asus-laptop (Ubuntu: #184721)
blacklist asus_acpi# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr# EDAC driver for amd76x clashes with the agp driver preventing the aperture
# from being initialised (Ubuntu: #297750). Blacklist so that the driver
# continues to build and is installable for the few cases where its
# really needed.
blacklist amd76x_edac
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist rivatv
blacklist nvidiafb 

最后记得sudo update-grub

在配置完这些之后安装一下显卡驱动,可以参考https://www.cnblogs.com/xiaojianliu/p/9292680.html这篇。

如果在做了以上配置之后还是卡住不动的话,可以采用下面的方法:

1、更换内核,更换新一点或者是旧一点的版本

2、使用命令sync,sudo  pkill  Xorg,然后右上角关机

3、修改数值

/etc/systemd/user.conf
/etc/systemd/system.conf
//把这两个文件里面的DefaultTimeoutStopSec数值调整到较小数值试试看.

4、修改文件,sudo vim /etc/modules,后面加上 apm power_off=1,然后update-grub

5、开机进入Ubuntu 高级模式,找到recovery mode,然后,找到以'linux'开头的那行,把'ro'后面的内容全部删除,添加'nouveau.modeset=0',F10保存重启,修改grub配置文件,找到'GRUB_CMDLINE_LINUX_DEFAULT' 将GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" 改为 ==>GRUB_CMDLINE_LINUX_DEFAULT="nouveau.modeset=0"

后面会持续更新,如果有侵权的地方麻烦联系我,删除此博客

本博客只是自己的笔记,大佬勿喷

ubuntu 16.04无法正常关机、重启相关推荐

  1. Ubuntu 16.04 命令行 关机 or 重启

    关机: sudo poweroff 或者 sudo shutdown -P now 重启: sudo reboot 转载于:https://blog.51cto.com/4563839/2147811

  2. 安装win 7 + ubuntu 16.04 双系统安装

    安装win 7 + ubuntu 16.04 双系统安装 安装windows 7 1. 下载windows 7镜像文件 2. 制作u盘启动盘 3. 激活win 7系统 4. 安装无线网卡驱动 5. 安 ...

  3. 机械革命X6Ti(skylake平台)安装ubuntu 16.04,完美解决无法关机挂起问题

    本本为机械革命X6Ti,安装ubuntu 16.04的时候卡在了ubuntu界面加载不进去.查了资料大致判断为独显(GTX965M)不兼容,于是在grub界面按E进入编辑模式,加入acpi=off(应 ...

  4. linux双系统重启卡光标,Ubuntu 16.04安装完重启后黑屏,光标一直闪

    原文:https://blog.csdn.net/weixin_38533896/article/details/81023690 版权声明:本文为博主原创文章,转载请附上博文链接! 按照百度经验里面 ...

  5. 关于ubuntu 16.04 无法从挂起唤醒及无法关机、卡在关机界面的解决办法

    二话不说,直接上代码 1. sudo vim /etc/modules 在文件末尾添加 apm power_off=1 sudo vim /etc/default/grub 在文件中将 GRUB_CM ...

  6. Ubuntu 16.04系统下CUDA8.0配置Caffe教程

    由于最近安装了Ubuntu 16.04,本文教程的特点是不需要降级gcc的版本,毕竟cuda8.0已经支持gcc5以上(默认不支持,实际支持). 本文是在参考caffe官网教程以及http://www ...

  7. w10安装ubuntu_Win10 + Ubuntu 16.04双系统完美安装教程【详细】

    务必记得备份自己的数据,数据无价!!! 电脑型号:Thinkpad E550 固态装了win10,机械硬盘打算装Ubuntu16.04 固态硬盘格式MBR,机械硬盘格式GPT 一.制作U启动盘 1.下 ...

  8. Linux(五):Ubuntu 16.04 更改系统语言为简体中文(Chinese simplified)

    Linux(五):Ubuntu 16.04 更改系统语言为简体中文(Chinese simplified) 文章目录 1 问题 2 设置中文 2.1 设置: 2.2 点击 Install: 2.3 输 ...

  9. ubuntu怎么连网线上网_安装完ubuntu 16.04连接网线无法上网解决

    安装完成ubuntu 16.04版本后,无法上网,在图形化管理界面上配置好ip,netmask,gateway后仍是如此. ifconfig命令查看后,也是有网卡信息的,可是ifdown 网卡 提示u ...

  10. dell电脑如何安装ubuntu系统_Dell台式机安装Ubuntu 16.04注意事项( Alienware R6)

    之前在华硕笔记本成功安装了双系统Win 10 + Ubuntu Kylin 16.04,以为很轻松的可以在Dell上安装,结果发现戴尔电脑有许多坑. Dell Alienware, gpu 1080T ...

最新文章

  1. leetcode 567. Permutation in String 字符串的排列 滑动窗口法
  2. java公平所与非公平所_一张图读懂Java非公平锁与公平锁
  3. metasploit 目录结构
  4. pom.xml设置mysql连接_maven工程配置pom.xml实现mybatis的访问数据库操作
  5. swiper 上滑触发_四种方式快速实现上滑触底加载效果
  6. 属性总结(二):color
  7. MSF(二):msf外部/内部常用命令
  8. spring-boot (三) spring data jpa
  9. sqlserver 查询表锁死,解除表锁死
  10. 第一百二十八期:推荐几个IDEA插件,Java开发者撸码利器,你get到了吗
  11. linux 操作mysql 数据库命令_Linux 操作数据库命令
  12. 多线程的实现方式_一文搞懂Java多线程使用方式、实现原理以及常见面试题
  13. 基于JAVA+SpringMVC+Mybatis+MYSQL的医院预约挂号系统
  14. CSS如何实现数字分页效果
  15. 为什么一般都使用 List list = new ArrayList() ,而不用 ArrayList alist = new ArrayList()呢?...
  16. java循环语句_Java十四天零基础入门-Java for循环语句
  17. 两步实现在Git Bash中用Sublime打开文件
  18. 已知拱高和弦长,求弧长、半径、角度
  19. 计算机如何设置多用户,windows7远程桌面多用户连接怎么设置_win7远程桌面如何设置多人登录-win7之家...
  20. 华为擎云 W510 鲲鹏 920 24 核工作站使用体验

热门文章

  1. numpy - np.reshape:将二维数组转变三维数组
  2. 数据结构与算法python—2.顺序表(数组)以及python实现
  3. 从零实现Wod2Vec(下)
  4. 如何高效工作,享受品质生活?看看少数派的经验总结吧
  5. 《linux核心应用命令速查》连载九:crontab:设置计时器
  6. GNU/Linux下的开发环境
  7. python字符串、字符串处理函数及字符串相关操作
  8. python获取sessionid_Python Flask:跟踪用户会话?如何获取会话Cookie ID?
  9. rabbitmq接收不到消息_SpringBoot2.x系列教程63--SpringBoot整合消息队列之RabbitMQ详解
  10. sql中的join问题