Skip to Content

用GRUB4DOS制作可引导U盘,并给启动画面加入个性化背景图片

今天才发现,原来grub4dos 0.4.4居然支持 message,这样一来启动界面就能做得好看了。
链接已冻结。
#6795
今天试了一下,发现菜单中文可以支持的,只要把 menu.lst 保存成 UTF8 编码就行了,不过我测试了一下,感觉还是有些中文字符显示不出来,估计是字体文件之故吧,尚有待证实。

哦今天做了个 message 文件,是个MM哦(1280x800,适合宽屏本本),菜单会显示在左上角,未选中的菜单显示暗红,选中的显示黄色!

message.mm:
https://token.vips100.com/checkAccessCode.php?code=b46607227fe011790a08ce1b610438ca00668bd9daab1227&sec=yes



晚上用U盘量产工具做了个USB-CDROM+USB-HDD,两个居然都能正常引导,这样以后装机就爽了。
我的U盘是,Kingston DataTraveler 2G
U盘量产工具在这里能找到:http://bbs.mydigit.cn/read.php?tid=20620
这位仁兄也收集了好多量产工具: http://cid-f9c2f78fed9f61d4.skydrive.live.com/browse.aspx/U%e7%9b%98%e9%87%8f%e4%ba%a7%e5%b7%a5%e5%85%b7/PHISON
#6889
我笔记本电脑是1280×800的,你这个message也是1280×800应当适合,可是调用后屏幕仍然是800×600,图片显示不全
#6890
请将GRUB4DOS升级到0.4.4试试
#6896
GRUB4DOS 就是 0.4.4版的——grub4dos-0.4.4-2009-06-20
#6801
grub4dos 也可以加入 img镜像文件中,也可以加入iso文件中。

grub4dos 的中文版 可以看:http://sysoft.zdwx.com/grub/
#6855
再发个1024*768的启动画面,菜单相关设置在下面的 gfxboot.cnf 中.相关文件保存在联想网盘:

https://token.vips100.com/checkAccessCode.php?code=1e1179a8e36a2651aca486b70e75bc5f03e7bccc2f517d26&sec=yes



gfxboot.cnf:

; Sections are read in the order given in base::layout, with section 'base'
; implicitly added at the end. If a config value is given more than once,
; the first entry wins.
;
; If a screen resolution can't be set, 640x480 is used as fallback (and
; section '640x480' added to the layout list).
;
; If the penguin screen is active, section 'penguin' is automatically added
; to the layout list.
;
; Setting livecd=1 implicitly adds section 'live' to the layout list.
;
; Color values: 24 bit RGB (e.g. 0xff0000 = red).
;

[base]
; theme name
theme=openSUSE
; other sections to read
layout=800x600,boot
; penguin theme likelihood (in percent, -1 = auto)
penguin=0
; activate speech output
talk=0
; sound volume (0..100)
volume=70
; menu background transparency (0..255)
menu.transparency=0x20
; default font
font.normal=16x16.fnt
; main menu font
font.large=16x16.fnt
; background image
background=back.jpg
; max. visible main menu items
mainmenu.entries=8
; minimal main menu selection bar width
mainmenu.bar.minwidth=220
; main menu selection bar transparency (0..255)
mainmenu.bar.transparency=150
; main menu colors
mainmenu.bar.color=0x0
mainmenu.normal.fg=0x666666
mainmenu.selected.fg=0xffff00
; boot option colors
bootopt.label.fg=0xffffff
bootopt.text.fg=0xffffff
; progress bar color
progress.bar.color=0x295202
; menu colors
menu.normal.bg=0xd8deed
menu.normal.fg=0x000000
menu.selected.bg=0x6c6c6c
menu.selected.fg=0xffffff
; window colors
window.bg=0xd8deed
window.fg=0x000000
window.title.bg=0x217b05
window.title.fg=0xffffff
window.title.error.bg=0xc00000
; help system colors
help.link.fg=0x0000a0
help.link.selected.fg=0xffffff
help.link.selected.bg=0x0000a0
help.highlight.fg=0x009000
; panel colors
panel.fg=0xffffff
panel.title.fg=0xffffff
panel.f-key.fg=0xffe050
; default keymap (e.g. de-latin1-nodeadkeys or cz-lat2-us)
keymap=
; replace underscores ('_') with space in menu entries
_2space=1

[800x600]
; screen size
screen.size=1024,768
; upper left corner
mainmenu.pos=208,68
; boot option input field position
bootopt.pos=68,768

