|
|
我尝试对2013 天意u盘维护系统ISO全功能贺岁版进行改造,加入安装linux系统菜单。
由于选项过多,于是我改造菜单,增加子菜单。
我修改grldr成为:
- timeout 10
- default 0
- command --set-path=(bd)/BOOT/GRUB
- gfxmenu /BOOT/GRUB/MESSAGE
- configfile (md)4+8
- title [1] Windows
- configfile /BOOT/GRUB/menu_win.lst
- title [2] Linux
- configfile /BOOT/GRUB/menu_linux.lst
复制代码
然后的menu_win.lst的内容是
- gfxmenu /BOOT/GRUB/MESSAGE
- configfile (md)4+8
- title [01]天意Win2003PE迷你维护系统
- find --set-root /BOOT/SETUPLDR.BIN
- F6IMG
- map --e820cycles=3
- map --rehook
- chainloader /BOOT/SETUPLDR.BIN
- title [02] 天意Native03PE极速维护系统
- find --set-root /BOOT/NVPELDR.BIN
- F6IMG
- map --e820cycles=3
- map --rehook
- chainloader /BOOT/NVPELDR.BIN
- title [03] 天意Win8PE全能精简版
- find --set-root /BOOT/bootmgr
- chainloader /BOOT/bootmgr
- title [04] 启动Slitaz迷你系统
- kernel /BOOT/BZIMAGE root=/dev/null vga=normal autologin
- initrd /BOOT/ROOTFS.GZ
- title [05] 启动RUN功能模块
- configfile /BOOT/GRUB/RUN.LST
- title [06] Onekey全自动备份还原系统
- RUN --mem /BOOT/IMGS/OKDOS.IMA
- title [07] 运行MAXDOS工具箱
- RUN --mem /BOOT/IMGS/MAXDOS.IMG
- title [08] 启动DOS时代菜鸟工具箱
- RUN --mem /BOOT/IMGS/DTSTOOL.IMA
- title [09] 运行DiskGen磁盘管理
- RUN --mem /BOOT/IMGS/MAXDOS.IMG DISKGEN
- title [10] 运行MemTest内存检测
- kernel /BOOT/IMGS/MEMTEST.BIN
- title [11] 启动USB智能加速(适用老电脑)
- /BOOT/GRUB/USB_ACC.0PE
- title [12] 启动NTBOOT通用启动器
- RUN /BOOT/IMGS/NTBOOT.ISO
- title [13] Go back Main Menu
- configfile /BOOT/GRUB/menu_main.lst
复制代码
结果进入这个菜单,大部分都是空白的,显示不了中文。
后来,我添加 UNIFONT /BOOT/GRUB/wqy-microhei-lite_0_U16.bin 也不管用。
请大家指点一下,谢谢。 |
|