使用BURG美化启动界面(更新2010-03-09)

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
回复
bean
帖子: 238
注册时间: 2008-06-03 12:25

Re: 使用BURG美化启动界面(更新ppa6)

#136

帖子 bean » 2010-01-07 16:22

最新更新ppa6,增加在线测试工具grub-emu,不需要重启就能测试启动界面的效果。支持Linux/Windows/OSX系统。
lwq316
帖子: 22
注册时间: 2009-09-03 11:14

Re: 使用BURG美化启动界面(更新ppa6)

#137

帖子 lwq316 » 2010-01-07 18:08

bean 写了:最新更新ppa6,增加在线测试工具grub-emu,不需要重启就能测试启动界面的效果。支持Linux/Windows/OSX系统。
是吗,那介绍下这个grub-emu怎么用吧,怎么查看启动界面的效果?上面那个问题修改DEFAULT = saved依然是默认第一项,并非上次进入的项。但是值为数字还是有效的。
bean
帖子: 238
注册时间: 2008-06-03 12:25

Re: 使用BURG美化启动界面(更新ppa6)

#138

帖子 bean » 2010-01-07 18:12

lwq316 写了:
bean 写了:最新更新ppa6,增加在线测试工具grub-emu,不需要重启就能测试启动界面的效果。支持Linux/Windows/OSX系统。
是吗,那介绍下这个grub-emu怎么用吧,怎么查看启动界面的效果?上面那个问题修改DEFAULT = saved依然是默认第一项,并非上次进入的项。但是值为数字还是有效的。
是GRUB_DEFAULT阿。另外,以前的变量可能也有影响,可以先删除/boot/grub/grubenv,再运行一下update-grub。

grub-emu在顶楼的帖子里有介绍。
lwq316
帖子: 22
注册时间: 2009-09-03 11:14

Re: 使用BURG美化启动界面(更新ppa6)

#139

帖子 lwq316 » 2010-01-07 18:26

bean 写了:是GRUB_DEFAULT阿。另外,以前的变量可能也有影响,可以先删除/boot/grub/grubenv,再运行一下update-grub。

grub-emu在顶楼的帖子里有介绍。
嘿嘿,刚更新啊,都不注意看了呢,更新后的步骤更完美了,原来很多人会受公钥困扰。
lwq316
帖子: 22
注册时间: 2009-09-03 11:14

Re: 使用BURG美化启动界面(更新ppa6)

#140

帖子 lwq316 » 2010-01-07 18:38

运行

代码: 全选

sync ; sudo grub-emu
时出现下面的错误提示:

Welcome to GRUB!

error: the symbol `grub_strcmp' not found
error: unknown command `merge_config'
error: unknown command `merge_config'
error: unknown command `merge_config'
error: unknown command `merge_config'
grub-emu: error: out of memory
bean
帖子: 238
注册时间: 2008-06-03 12:25

Re: 使用BURG美化启动界面(更新ppa6)

#141

帖子 bean » 2010-01-07 19:04

lwq316 写了:运行

代码: 全选

sync ; sudo grub-emu
时出现下面的错误提示:

Welcome to GRUB!

error: the symbol `grub_strcmp' not found
error: unknown command `merge_config'
error: unknown command `merge_config'
error: unknown command `merge_config'
error: unknown command `merge_config'
grub-emu: error: out of memory
这个似乎是旧版的,有更新到最新的BURG ppa6吗?
bean
帖子: 238
注册时间: 2008-06-03 12:25

Re: 使用BURG美化启动界面(更新ppa6)

#142

帖子 bean » 2010-01-07 19:22

另外,为方便大家,我利用微软雅黑制作了16,18和20三种大小的中文字体,下载在顶楼的帖子。
头像
x1z1h1
帖子: 14
注册时间: 2009-12-13 18:21

Re: 使用BURG美化启动界面(更新ppa6)

#143

帖子 x1z1h1 » 2010-01-07 20:33

jinge@jinge-desktop:~$ sudo grub-install "(hd0)"
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0) /dev/sda
(hd1) /dev/sdb
jinge@jinge-desktop:~$
老 大看 眼是不是成功了~~小白测试.. :em20
头像
x1z1h1
帖子: 14
注册时间: 2009-12-13 18:21