[640x480]
; screen size
screen.size=640,480
; upper left corner
mainmenu.pos=130,122
; boot option input field position
bootopt.pos=263,380

[penguin]
; upper left corner
mainmenu.pos=220,163
; main menu selection bar transparency (0..255)
mainmenu.bar.transparency=120
; boot option input field position
bootopt.pos=263,490
; background image
background=pback.jpg

[install]
; show welcome animation
welcome=1
; beep when menu is ready
beep=1
; main menu item shown only if iso is tagged for media check
mediacheck=mediachk
; main menu items where user can't add boot options
nobootoptions=harddisk,memtest
; main menu items that are not passed an 'install' parameter
noinstallopt=harddisk,firmware,memtest
; default install method (one of: cdrom, slp, ftp, http, nfs, smb, hd; default: cdrom)
install=
; default repo location
install.http.server=
install.http.path=
install.nfs.server=
install.nfs.path=
install.ftp.server=
install.ftp.path=
install.ftp.user=
install.ftp.password=
install.smb.server=
install.smb.share=
install.smb.path=
install.smb.domain=
install.smb.user=
install.smb.password=
install.hd.device=
install.hd.path=
; default driver update (one of: yes, no, file, url; default: no)
dud=
; if 'dud=file': file name on DVD
dud.file=
; if 'dud=url': URL
dud.url=
; if 'dud=url': menu item name (default = 'URL')
dud.url.name=
; serial line setup (up to four lines)
; format: port,baud,dev
; - port: 0-3: first four BIOS serial lines (COM1-COM4); >=4: I/O port (0x3f8)
; - baud: baud rate (e.g. 115200); 0 = autodetect (considers baud rates >= 9600)
; - dev: linux device name (e.g. ttyS0)
; - all lines are set up with 8 bits, no parity, 1 stop bit
; - if the bootloader also has a serial line setup, the port is
; automatically used
serial.line0=0,0,ttyS0
serial.line1=1,0,ttyS1
serial.line2=
serial.line3=
; show keymap menu as submenu in lang dialog
keymap.submenu=1
; check min memory size
memcheck=0
; apppend *.spl to initrd
spl=1
; move down one menu entry the first time an F-key is used
autodown=1
; F-key assignments
; value can be one of: lang, video, install, kernelopts, dud, bits, keymap,
; profile, restore
; note1: 'bits' is only shown on x86_64, 'profile' only when a file 'profile'
; exists, 'restore' only when there is a boot entry 'restore'
; note2: F1 is always help, F9 enables speech output, F10 exits gfxboot
; add 'lang' option with current locale
addopt.lang=1
; add 'keytable' option with current keymap
addopt.keytable=1

[boot]
; show welcome animation
welcome=0
; beep when menu is ready
beep=0
; show keymap menu as submenu in lang dialog
keymap.submenu=0
; system restore menu entry
restore.title=
; F-key assignments, see install section for doc
; add 'lang' option with current locale
addopt.lang=0
; add 'keytable' option with current keymap
addopt.keytable=0

[live]
; set livecd flag
livecd=1
; move down one menu entry the first time an F-key is used
autodown=0
; F-key assignments, see install section for doc
; add 'lang' option with current locale
addopt.lang=1
; add 'keytable' option with current keymap
addopt.keytable=0
#6862
不错,可以直接做个Puppy的启动画面,不用再黑乎乎的了,赞一个!
#6868
我使用grub4dos引导各种系统,包括puppy,menu.lst里面调用message(gfxmenu /message)后启动界面背景比原来的限定14色漂亮多了。可是屏幕分辨率始终是800×600的,图片用1024×768做成的message在800×600下不能全部显示,所以图片只能用800×600的来做message。

message我是用gfxmenu工具在xp下做的
#6887
你说的问题应该是一个叫init的文件之故。我这里有一个1024x768的message:
[url=http://pickup.mofile.com/1779002835103387 ]1024x768.message[/url],
我也是用网上下载的gfxmenu工具做的[url=http://pickup.mofile.com/9411772024147692 ] gfxmenu下载 [/url]
#8214
下载链接总是"该文件所有者今天的外链下载次数已经用完"
能否提供其他的下载地址啊?

发表新评论

  • 你可以在文本中使用BBCode标记语言。 URL会自动被转为链接。

更多关於格式化选项的信息

CAPTCHA
请验证您是否是机器人。
Image CAPTCHA
Enter the characters shown in the image.