yxx554243496的个人博客分享 http://blog.sciencenet.cn/u/yxx554243496

博文

简介/etc/default/grub 文件

已有 4027 次阅读 2017-5-27 10:03 |个人分类:系统运维|系统分类:科研笔记| Linux, grub

Notice: 修改完 /etc/default/grub ,需要执行 sudo update-grub 生成 /boot/grub/grub.cfg,重启后生效

加五角星标注为平常修改的选项,其他除特殊用途基本不需要修改,//后面的为注释:

#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       //设置grub命令是否使用UUID,去掉#,使用root=/dev/sdax而不用root=UUDI=xxx

# 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"





https://blog.sciencenet.cn/blog-3222255-1057407.html

上一篇:Ubuntu14.04 找回ROOT密码
下一篇:Ubuntu14.04 找回ROOT密码
收藏 IP: 114.247.56.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-6-4 11:10

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部