无忧启动论坛

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

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

    [复制链接]
271#
发表于 2015-10-27 21:32:20 | 只看该作者
多重启动UEFI/DOS的光盘iso
其实就是想简单的用一个U盘支持bios和uefi,用UltraISO写了这个ISO到U盘,电脑启动菜单,确实出现了UEFI和bios两项。
但是UEFI可以正常进入菜单,BIOS模式根本连菜单都进不去。

我再重启一下,给神雕大侠拍照看看。

回复

使用道具 举报

272#
发表于 2015-10-27 22:01:34 | 只看该作者
用UltraISO写的ISO,无隐藏模式。

http://wuyou.net/forum.php?mod=attachment&aid=MjMwMjIzfDRmZTEzNjIxODkzOTE2NzUyYWUzYmUzMzU3ZTQ3ODkwfDE3MTYyNTU3NTM%3D&request=yes&_f=.jpg
选择启动项,UEFI,bios都有了,支持。
http://wuyou.net/forum.php?mod=attachment&aid=MjMwMjI0fDhhZTgwMTVmMjk3MTdmNDY2MDVmOTBiZDk1MDc1OGEwfDE3MTYyNTU3NTM%3D&request=yes&_f=.jpg
UEFI引导菜单,先引导起来再说怎么修改启动项,怎么增加自己需要的启动功能。
http://wuyou.net/forum.php?mod=attachment&aid=MjMwMjI1fDM3MWU2NGVkODA0YmYxYzRiMDMyMGMzZGY4OTg4MWZifDE3MTYyNTU3NTM%3D&request=yes&_f=.jpg
bios引导就这个样子了,一直启动不起来。
2、bios主板手动解包安装:
包含4个文件
1、内核文件 winlyldr
2、mbr引导文件 winlyldr.mbr
3、菜单文件winly.cfg
4、字体文件unicode.pf2

winlyldr.zip (1.38 MB, 下载次数: 4310)
把这个放进去也不行。

IMG_20151027_213314.jpg (129.49 KB, 下载次数: 150)

IMG_20151027_213314.jpg

IMG_20151027_213327.jpg (126.52 KB, 下载次数: 133)

IMG_20151027_213327.jpg

IMG_20151027_213426.jpg (185.63 KB, 下载次数: 154)

IMG_20151027_213426.jpg
回复

使用道具 举报

273#
发表于 2015-10-31 23:48:39 | 只看该作者
teasiu 发表于 2013-5-22 19:02
ntldr (hd0,1)/xxxx/xxxx/xxxx/xxxx/xxxx/xxxx/bootmgr

理论上,你想放在哪里都可以。

请问LZ,我是EFI启动,grub.cfg用记事本修改后,显示:引导默认启动项和会滚启动项均失败,怎么解决?谢谢!

点评

不好意思,已经解决,自己语句输入错误。  详情 回复 发表于 2015-11-1 00:59
回复

使用道具 举报

274#
发表于 2015-11-1 00:59:34 | 只看该作者
hlmwyqd 发表于 2015-10-31 23:48
请问LZ,我是EFI启动,grub.cfg用记事本修改后,显示:引导默认启动项和会滚启动项均失败,怎么解决?谢 ...

不好意思,已经解决,自己语句输入错误。
回复

使用道具 举报

275#
发表于 2015-11-9 15:09:25 | 只看该作者
你好!
winly 启动菜单在T440P电脑上,菜单键盘响应非常慢,可能是什么原因呢?
ubuntu 14.04 也是grub2.02, 菜单键盘响应正常
回复

使用道具 举报

276#
发表于 2015-11-10 02:22:27 | 只看该作者
你好
grub4dos的菜单
timeout=0

default=0

## Menu AutoNumber

title test

find --set-root --ignore -floppies --ignore-cd /grub/test.bin

kernel /grub/test.bin

如果要用到grub2要怎么改
回复

使用道具 举报

277#
发表于 2015-11-22 22:31:07 | 只看该作者
谢谢分享,收下来试试
回复

使用道具 举报

278#
发表于 2015-11-28 02:31:06 | 只看该作者
我自己编译的不支持图形
回复

使用道具 举报

279#
发表于 2015-12-5 00:01:42 | 只看该作者
我想研究使用grub2
回复

使用道具 举报

280#
发表于 2015-12-8 10:47:44 | 只看该作者
zengqcyxx 发表于 2015-10-25 10:03
##########
if [ -e $prefix/i386-pc/ntldr.mod ]; then
menuentry "【1】启动windows 2003PE系统【128 ...

grub2 内置变量
grub_platform
此GRUB所适用的平台类型。例如:'pc', 'efi'。由GRUB2自动设置。你只应该使用此变量,而不应该修改它。

