无忧启动论坛

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

[发布] 刚编译的ipxe,全功能版!支持各种协议。。。12.4更新

  [复制链接]
1#
发表于 2018-11-29 10:35:30 | 显示全部楼层
本帖最后由 yigeren 于 2018-11-29 10:39 编辑
rabbired 发表于 2018-11-29 09:45
肯定要翻啊。加ctrl+b是为了以防万一。


建议换个快捷键吧,CTRL+B默认是进入命令行,有点冲突

楼主能帮忙编译个不内置脚本的全命令版本的,谢谢

点评

本来就是进命令行的啊,要不放个CTRL+B干嘛呢。。。  详情 回复 发表于 2018-11-29 11:22
回复

使用道具 举报

2#
发表于 2018-11-30 10:35:51 | 显示全部楼层
能不能帮忙翻译一个不内置脚本的?

点评

不带内置脚本的话 你直接去下载官方编译的版本不香吗 http://boot.ipxe.org/  详情 回复 发表于 2020-1-27 17:11
https://pan.baidu.com/s/1-3o5vcO4Vz6PKxdD-W8duA 今天正好有空,刚编译的,试试看吧  详情 回复 发表于 2018-12-1 20:21
不内置脚本的话,是直接进命令行吗? 我编译的都是内置了脚本的,加载tftp上的菜单  详情 回复 发表于 2018-11-30 14:39
回复

使用道具 举报

3#
发表于 2018-12-2 11:40:01 | 显示全部楼层
rabbired 发表于 2018-12-1 20:21
https://pan.baidu.com/s/1-3o5vcO4Vz6PKxdD-W8duA

今天正好有空,刚编译的,试试看吧

谢谢,已下载,试用了下发现启动速度比较慢了点,如下图:

ipxe.png (17.88 KB, 下载次数: 194)

ipxe

ipxe

点评

ipxe本来启动就慢,协议多内容多,rom-o-matic.eu编译的undionly感觉是有问题的,它应该还是内嵌了ipxe的驱动,所以就更慢了。不同的网络环境也对启动速度有影响的。  详情 回复 发表于 2018-12-2 12:41
回复

使用道具 举报

4#
发表于 2018-12-2 13:51:42 | 显示全部楼层
rabbired 发表于 2018-12-2 12:41
ipxe本来启动就慢,协议多内容多,rom-o-matic.eu编译的undionly感觉是有问题的,它应该还是内嵌了ipxe的 ...

在这下载的启动比较快点:http://boot.ipxe.org/
发现慢的地方在加载Configurin时会比较慢

评分

参与人数 1无忧币 +5 收起 理由
北冥有鱼 + 5 赞一个!

查看全部评分

回复

使用道具 举报

5#
发表于 2018-12-2 16:58:45 | 显示全部楼层
全命令版本才能弄背景图片,也有关机命令,感谢

ipxe.png (580.48 KB, 下载次数: 245)

ipxe

ipxe

点评

高手,背景图片怎么加的啊?  详情 回复 发表于 2019-6-17 21:05
不客气,ipxe官方版的内置脚本不知道是什么,应该是跳过搜索配置文件和配置网络,直接进shell的,所以启动速度最快。 你这个启动界面很不错啊,pe是自己做的版本?menu能发来借鉴一下吗?谢谢  详情 回复 发表于 2018-12-3 12:38
回复

使用道具 举报

6#
发表于 2018-12-3 14:19:30 | 显示全部楼层
rabbired 发表于 2018-12-3 12:38
不客气,ipxe官方版的内置脚本不知道是什么,应该是跳过搜索配置文件和配置网络,直接进shell的,所以启 ...

