1、编辑grub文件

  1. sudo gedit /etc/default/grub

  1. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

改成

  1. GRUB_CMDLINE_LINUX_DEFAULT=""

并在最后一行加入

  1. GRUB_GFXPAYLOAD_LINUX=None

以下是完整修改后的示例

  1. # If you change this file, run 'update-grub' afterwards to update
  2. # /boot/grub/grub.cfg.
  3. # For full documentation of the options in this file, see:
  4. # info -f grub -n 'Simple configuration'
  5.  
  6. GRUB_DEFAULT=0
  7. #GRUB_HIDDEN_TIMEOUT=0
  8. GRUB_HIDDEN_TIMEOUT_QUIET=true
  9. GRUB_TIMEOUT=10
  10. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  11. GRUB_CMDLINE_LINUX_DEFAULT=""
  12. GRUB_CMDLINE_LINUX=""
  13.  
  14. # Uncomment to enable BadRAM filtering, modify to suit your needs
  15. # This works with Linux (no patch required) and with any kernel that obtains
  16. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  17. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  18.  
  19. # Uncomment to disable graphical terminal (grub-pc only)
  20. #GRUB_TERMINAL=console
  21.  
  22. # The resolution used on graphical terminal
  23. # note that you can use only modes which your graphic card supports via VBE
  24. # you can see them in real GRUB with the command `vbeinfo'
  25. #GRUB_GFXMODE=640x480
  26.  
  27. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  28. #GRUB_DISABLE_LINUX_UUID=true
  29.  
  30. # Uncomment to disable generation of recovery mode menu entries
  31. #GRUB_DISABLE_RECOVERY="true"
  32.  
  33. # Uncomment to get a beep at grub start
  34. #GRUB_INIT_TUNE="480 440 1"
  35. GRUB_GFXPAYLOAD_LINUX=None

2、编辑10_linux

  1. sudo gedit /etc/grub.d/10_linux

找到如下内容删掉

  1. if ! ${recovery} ; then
  2. save_default_entry | sed -e "s/^/\t/"
  3.  
  4. cat << EOF
  5. gfxmode \$linux_gfx_mode
  6. EOF
  7. fi

提示:如果没有就不用删除。

3、更新

  1. sudo update-grub

重启即可看见效果。

4、如果曾经修改过/etc/initramfs-tools/conf.d/splash,必须把以下内容删掉

  1. FRAMEBUFFER=y

然后更新

  1. sudo update-initramfs -u

附录:

原版有界面的完整配置:

  1. # If you change this file, run 'update-grub' afterwards to update
  2. # /boot/grub/grub.cfg.
  3. # For full documentation of the options in this file, see:
  4. # info -f grub -n 'Simple configuration'
  5.  
  6. GRUB_DEFAULT=0
  7. #GRUB_HIDDEN_TIMEOUT=0
  8. GRUB_HIDDEN_TIMEOUT_QUIET=true
  9. GRUB_TIMEOUT=10
  10. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  11. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  12. GRUB_CMDLINE_LINUX=""
  13.  
  14. # Uncomment to enable BadRAM filtering, modify to suit your needs
  15. # This works with Linux (no patch required) and with any kernel that obtains
  16. # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
  17. #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
  18.  
  19. # Uncomment to disable graphical terminal (grub-pc only)
  20. #GRUB_TERMINAL=console
  21.  
  22. # The resolution used on graphical terminal
  23. # note that you can use only modes which your graphic card supports via VBE
  24. # you can see them in real GRUB with the command `vbeinfo'
  25. #GRUB_GFXMODE=640x480
  26.  
  27. # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
  28. #GRUB_DISABLE_LINUX_UUID=true
  29.  
  30. # Uncomment to disable generation of recovery mode menu entries
  31. #GRUB_DISABLE_RECOVERY="true"
  32.  
  33. # Uncomment to get a beep at grub start
  34. #GRUB_INIT_TUNE="480 440 1"

参考:

http://www.xzcblog.com/m/?post=160(这个才是原版作者)

