现在有没有通杀bios和uefi启动的网络启动包?
本帖最后由 chinaren12 于 2020-3-29 20:03 编辑看了好多本区的帖子,没有找到一个合适的合集。
不知道哪位大侠能出一个通杀bios启动和uefi启动网络启动包。
造福一下大家呢?
我昨晚找到一个,名字叫:灰大师。还行,就是8pe和10pe太大,不太适合老电脑和2g以下内存的电脑启动
地址在这里,采用IPXE方式启动的。
https://blog.csdn.net/missangel/article/details/102822671
大家有兴趣可以去看看
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=378234
感觉不好可以换里面的PE.WIM
没有把 iPXE可以的啊,使用TinyPXE调用不同的引导文件就行了 邪恶海盗 发表于 2020-3-29 00:16
iPXE可以的啊,使用TinyPXE调用不同的引导文件就行了
有没有整合的包? chinaren12 发表于 2020-3-29 11:43
有没有整合的包?
不知道你所谓的"整合包"是什么... 可以看一下我帖子,看看适不适合你 "1049616166"制作的很好用。 邪恶海盗 发表于 2020-3-29 15:56
不知道你所谓的"整合包"是什么...
就是下载下来解压就可以使用的。不需要去修改什么东西。 chinaren12 发表于 2020-3-29 19:20
就是下载下来解压就可以使用的。不需要去修改什么东西。
付费定制,你说是不是一个更好的选择??? 1049616166 发表于 2020-3-29 16:21
可以看一下我帖子,看看适不适合你
嗯。我看了下,很不错,支持下 有挺简单的
如果你要使用原封不动使用以下菜单请自行编译ipxe使只能支持设置poweroff 与 console 命令 或者直接注释以下与poweroff、console的命令
权限不足自行删除下括号中的内容含括号
#!ipxe
##check platform (pcbios or efi)
echo Platform: ${platform}
set menu-timeout 10000 #设置菜单自动选择超时时间
dhcp
isset ${next-server} || set next-server 192.168.2.254#自行指定服务器ip
set xieyi:string http(权限不足请自行删除这段)://${next-server}
iseq ${platform} pcbios && set start BIOS_MENU || set start EFI_MENU
goto ${start}
:BIOS_MENU
console --x 800 --y 600 --picture ${xieyi}/png/winpe.png #设置背景图片
set menu-default Bootlocaldisk #设置BIOS模式默认引导菜单
menu iPXE BIOS Boot Menu
item --gap -- --------------------------------- PE -------------------------------
item --key 1 Win8.1pe <1> Boot Nruan xiaobai Win8.1
item --key 2 Win10pe20200501 <2> Boot Eu Win10 x64 20200501
item --gap -- --------------------------- Install Linux --------------------------
item --key 3 menu-Linux <3> Linux Install Menu
item --gap -- -------------------------------- TOOL ------------------------------
item maxdos MaxdosTool...
item menu-disk Disk Tool...
item menu-other Other Tool...
item --gap -- ---------------------------- Advanced options ----------------------
item --key c config <c> Configure settings
item --key d shell <d> Drop to iPXE shell
item --key b Bootlocaldisk <b> Boot Local Disk
item --key r reboot <r> Reboot computer
item --key p poweroff <p> Shutdown Computer
item --key x exit <x> Exit iPXE and continue BIOS boot
choose --timeout ${menu-timeout} --default ${menu-default} selected
goto ${selected}
:shell
echo Type 'exit' to get the back to the menu
shell
goto ${start}
:reboot
reboot
:poweroff
poweroff
:exit
exit
:config
config
goto ${start}
:menu-Linux
menu Linux Install Menu
item --gap -- --------------------------- Local CentOS Install --------------------------
item --key 1 LocalCentos6 <1> Local Install CentOS 6 x86_64
item --key 2 LocalCentos7 <2> Local Install CentOS 7 x86-64
item --key 3 LocalCentos8 <3> Local Install CentOS 8 x86-64
item --key 0x08 back Back to top menu...
chooseselected && goto ${selected} || goto ${start}
# Centos Installation
:LocalCentos6
echo Starting CentOS 6 installer
set base ${xieyi}/Linux/CentOS6/x86_64
kernel ${base}/images/pxeboot/vmlinuz initrd=initrd.img repo=${base} || goto retry
initrd ${base}/images/pxeboot/initrd.img || goto retry
boot || goto retry
goto ${start}
:LocalCentos7
echo Starting CentOS 7 installer
set base ${xieyi}/Linux/CentOS7/x86_64
kernel ${base}/images/pxeboot/vmlinuz inst.repo=${base} || goto retry
initrd ${base}/images/pxeboot/initrd.img || goto retry
boot || goto retry
goto ${start}
:LocalCentos8
echo Starting CentOS 8 installer
set base ${xieyi}/Linux/CentOS8/x86_64
kernel ${base}/images/pxeboot/vmlinuz inst.repo=${base} || goto retry
initrd ${base}/images/pxeboot/initrd.img || goto retry
boot || goto retry
goto ${start}
:pxelinux
chain ${xieyi}/pxelinux.0 || goto retry
:grub4dos
chain ${xieyi}/grldr.0 || goto retry
:memtest
chain ${xieyi}/tools/memtest.bin || goto retry
goto ${start}
:maxdos
initrd ${xieyi}/tools/dostools/max9.3.ima
chain ${xieyi}/memdisk || goto retry
:menu-disk
menu Disk Tool
item diskgen DiskGen4.5
item Diskgenius DiskGen4.9.6
item mhdd MHDD
item --key 0x08 back Back to top menu...
chooseselected && goto ${selected} || goto ${start}
:diskgen
initrd ${xieyi}/tools/DOSTOOLS/DGDOS.IMG
chain ${xieyi}/memdisk || goto retry
:Diskgenius
initrd ${xieyi}/tools/DOSTOOLS/Diskgenius_4.9.6.iso
chain ${xieyi}/MEMDISK iso raw || goto retry
:mhdd
initrd ${xieyi}/tools/DOSTOOLS/MHDD.ISO
chain ${xieyi}/memdisk iso raw || goto retry
:menu-other
menu
item memtest memtest86+
item test ${xieyi} ----select change
item --key 0x08 back Back to top menu...
chooseselected && goto ${selected} || goto ${start}
:test
iseq ${xieyi} ftp && set xieyi http && goto menu-other ||
iseq ${xieyi} http && set xieyi ftp && goto menu-other ||
:Win10pe20200501
kernel ${xieyi}/boot/wimboot || goto retry
initrd ${xieyi}/boot/bootmgr.exe bootmgr.exe|| goto retry
initrd ${xieyi}/boot/bcd BCD|| goto retry
initrd ${xieyi}/boot/boot.sdi boot.sdi|| goto retry
initrd ${xieyi}/pe/EasyU10PEx64_0501/BOOT.wim BOOT.WIM|| goto retry
boot || goto retry
goto ${start}
:Win8.1pe
kernel ${xieyi}/boot/wimboot || goto retry
initrd ${xieyi}/boot/bootmgr.exe bootmgr.exe|| goto retry
initrd ${xieyi}/boot/bcd BCD|| goto retry
initrd ${xieyi}/boot/boot.sdi boot.sdi|| goto retry
initrd ${xieyi}/pe/WIN81X64/BOOT.wim BOOT.WIM|| goto retry
boot || goto retry
goto ${start}
:Bootlocaldisk
sanboot --no-describe --drive 0x80
:reboot
reboot
:exit
exit
:EFI_MENU
console --x 800 --y 600 --picture ${xieyi}/png/winpe.png
set menu-default Win10pe20200501EFI #设置EFI模式默认引导菜单
menu iPXE EFI Boot Menu
item --gap -- ------------------------------ EFI PE --------------------------------
item --key 1 Win8.1peEFI <1> EFI Boot Nruan xiaobai Win8.1
item --key 2 Win10pe20200501EFI <2> EFI Boot Eu Win10 x64 20200501
item --gap -- ---------------------------- Advanced options -----------------------
item --key r reboot <r> ReBoot Computer
item --key p poweroff <p> Shutdown Computer
choose --timeout ${menu-timeout} --default ${menu-default} selected
goto ${selected}
:Win8.1peEFI
kernel ${xieyi}/boot/wimboot || goto retry
initrd ${xieyi}/boot/bootx64.efi bootx64.efi || goto retry
initrd ${xieyi}/boot/BCD bcd || goto retry
initrd ${xieyi}/boot/boot.sdi boot.sdi || goto retry
initrd ${xieyi}/pe/WIN81X64/boot.wim boot.wim || goto retry
boot || goto retry
goto ${start}
:Win10pe20200501EFI
kernel ${xieyi}/boot/wimboot || goto retry
initrd ${xieyi}/boot/bootx64.efi bootx64.efi || goto retry
initrd ${xieyi}/boot/BCD bcd || goto retry
initrd ${xieyi}/boot/boot.sdi boot.sdi || goto retry
initrd ${xieyi}/pe/EasyU10PEx64_0501/boot.wim boot.wim || goto retry
boot || goto retry
goto ${start}
:retry
imgfree
prompt Error! press any key to back menu
goto ${start} 这个版本的tinypxe我用过,它主要是在配置文件config.ini多了一行代码:
;will over rule the bootp filename or opt67 if the client arch matches one of the below
00007=ipxe-snponly-x86-64.efi
在UEFI启动时中自动加载ipxe-snponly-x86-64.efi进入UEFI环境。
而启动菜单增加了判断传统BIOS和IEFI环境,在传统BIOS或UEFI启动时显示对应环境的菜单。也可以自己编写菜单,把两种环境的菜单同时显示出来。
简单的可以用我的虚拟机模板,下载量挺大的,
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=418194&extra=
不想用虚拟机可以提取tftpboot用tinypxe
我不是发过serva吗。 实测了下,tinypxe+马云汉化版iscsi console+ipxe双环境引导文件+ipxe脚本可以实现通杀启动 学习了 学习了。
页:
[1]