无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
楼主: teasiu

[原创] GRUB2.02 for DOS/UEFI/ISO/PXE项目(winly)2016最新版

    [复制链接]
 楼主| 发表于 2013-5-17 08:13:54 | 显示全部楼层
pokime99 发表于 2013-5-13 10:11
目前,GRUB4DOS,對BIOS啟動,已經相當完備,且持續更新中。但,對於UEFI啟動,GRUB4DOS已表明不支持,反倒 ...

UEFI启动已经制作完成,请下载使用。
回复

使用道具 举报

 楼主| 发表于 2013-5-17 08:16:41 | 显示全部楼层
2011cwj6958 发表于 2013-5-15 12:06
winlyldr 问题
winlyldr 在大分辨率的电脑上字体太小,不美观。怎样自定义分辨率
在有背景图的菜单中菜单 ...

下次新版更新时,我将字体和分辨率调整到外部的菜单,让您可以手动编辑。
回复

使用道具 举报

发表于 2013-5-17 09:10:44 | 显示全部楼层
EFI模式,能整体启动ISO,IMG吗?

回复

使用道具 举报

 楼主| 发表于 2013-5-17 09:19:16 | 显示全部楼层
2012bzsb 发表于 2013-5-17 09:10
EFI模式,能整体启动ISO,IMG吗?

需要再测试。你也可以google搜索看看。
回复

使用道具 举报

发表于 2013-5-17 09:47:02 | 显示全部楼层
不熟悉LINUX的命令,只希望有简单的启动菜单(固定启动几个不同文件名的ISO,IMG即可)
目前,EFI可以进入这个界面,或者命令行
未命名li.JPG
回复

使用道具 举报

发表于 2013-5-17 17:39:24 | 显示全部楼层
希望能加入grub2dos的热键功能,grub2应该很好支持中文,有中文热键,应该是热门应用
回复

使用道具 举报

发表于 2013-5-17 20:58:39 | 显示全部楼层
    测试了风格包,感觉没有以前WinLybrug版本的美观。
建议:
    直接用WinLybrug版本的风格包,省去时间和精力。
    制作两个版本,一个像现在的,只有简单几个文件,带背景图,使用者可以自由设置分辨率,字体大小。
                  一个像以前WinLybrug的有多个风格包。最好把风格包打包成一个文件,看起来简洁一点。
回复

使用道具 举报

发表于 2013-5-17 21:05:26 | 显示全部楼层
本帖最后由 2011cwj6958 于 2013-5-17 21:12 编辑

移动硬盘安装:
       成功引导本地两块硬盘上的系统,转二级菜单,转其他方式引导

winly.cfg
menuentry "启动移动硬盘系统" --class windows --class os {
        insmod part_msdos
        insmod ntfs
        set root='(hd0,msdos1)'
        chainloader +1
}
menuentry "启动主机第一硬盘Windows系统" --class windows {
         insmod part_msdos
        insmod ntfs
        set root='(hd1,msdos1)'
        chainloader +1
}
menuentry "启动主机第二硬盘Windows系统" --class windows {
         insmod part_msdos
        insmod ntfs
        set root='(hd2,msdos1)'
        chainloader +1
}
menuentry "进入GRUB-2012文字引导菜单" --class windows  {
        linux16 /GRUB/grub.exe --config-file=/BOOT/GRUB/ydyp.lst
}
menuentry "进入GRUB-2012图形引导菜单" --class windows  {
        linux16 /GRUB/grub.exe --config-file=/BOOT/GRUB/ajmenu.lst
}
menuentry "阿杰工作室移动系统GRUB2引导菜单" --class linux  {
        linux16 /GRUB/grub.exe --config-file=/BOOT/GRUB/burg.lst
}
menuentry "GRUB引导ISO,IMG,IMA,本地系统,完善资源管理器" --class windows  {
        linux16 /GRUB/grub.exe --config-file=/BOOT/GRUB/grub.lst
}