PE都是采用本论坛的,菜单如下:
Tiny PXE Server有点不好,最小化不能缩到右下角任务栏里,Hanewin和tftpd32都可以
#!ipxe
#check platform (pcbios or efi)
#login
#iseq ${username} yigeren || goto reboot                #登录用户名:yigeren
#iseq ${password} wuyou || goto reboot                #登录密码:wuyou
echo Platform: ${platform}
set menu-timeout 20000
dhcp
isset ${next-server} || set next-server 192.168.1.2  #自行指定服务器ip
iseq ${platform} pcbios && set start BIOS_MENU || set start EFI_MENU        #(pcbios && efi)
goto ${start}
:BIOS_MENU
set menu-default win10pe
menu iPXE BIOS Boot Menu        ${ip}
console --x 800 --y 600 --picture http://${next-server}/ipxe.png --left 30 --right 450 --top 30
#item win2003                0.Yigeren Win2003PE
item --key 1 win7pe        1.Yigeren Win7PE
item --key 2 win8pe        2.Yigeren Win8PE
item --key 3 win8x64        3.Yigeren Win8x64PE
item --key 4 win10pe        4.Yigeren Win10x64PE
item --key 5 maxdos        5.MAXDOS9.3PLUS
item --key 6 diskgen        6.DISKGEN
item --key 7 hddreg        7.HDDREG
#item --key 8 pxelinux        8.PXELINUX MENU
item --key h hddboot        H.HDDBOOT
item --key r reboot        R.ReBoot Computer
item --key s poweroff        S.ShutDown

choose --timeout ${menu-timeout} --default ${menu-default} selected
goto ${selected}

:shell
echo Type 'Exit' to get the back to the menu
shell
goto start

:failed
echo Booting failed, dropping to shell
goto shell

:reboot
reboot

:poweroff
poweroff

:hddboot
sanboot --no-describe --drive 0x80

:maxdos
initrd http://${next-server}/img/MAXDOS.IMG
chain http://${next-server}/memdisk || goto failed

:diskgen
initrd http://${next-server}/img/DISKGEN.img
chain http://${next-server}/memdisk || goto failed

:hddreg
initrd http://${next-server}/img/HDDREG.IMG
chain http://${next-server}/memdisk || goto failed

#:pxelinux
#chain http://${next-server}/pxe/pxelinux.0 || goto failed

#:win2003
#kernel http://${next-server}/STARTROM.0
#boot || goto failed

:win7pe
kernel http://${next-server}/wimboot
initrd http://${next-server}/boot/bootmgr.exe                bootmgr.exe
initrd http://${next-server}/boot/BCD                        BCD
initrd http://${next-server}/boot/boot.sdi                boot.sdi
initrd http://${next-server}/boot/Win7PE.wim                Win7PE.wim
boot || goto failed

:win8pe
kernel http://${next-server}/wimboot
initrd http://${next-server}/boot/bootmg8.exe                bootmgr.exe
initrd http://${next-server}/boot/BC8                               BC8
initrd http://${next-server}/boot/boot.sdi                      boot.sdi
initrd http://${next-server}/boot/Win8PE.wim                Win8PE.wim
boot || goto failed

:win8x64
kernel http://${next-server}/wimboot
initrd http://${next-server}/boot/boot864.exe                bootmgr.exe
initrd http://${next-server}/boot/864                        864
initrd http://${next-server}/boot/boot.sdi                boot.sdi
initrd http://${next-server}/boot/Win864PE.wim                Win864PE.wim
boot || goto failed

:win10pe
kernel http://${next-server}/wimboot
initrd http://${next-server}/boot/boot164.exe                bootmgr.exe
initrd http://${next-server}/boot/164                        164
initrd http://${next-server}/boot/boot.sdi                boot.sdi
initrd http://${next-server}/boot/Win10x64.wim                Win10x64.wim
boot || goto failed
goto start


:EFI_MENU
set menu-default win10efi
menu iPXE EFI Boot Menu                ${ip}
console --x 800 --y 600 --picture http://${next-server}/ipxe.png --left 30 --right 450 --top 30
item win8efi                1.Yigeren Win8x64PE
item win10efi                2.Yigeren Win10x64PE
item --key r reboot        R.ReBoot Computer
item --key s poweroff        S.ShutDown

