当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 3 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 关于ubuntu14.10 grub背景图片修改的问题
帖子发表于 : 2015-02-03 19:58 

注册: 2014-10-26 8:24
帖子: 18
系统: windows
送出感谢: 1
接收感谢: 0 次
在ubuntu14.10的05_debian_theme中有这么一句
# Next search for pictures the user put into /boot/grub/ and use the first one.
for background in *.jpg *.JPG *.jpeg *.JPEG *.png *.PNG *.tga *.TGA; do
if set_background_image "${background}"; then
exit 0
fi
done

只要把图片放到/boot/grub/下即可,可是为什么我将图片background.jpg放到/boot/grub/下并且sudo update-grub出来下面的内容?
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-3.16.0-30-generic.efi.signed
Found kernel: /boot/vmlinuz-3.16.0-30-generic
Found kernel: /boot/vmlinuz-3.16.0-23-generic
Found kernel: /boot/memtest86+.bin
Found kernel: /boot/vmlinuz-3.16.0-30-generic.efi.signed
Found kernel: /boot/vmlinuz-3.16.0-30-generic
Found kernel: /boot/vmlinuz-3.16.0-23-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

表示没找到图片,这是为什么啊??


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 关于ubuntu14.10 grub背景图片修改的问题
帖子发表于 : 2015-02-03 20:45 

注册: 2009-08-04 16:33
帖子: 16882
送出感谢: 21
接收感谢: 1825
https://help.ubuntu.com/community/Grub2 ... ash_Images


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 关于ubuntu14.10 grub背景图片修改的问题
帖子发表于 : 2015-02-05 19:39 
头像

注册: 2008-09-18 13:11
帖子: 2781
送出感谢: 1
接收感谢: 453
同样是在05_debian_theme中,set_background_image里面有下面的内容
代码:
    for output in ${GRUB_TERMINAL_OUTPUT}; do
        if [ "x$output" = "xgfxterm" ]; then
            break
        fi
    done

    # ... and check if we are able to display a background image at all.
    if ! [ "x${output}" = "xgfxterm" ]; then
        return 1
    fi

也就是如果你不在/etc/default/grub中把GRUB_TERMINAL_OUTPUT或者其他能影响到GRUB_TERMINAL_OUTPUT的参数设置成gfxterm,就没戏


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 3 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Bing [Bot] 和 0 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译