menuentry "全能移动系统syslinux引导菜单" --class linux  {
        linux16 /GRUB/grub.exe --config-file=/BOOT/GRUB/syslinux.lst
}
menuentry "全能移动系统XORLDR多系统引导程序" --class windows  {
        linux16 /GRUB/grub.exe --config-file=/BOOT/GRUB/xoldr.lst
}
menuentry "全能移动系统Windows nt5 引导菜单" --class windows  {
        linux16 /GRUB/grub.exe --config-file=/BOOT/GRUB/windowsn5.lst
}
menuentry "全能移动系统Windows nt6 引导菜单" --class windows  {
        linux16 /GRUB/grub.exe --config-file=/BOOT/GRUB/windowsnt6.lst
}
menuentry "进入乌班图ubuntu-liveCD系列菜单" --class ubuntu  {
     set root='(hd0,1)'
        configfile /winly/ubuntu.cfg  
}
menuentry "进入雨林木风Ylmf-LiveCD菜单" --class ylmf  {
     set root='(hd0,1)'
        configfile /winly/ylmf.cfg
}
menuentry "进入Deepin深度LiveCD菜单" --class ld  {
    set root='(hd0,1)'
        configfile /winly/Deepin.cfg   
}
menuentry "进入微型linux-Live菜单" --class linux  {
    set root='(hd0,1)'
        configfile /winly/WXlinux.cfg   
}
menuentry "进入Linuxmint-LiveCD系列菜单" --class linuxmin  {
   set root='(hd0,1)'
        configfile /winlymint.cfg   
}
menuentry "进入小芭比puppy-Live桌面系统菜单" --class puppy  {
   set root='(hd0,1)'
        configfile /winly/puppy.cfg   
}
menuentry "进入veket-live桌面系统菜单" --class puppy  {
    set root='(hd0,1)'
        configfile /winly/veket.cfg   
}
menuentry "进入Microsoft Windows-pe菜单" --class windows  {
    set root='(hd0,1)'
        configfile /winly/pe.cfg   
}
menuentry "进入全能Microsoft Windows-pe菜单" --class windows  {
    set root='(hd0,1)'
        configfile /winly/qnpe.cfg  
}
menuentry "进入系统工具菜单" --class windows  {
    set root='(hd0,1)'
        configfile /winly/gj.cfg   
}
menuentry "重启" --class windows --class os{
        reboot
}
menuentry "关闭计算机" --class windows --class os{
        halt
}

20-20-57.jpg
回复

使用道具 举报

发表于 2013-5-18 10:12:57 来自手机 | 显示全部楼层
非常支持
回复

使用道具 举报

 楼主| 发表于 2013-5-18 11:39:41 | 显示全部楼层
贝壳 发表于 2013-5-17 17:39
希望能加入grub2dos的热键功能,grub2应该很好支持中文,有中文热键,应该是热门应用

