无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
12
返回列表 发新帖
楼主: teasiu
打印 上一主题 下一主题

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

    [复制链接]
31#
 楼主| 发表于 2013-5-29 07:27:15 | 显示全部楼层
ruixing 发表于 2013-5-28 22:06
如U盘被认作(HD1,MSDOS1) ,如何启动WIN8PE

视乎你的pe启动结构。

1、如果pe已经是可启动的镜像,那么,需要用syslinux的memdisk来启动。(重复启动)
        menuentry "启动PE镜像(示例)"  
    {
      set root=(hd1,msdos1)
            linux16 /memdisk iso raw  #这里需要下载一个memdisk在相对位置
            initrd16 /WINPE.iso                                 
    }
2、如果是wim形式,以bootmgr启动时
menuentry "【2】启动bios主板的windowsPE系统" {
set root=(hd1,msdos1)
ntldr /bootmgr
}
3、如果efi模式
menuentry "【5】启动UEFI主板的64-bit PE系统(如果有)"  {
set root=(hd1,msdos1)
chainloader /EFI/microsoft/boot/bootx64.efi
}
menuentry "【6】启动UEFI主板的windows系统(如果有)"  {
set root=(hd1,msdos1)
chainloader /EFI/microsoft/boot/bootmgfw.efi
}
回复

使用道具 举报

32#
 楼主| 发表于 2013-5-31 21:24:49 | 显示全部楼层
2012shuy 发表于 2013-5-31 21:04
GRUB2确实强大,但对于没有基础的菜鸟而言,如下这些英文的东西,想记住学会确实也比登天还难.
set root=(hd1 ...

难者难,易者易而已。

我把高深的软件编译方法公布出来,你却以为是使用方法。
而使用的方法其实一点也不难,你却因为不熟悉或者畏惧新事物而却步,何为?


回复

使用道具 举报

33#
 楼主| 发表于 2015-4-8 12:54:08 | 显示全部楼层
看来,我要重新再编译一次新版,大家才肯放过我了.

点评

强烈希望神雕大侠编译最新版!造福坛友和网民,功德无量!  发表于 2015-4-17 10:48
回复

使用道具 举报

34#
 楼主| 发表于 2015-4-29 02:32:21 | 显示全部楼层
2012bunnytool 发表于 2015-4-28 23:49
为什么我引导EFI文件总是提示invalid signature ?是不是需要insmod什么模块?

确定你下载的是winly.efi?
不要在bios的winlyldr启动环境中运行efi哦

点评

哦,原来是这样。我还以为BIOS下的grub2可以管理我的gpt格式的系统呢。我没有UEFI环境,用clover模拟的EFI可以顺利引导EFI版的UBUNTU安装,也可以引导EFI的win7安装,我以为grub2也有相同的功能。原来还是不行。  详情 回复 发表于 2015-4-30 00:13
回复

使用道具 举报

35#
 楼主| 发表于 2015-4-30 01:40:11 | 显示全部楼层
2012bunnytool 发表于 2015-4-30 00:13
哦,原来是这样。我还以为BIOS下的grub2可以管理我的gpt格式的系统呢。我没有UEFI环境,用clover模拟的EF ...

表示理解你的状态。
回复

使用道具 举报

36#
 楼主| 发表于 2015-5-5 00:16:23 | 显示全部楼层
LB-KJM 发表于 2015-5-4 20:18
menuentry "【1】启动slitaz微型linux中文定制版"  --class slitaz --class os {
linux /boot/bzImage rw  ...

此版本内核貌似不支持efi,需要定制一个新内核才行.

点评

已经验证支持efi grub2在U盘,slitaz.iso在硬盘第四分区Linux目录下 我的启动项 menuentry "启动slitaz微型linux中文定制版" --class slitaz --class os { insmod ntfs search -s -f /linux/slitaz.iso  详情 回复 发表于 2015-5-5 05:47
回复

使用道具 举报

37#
 楼主| 发表于 2016-1-16 01:53:53 | 显示全部楼层
网启版的grub2出来了,欢迎大家试用并提供修改意见

点评

Can you make Winly PXE, UEFI custom build?  详情 回复 发表于 2016-1-17 19:59
回复

使用道具 举报

38#
 楼主| 发表于 2016-1-17 14:48:58 | 显示全部楼层
pcfan120 发表于 2016-1-17 10:45
期待楼主有调试好的PXE成品给我们菜鸟学习。。

不是已经调试好了吗?你遇到什么问题了?
回复

使用道具 举报

39#
 楼主| 发表于 2016-1-17 21:15:15 | 显示全部楼层
2012mshs 发表于 2016-1-17 19:59
Can you make Winly PXE, UEFI custom build?

you mean how to build pxe?

点评

Yes. Can you tell me how to do it (PXE, bootx64.efi, boota32.efi)?. Thank you so much!  详情 回复 发表于 2016-1-17 21:33
回复

使用道具 举报

40#
 楼主| 发表于 2016-1-18 04:53:37 | 显示全部楼层
本帖最后由 teasiu 于 2016-1-18 05:32 编辑
2012mshs 发表于 2016-1-17 21:33
Yes. Can you tell me how to do it (PXE, bootx64.efi, boota32.efi)?. Thank you so much!
I found  ...


Depends which OS you used.
e.x. Windows:
All you need in here:
http://alpha.gnu.org/gnu/grub/grub-2.02~beta2-for-windows.zip
And then follow the usage :

pxe for bios:
open your windows terminal, login the files folder, type "grub-mknetdir.exe --help"
Then you will find the way to build it, just like "grub-mknetdir --net-directory=/srv/tftp --subdir=/boot/grub -d i386-pc", after do it, all the files will be output under your work disk partition root "/srv/tftp"
Now you see the key is "platform".so,
pxe for efi:
"grub-mknetdir --net-directory=/srv/tftp --subdir=/boot/grub -d i386-efi",
"grub-mknetdir --net-directory=/srv/tftp --subdir=/boot/grub -d x86_64-efi",
boot file "core.0/core.efi" output here /srv/tftp/boot/grub/<platform> should be work.

If you want to build EFI boot files,
see "grub-install.exe --usage"
also read this page:
http://www.000111.org/blog/?post=13
example:
grub-install.exe --boot-directory=f:\ --target=i386-pc \\.\PHYSICALDRIVE2
grub-install.exe --boot-directory=f:\ --target=i386-efi \\.\PHYSICALDRIVE2
grub-install.exe --boot-directory=f:\ --target=x86_64-efi \\.\PHYSICALDRIVE2
so easy.

finally, write a grub.cfg file and done.

点评

Thank you so much. I was try in windows and PXE for bios work ok. But PXE for uefi doesn't work. Error "sector sizes of 1 bytes aren't supported yet". I was try with this code grub-mknetdir --net-dir  详情 回复 发表于 2016-1-20 19:01
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-5-12 02:31

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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