用这个变量就可以直接判断当前grub2 是bios 模式还是efi 模式
回复

使用道具 举报

281#
发表于 2015-12-8 11:21:25 | 只看该作者
一直在关注
回复

使用道具 举报

282#
发表于 2015-12-19 16:52:20 来自手机 | 只看该作者
返回键28连击漏洞准备修复吗?
回复

使用道具 举报

283#
发表于 2015-12-28 08:57:44 | 只看该作者
神雕大侠的工具就是好,不需要什么基础,就能让grub2上更多人的手了!
回复

使用道具 举报

284#
发表于 2015-12-28 16:31:57 | 只看该作者
那个winly.mbr是怎么制作出来的?
是安装完grub2后恢复扇区吗?
回复

使用道具 举报

285#
发表于 2016-1-2 17:02:23 | 只看该作者
How to make winly bootia32.efi & bootx64.efi?
回复

使用道具 举报

286#
 楼主| 发表于 2016-1-16 01:53:53 | 只看该作者
网启版的grub2出来了,欢迎大家试用并提供修改意见

点评

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

使用道具 举报

287#
发表于 2016-1-16 11:49:48 | 只看该作者
谢谢!感觉这是最好的引导工具,希望不断更新。。。。
回复

使用道具 举报

288#
发表于 2016-1-16 21:39:41 | 只看该作者
楼主编译的东西真不错,非常好用
回复

使用道具 举报

289#
发表于 2016-1-17 10:45:51 | 只看该作者
期待楼主有调试好的PXE成品给我们菜鸟学习。。

点评

不是已经调试好了吗?你遇到什么问题了?  详情 回复 发表于 2016-1-17 14:48
回复

使用道具 举报

290#
 楼主| 发表于 2016-1-17 14:48:58 | 只看该作者
pcfan120 发表于 2016-1-17 10:45
期待楼主有调试好的PXE成品给我们菜鸟学习。。

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

使用道具 举报

291#
发表于 2016-1-17 19:59:34 | 只看该作者
teasiu 发表于 2016-1-16 01:53
网启版的grub2出来了,欢迎大家试用并提供修改意见

Can you make Winly PXE, UEFI custom build?

点评

you mean how to build pxe?  详情 回复 发表于 2016-1-17 21:15
回复

使用道具 举报

292#
 楼主| 发表于 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?
回复

使用道具 举报

293#
发表于 2016-1-17 21:33:14 | 只看该作者
本帖最后由 2012mshs 于 2016-1-17 21:54 编辑
teasiu 发表于 2016-1-17 21:15
you mean how to build pxe?


Yes. Can you tell me how to do it (PXE, bootx64.efi, boota32.efi)?. Thank you so much!
I found small tips from here
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=327807
Maybe you explain more.

点评

Depends which OS you used. e.p. Windows: All you need in here: http://alpha.gnu.org/gnu/grub/grub-2.02~beta2-for-windows.zip And then follow the useage : pxe for bios: open your windows termi  详情 回复 发表于 2016-1-18 04:53
回复

使用道具 举报

294#
 楼主| 发表于 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.
回复

使用道具 举报

295#
发表于 2016-1-18 09:31:02 | 只看该作者
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-directory=/srv/tftp --subdir=/boot/grub -d x86_64-efi --modules="efinet normal tftp"
it can boot but it can not find grub.cfg.
I use Slitaz ISO, can you write it in Slitaz?
回复

使用道具 举报

296#
发表于 2016-1-19 09:02:34 | 只看该作者
楼主,真希望winly能像grub4dos一样。。。。能加载普通的 IMG  和  ISO  文件呀
回复

使用道具 举报

297#
发表于 2016-1-19 14:02:16 | 只看该作者
必须收藏,置顶,强帖,感谢版主,俺的电脑终于可以在2016升级了,软件启动功能方面的重大升升级!
回复

使用道具 举报

298#
发表于 2016-1-20 19:01:52 | 只看该作者
teasiu 发表于 2016-1-18 04:53
Depends which OS you used.
e.x. Windows:
All you need in here:

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-directory=/srv/tftp --subdir=/boot/grub -d x86_64-efi --modules="efinet normal tftp"
it can boot but it can not find grub.cfg.
I use Slitaz ISO, can you write it in Slitaz?
And a stupid question: How to config TFTP32 (for windows) with Winly PXE?
回复

使用道具 举报

299#
发表于 2016-1-27 21:05:24 | 只看该作者

请问winly怎么写这种类型的主题(burg的主题)?或者给个模板
回复

使用道具 举报

300#
发表于 2016-2-6 09:07:59 | 只看该作者
这是怎么回事?这个有用吗?直接进启动项菜单可以吗?谢谢!
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-5-21 09:42

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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