Re: 使用BURG美化启动界面(更新ppa6)

#144

帖子 x1z1h1 » 2010-01-07 20:38

GNU GRUB version 1.97~beta4

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device/file completions. ]

sh:grub>
这是 测试的怎么弄 阿 :em20
bean
帖子: 238
注册时间: 2008-06-03 12:25

Re: 使用BURG美化启动界面(更新ppa6)

#145

帖子 bean » 2010-01-07 21:27

x1z1h1 写了:GNU GRUB version 1.97~beta4

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists possible
device/file completions. ]

sh:grub>
这是 测试的怎么弄 阿 :em20
怎么是beta4阿,这个版本肯定是旧的。其实,在更新完后可以用以下命令看看:

代码: 全选

dpkg -l | grep grub
正确的输出是

代码: 全选

ii  grub-common                       1.97+burg.20100106-1~ppa6         GRand Unified Bootloader, version 2 (common 
ii  grub-emu                          1.97+burg.20100106-1~ppa6         GRand Unified Bootloader, version 2 (grub-em
ii  grub-pc                           1.97+burg.20100106-1~ppa6         GRand Unified Bootloader, version 2 (PC/BIOS
另外,不要忘了用grub-install安装到MBR,否则还是原来的版本在起作用。
头像
x1z1h1
帖子: 14
注册时间: 2009-12-13 18:21

Re: 使用BURG美化启动界面(更新ppa6)

#146

帖子 x1z1h1 » 2010-01-07 21:44

jinge@jinge-desktop:~$ dpkg -l | grep grub
ii grub-common 1.97~beta4-1ubuntu4.1 GRand Unified Bootloader, version 2 (common
ii grub-emu 1.97~beta4-1ubuntu4.1 GRand Unified Bootloader, version 2 (emulate
ii grub-pc 1.97~beta4-1ubuntu4.1 GRand Unified Bootloader, version 2 (PC/BIOS
jinge@jinge-desktop:~$
好了 老大 谢谢 不过 为什么我的菜单 背景还是 一片黑 阿 :em06
头像
x1z1h1
帖子: 14
注册时间: 2009-12-13 18:21

Re: 使用BURG美化启动界面(更新ppa6)

#147

帖子 x1z1h1 » 2010-01-07 21:52

ii grub-common 1.97~beta4-1ubuntu4.1 GRand Unified Bootloader, version 2 (common
ii grub-emu 1.97~beta4-1ubuntu4.1 GRand Unified Bootloader, version 2 (emulate
ii grub-pc 1.97~beta4-1ubuntu4.1 GRand Unified Bootloader, version 2 (PC/BIOS
jinge@jinge-desktop:~$
是不是错了我晕
:em20
头像
x1z1h1
帖子: 14
注册时间: 2009-12-13 18:21

Re: 使用BURG美化启动界面(更新ppa6)

#148

帖子 x1z1h1 » 2010-01-07 22:09

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

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

# 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_THEME=sora
GRUB_GFXMODE=1024x768
#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 entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"


指点下 把 我安装 sora 了..
bean
帖子: 238
注册时间: 2008-06-03 12:25

Re: 使用BURG美化启动界面(更新ppa6)

#149

帖子 bean » 2010-01-07 22:21

ii grub-common 1.97~beta4-1ubuntu4.1 GRand Unified Bootloader, version 2 (common
ii grub-emu 1.97~beta4-1ubuntu4.1 GRand Unified Bootloader, version 2 (emulate
ii grub-pc 1.97~beta4-1ubuntu4.1 GRand Unified Bootloader, version 2 (PC/BIOS
jinge@jinge-desktop:~$
是不是错了我晕
哦,BURG还没装上呢,先按照顶楼的帖子的方法安装吧。
头像
vaiiu
帖子: 84
注册时间: 2010-01-05 16:04

Re: 使用BURG美化启动界面(更新ppa6)

#150

帖子 vaiiu » 2010-01-07 22:56

Mark下,有空再折腾。
回复