14.3.41 sendkey
— Command: sendkey [--num|--caps|--scroll|--insert| --pause|--left-shift|--right-shift| --sysrq|--numkey|--capskey|--scrollkey| --insertkey|--left-alt|--right-alt| --left-ctrl|--right-ctrl ‘on’|‘off’]... [no-led] keystroke

    Insert keystrokes into the keyboard buffer when booting. Sometimes an operating system or chainloaded boot loader requires particular keys to be pressed: for example, one might need to press a particular key to enter "safe mode", or when chainloading another boot loader one might send keystrokes to it to navigate its menu.

    You may provide up to 16 keystrokes (the length of the BIOS keyboard buffer). Keystroke names may be upper-case or lower-case letters, digits, or taken from the following table:

    Name         Key
    escape         Escape
    exclam         !
    at         @
    numbersign         #
    dollar         $
    percent         %
    caret         ^
    ampersand         &
    asterisk         *
    parenleft         (
    parenright         )
    minus         -
    underscore         _
    equal         =
    plus         +
    backspace         Backspace
    tab         Tab
    bracketleft         [
    braceleft         {
    bracketright         ]
    braceright         }
    enter         Enter
    control         press and release Control
    semicolon         ;
    colon         :
    quote         '
    doublequote         "
    backquote         `
    tilde         ~
    shift         press and release left Shift
    backslash         \
    bar         |
    comma         ,
    less         <
    period         .
    greater         >
    slash         /
    question         ?
    rshift         press and release right Shift
    alt         press and release Alt
    space         space bar
    capslock         Caps Lock
    F1         F1
    F2         F2
    F3         F3
    F4         F4
    F5         F5
    F6         F6
    F7         F7
    F8         F8
    F9         F9
    F10         F10
    F11         F11
    F12         F12
    num1         1 (numeric keypad)
    num2         2 (numeric keypad)
    num3         3 (numeric keypad)
    num4         4 (numeric keypad)
    num5         5 (numeric keypad)
    num6         6 (numeric keypad)
    num7         7 (numeric keypad)
    num8         8 (numeric keypad)
    num9         9 (numeric keypad)
    num0         0 (numeric keypad)
    numperiod         . (numeric keypad)
    numend         End (numeric keypad)
    numdown         Down (numeric keypad)
    numpgdown         Page Down (numeric keypad)
    numleft         Left (numeric keypad)
    numcenter         5 with Num Lock inactive (numeric keypad)
    numright         Right (numeric keypad)
    numhome         Home (numeric keypad)
    numup         Up (numeric keypad)
    numpgup         Page Up (numeric keypad)
    numinsert         Insert (numeric keypad)
    numdelete         Delete (numeric keypad)
    numasterisk         * (numeric keypad)
    numminus         - (numeric keypad)
    numplus         + (numeric keypad)
    numslash         / (numeric keypad)
    numenter         Enter (numeric keypad)
    delete         Delete
    insert         Insert
    home         Home
    end         End
    pgdown         Page Down
    pgup         Page Up
    down         Down
    up         Up
    left         Left
    right         Right

    As well as keystrokes, the sendkey command takes various options that affect the BIOS keyboard status flags. These options take an ‘on’ or ‘off’ parameter, specifying that the corresponding status flag be set or unset; omitting the option for a given status flag will leave that flag at its initial state at boot. The --num, --caps, --scroll, and --insert options emulate setting the corresponding mode, while the --numkey, --capskey, --scrollkey, and --insertkey options emulate pressing and holding the corresponding key. The other status flag options are self-explanatory.

    If the --no-led option is given, the status flag options will have no effect on keyboard LEDs.

    If the sendkey command is given multiple times, then only the last invocation has any effect.

    Since sendkey manipulates the BIOS keyboard buffer, it may cause hangs, reboots, or other misbehaviour on some systems. If the operating system or boot loader that runs after GRUB uses its own keyboard driver rather than the BIOS keyboard functions, then sendkey will have no effect.

    This command is only available on PC BIOS systems.
回复

使用道具 举报

发表于 2013-5-18 14:16:43 | 显示全部楼层
附件好像出错了
回复

使用道具 举报

 楼主| 发表于 2013-5-18 15:43:28 | 显示全部楼层
plutoshen 发表于 2013-5-18 14:16
附件好像出错了

哪一个?
回复

使用道具 举报

发表于 2013-5-18 18:20:52 | 显示全部楼层
不错,期待更成熟的版本。
回复

使用道具 举报

发表于 2013-5-18 22:05:07 | 显示全部楼层
支持一下
回复

使用道具 举报

发表于 2013-5-20 08:49:49 | 显示全部楼层
支持一下
回复

使用道具 举报

发表于 2013-5-20 10:12:20 | 显示全部楼层
GRUB4DOS能启动指定的扇区,请问楼主的GRUB2 for DOS能启动指定的扇区吗!
举例:img软盘镜像文件始于硬盘的第111111扇区,长度2880扇区,则
map --mem (hd0)1111111+2880 (fd0)
map --hook
root (fd0)
chainloader (fd0)+1
boot
回复

使用道具 举报

 楼主| 发表于 2013-5-20 10:24:41 | 显示全部楼层
haook 发表于 2013-5-20 10:12
GRUB4DOS能启动指定的扇区,请问楼主的GRUB2 for DOS能启动指定的扇区吗!
举例:img软盘镜像文件始于硬盘 ...

— Command: drivemap -l|-r|[-s] from_drive to_drive

    Without options, map the drive from_drive to the drive to_drive. This is necessary when you chain-load some operating systems, such as DOS, if such an OS resides at a non-first drive. For convenience, any partition suffix on the drive is ignored, so you can safely use ${root} as a drive specification.

    With the -s option, perform the reverse mapping as well, swapping the two drives.

    With the -l option, list the current mappings.

    With the -r option, reset all mappings to the default values.

    For example:

              drivemap -s (hd0) (hd1)

回复

使用道具 举报

发表于 2013-5-20 11:27:21 | 显示全部楼层
uefi 版本怎么没有drivemap ? 另外:在UEFI环境中chainloader 好像不能使用chainloader +1载入扇区,只能加载文件。
回复

使用道具 举报

 楼主| 发表于 2013-5-20 12:59:34 | 显示全部楼层
FLOPPY 发表于 2013-5-20 11:27
uefi 版本怎么没有drivemap ? 另外:在UEFI环境中chainloader 好像不能使用chainloader +1载入扇区,只能加 ...

似乎uefi版本不支持drivemap
编译的结果没有这个mod

回复

使用道具 举报

 楼主| 发表于 2013-5-20 14:27:28 | 显示全部楼层
pxe版本在2.00似乎有问题,研究中。
回复

使用道具 举报

发表于 2013-5-20 15:01:06 | 显示全部楼层
关于efi启动,启动菜单怎么编写???
比如说我想启动一个win7的PE,菜单怎么写?
如果能做到64位的efi能引导32位的PE就好了!!
回复

使用道具 举报

发表于 2013-5-20 15:16:56 | 显示全部楼层
zbkh 发表于 2013-5-20 15:01
关于efi启动,启动菜单怎么编写???
比如说我想启动一个win7的PE,菜单怎么写?
如果能做到64位的efi能 ...


这个直接chainloader bootmgfw.efi就可以了
回复

使用道具 举报

发表于 2013-5-20 15:17:59 | 显示全部楼层
FLOPPY 发表于 2013-5-20 11:27
uefi 版本怎么没有drivemap ? 另外:在UEFI环境中chainloader 好像不能使用chainloader +1载入扇区,只能加 ...

uefi启动本来就是基于文件的,当然不需要再加载扇区来启动
回复

使用道具 举报

发表于 2013-5-20 16:22:59 | 显示全部楼层
fujianabc 发表于 2013-5-20 15:16
这个直接chainloader bootmgfw.efi就可以了

恩,我试试!
回复

使用道具 举报

 楼主| 发表于 2013-5-21 09:25:04 | 显示全部楼层
多重启动的iso已经上传
回复

使用道具 举报

发表于 2013-5-21 17:12:06 | 显示全部楼层
本帖最后由 haook 于 2013-5-21 17:22 编辑

关于多重启动ISO的启动,启动菜单怎么编写???
比如说我想启动一个WIM格式的win8PE,菜单怎么写?
请教楼主两种菜单的写法?谢谢!
1:在UEFI下的菜单写法
2:在BIOS下的菜单写法
回复

使用道具 举报

 楼主| 发表于 2013-5-21 18:07:06 | 显示全部楼层
haook 发表于 2013-5-21 17:12
关于多重启动ISO的启动,启动菜单怎么编写???
比如说我想启动一个WIM格式的win8PE,菜单怎么写?
请教 ...

1、UEFI
先将你的win8pe的EFI启动文件bootmgr.efi或者你原来的efi\boot\bootx64.efi改名字为win8pe.efi放在winly文件夹
menuentry "【3】启动UEFI主板的windows8PE系统(如果有)" --class windows --class os {
search --no-floppy --file --set=root /winly/win8pe.efi
chainloader /winly/win8pe.efi
}
2、bios主板启动
menuentry "【3】启动bios主板的windows8pe系统(如果有)" --class windows --class os {
ntldr /bootmgr
}
回复

使用道具 举报

发表于 2013-5-22 00:27:00 | 显示全部楼层
我想請問~

支援鼠標嗎?

雖然只是短暫的選擇~但是可以提供更多的方便啊~
回复

使用道具 举报

发表于 2013-5-22 03:34:33 | 显示全部楼层
本帖最后由 2010nf17b 于 2013-6-2 00:05 编辑

謝謝樓主 , 這個工具 , 讓我的 U盤 UEFIX64功能更完備
回复

使用道具 举报

发表于 2013-5-22 13:08:11 | 显示全部楼层
支持一下
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-3-29 04:59

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表