Ubuntu 16.04设置开机关机时显示命令详细信息不显示进度条Logo的更多相关文章

  1. Ubuntu 16.04设置开机启动脚本的方法

    需求:公司卡片机容量太小,只有100G,由于使用的人比较的多,开机使用后有时候就会出现磁盘空间占满数据写不进去的情况,影响工作进度,而且每次使用完都得关掉卡片机,所以就有必要写个清理磁盘的脚本,当卡片 ...

  2. Ubuntu 16.04设置开机启动应用程序

    在终端通过以下命令进行设置,Dash已经搜索不到Startup了: gnome-session-properties 或者直接在Dash中搜索:gnome-session

  3. Ubuntu 16.04设置rc.local开机启动命令/脚本的方法

    Ubuntu 16.04设置rc.local开机启动命令/脚本的方法       Ubuntu 16.04设置rc.local开机启动命令/脚本的方法(通过update-rc.d管理Ubuntu开机启 ...

  4. Ubuntu 16.04 设置MySQL远程访问权限

    本文记录一下在Ubuntu 16.04版本下设置MySQL数据库的远程访问. 第一步:修改配置文件的端口绑定 打开的目录可能会根据MySQL的版本稍有不同,可以先尝试打开/etc/mysql/my.c ...

  5. ubuntu 16.04源码编译和配置caffe详细教程 | Install and Configure Caffe on ubuntu 16.04

    本文首发于个人博客https://kezunlin.me/post/b90033a9/,欢迎阅读! Install and Configure Caffe on ubuntu 16.04 Series ...

  6. Ubuntu 18.04 设置开机启动脚本 rc.local systemd

    ubuntu18.04不再使用initd管理系统,改用systemd. ubuntu-18.04不能像ubuntu14一样通过编辑rc.local来设置开机启动脚本,通过下列简单设置后,可以使rc.l ...

  7. Ubuntu 16.04设置rc.local开机启动命令/脚本的方法(通过update-rc.d管理Ubuntu开机启动程序/服务)

    注意:rc.local脚本里面启动的用户默认为root权限. 一.rc.local脚本 rc.local脚本是一个Ubuntu开机后会自动执行的脚本,我们可以在该脚本内添加命令行指令.该脚本位于/et ...

  8. Ubuntu 16.04安装IntelliJ IDEA时快捷键冲突设置

    解决快捷键冲突可以有如下方法: 1.直接修改IDEA的,但是不建议这么干,因为多平台时,或者去到另外一台电脑时,统一的快捷键能更快的适应新的开发环境. 2.通过修改系统默认的快捷键. 3.就这两种方式 ...

  9. Ubuntu 16.04设置Redis为开机自动启动服务

    继上一篇文章http://www.cnblogs.com/EasonJim/p/7599941.html安装好Redis后,假设文件已经安装到/usr/local/redis目录下.假设我安装的版本为 ...

随机推荐

  1. 【转】数据倾斜是多么痛?spark作业/面试/调优必备秘籍

    原博文出自于: http://sanwen.net/a/gqkotbo.html 感谢! 来源:数盟 调优概述 有的时候,我们可能会遇到大数据计算中一个最棘手的问题——数据倾斜,此时Spark作业的性 ...

  2. Mysql阿里数据源配置参考

    maven pom.xml配置 <dependency> <groupId>com.alibaba</groupId> <artifactId>drui ...

  3. 6.13---shiro

  4. Redis安全与持久化(适合小白阅读)

    前言:Redis的使用越来越重要.以下仅为个人学习的点点记录.仅供参考. 一.简单的redis安全性设置 1. 生产环境的redis最好建议在redis配置文件中设置bind.配置允许指定的ip登陆r ...

  5. 动态设置缩放比例和html字体大小

    <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8& ...

  6. [转]汇编语言:MOVSB,MOVSW,MOVSD

    汇编语言:MOVSB,MOVSW,MOVSD 转自: http://blog.csdn.net/zhenyongyuan123/article/details/8364011   目前80386系列的 ...

  7. python爬虫(房天下)

    房天下 import requests res = requests.get('http://esf.sz.fang.com/') #res.text from bs4 import Beautifu ...

  8. MFC_2.4 组合框和图片控件

    组合框和图片控件 1.拖控件 图片属性更改Type 为Bitmap 名字也要改,不能为IDC_STATIC 绑定变量控件,重命名. 2.初始化 // 设置一个定时器,用于更新图片 SetTimer(0 ...

  9. 【linux】 下根目录,家目录区别,以及普通用户到root用户的切换

    一:家目录 一般普通用户,家目录是/home/用户名 root用户,家目录是/root root登录系统,执行如下命令进入root的家目录 cd /cd ~ 进入家目录后执行如下命令获取具体路径 pw ...

  10. sql IIF函数的应用

    工作中由于用各种框架,业务也不是很复杂,一直没怎么写过复杂的sql,今天写了一个 数据如下 代码如下 Sub 班级分数等级分析(shname) Dim Con As Object, rs As Obj ...