choose --timeout ${menu-timeout} --default ${menu-default} selected
goto ${selected}

:win8efi
kernel http://${next-server}/wimboot
initrd http://${next-server}/boot/bootx64.efi                                bootx64.efi
initrd http://${next-server}/boot/boot864.exe                                bootmgr.exe
initrd http://${next-server}/efi/microsoft/boot/864                        864
initrd http://${next-server}/efi/microsoft/boot/fonts/chs_boot.ttf        chs_boot.ttf
initrd http://${next-server}/efi/microsoft/boot/fonts/wgl4_boot.ttf        wgl4_boot.ttf
initrd http://${next-server}/boot/boot.sdi                                boot.sdi
initrd http://${next-server}/boot/Win864PE.wim                                Win864PE.wim
boot || goto failed

:win10efi
kernel http://${next-server}/wimboot
initrd http://${next-server}/efi/boot/bootx64.efi                        bootx64.efi
initrd http://${next-server}/boot/boot164.exe                                bootmgr.exe
initrd http://${next-server}/efi/microsoft/boot/BCD                        BCD
initrd http://${next-server}/efi/microsoft/boot/fonts/chs_boot.ttf        chs_boot.ttf
initrd http://${next-server}/efi/microsoft/boot/fonts/wgl4_boot.ttf        wgl4_boot.ttf
initrd http://${next-server}/boot/boot.sdi                                boot.sdi
initrd http://${next-server}/boot/Win10x64.wim                                Win10x64.wim
boot || goto failed
goto start  

点评

#iseq ${username} yigeren || goto reboot #登录用户名:yigeren #iseq ${password} wuyou || goto reboot #登录密码:wuyou 这个是你设置的?这么搞没用的,要用http弄个php,ipx  详情 回复 发表于 2018-12-3 22:00
回复

使用道具 举报

7#
发表于 2018-12-4 00:02:31 | 显示全部楼层
rabbired 发表于 2018-12-3 22:00
#iseq ${username} yigeren || goto reboot                #登录用户名:yigeren
#iseq ${password} w ...

这个现在没使用,你看我在前面都加了#号的,需要用把#号去掉就行了
你说的这个是用来配合san和iscsi做验证的我不清楚,ipxe脚本命令我也不是很懂
呵,加入这个也就是好玩而已


点评

https://pan.baidu.com/s/1lUh5x4QIau184jXWwVbK8w 新版,改进了启动速度应该能媲美官方版。  详情 回复 发表于 2018-12-4 22:19
回复

使用道具 举报

8#
发表于 2018-12-5 10:38:08 | 显示全部楼层
rabbired 发表于 2018-12-4 22:19
https://pan.baidu.com/s/1lUh5x4QIau184jXWwVbK8w

新版,改进了启动速度应该能媲美官方版。

这个版本直接进入命令行状态,不会加载设置的ipxe脚本菜单文件


ipxe2.png (13.68 KB, 下载次数: 209)

2

2

ipxe.png (29.11 KB, 下载次数: 221)

1

1

点评

是的,内嵌脚本屏蔽了所有加载动作,直接进shell.  详情 回复 发表于 2018-12-5 20:13
回复

使用道具 举报

9#
发表于 2018-12-5 19:26:08 | 显示全部楼层
发现TinyPXEServer的HTTP功能有一点不好,只要输入:http://192.168.1.2所有文件一览无遗

点评

http不就是这样的嘛,要安全就用https加个登录验证。  详情 回复 发表于 2018-12-5 20:15
回复

使用道具 举报

10#
发表于 2018-12-5 20:39:51 | 显示全部楼层
本帖最后由 yigeren 于 2018-12-5 20:42 编辑
rabbired 发表于 2018-12-5 20:13
是的,内嵌脚本屏蔽了所有加载动作,直接进shell.


官方的可以加载指定的脚本菜单文件比较方便,上一个版本的就是加载速度慢了一些,这个版本直接进SHELL不方便的
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-5-3 02:14

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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