无忧启动论坛
标题: 互联网云引导镜像,兼容传统与EFI [打印本页]
作者: 友联电脑 时间: 2021-4-16 23:38
标题: 互联网云引导镜像,兼容传统与EFI
本帖最后由 友联电脑 于 2022-4-19 12:24 编辑
本引导是互联网前端引导镜像,由iPXE最新版1.21,编译后加工组合而成,同时兼容传统与EFI,安全引导除外。不含有任何计算机系统,压缩后的大小不到1M,有iso镜像及usb+hd镜像,应用于多种介质,文件使用7zip压缩,下载后需解压。
iso可直接用于虚拟机引导或写盘引导,usb需要写入相应的介质,不管是windows还是linux,直接用扇区写入工具写入即可。有些项目引导可能失败,后台数据还要进一步调配,修正
dd if=xxx of=yyy xxx源文件 yyy目标文件 更多参数用不了
接下来,就开机了......
好好学习,天天向上
重要提醒,重要提醒,重要提醒。某些被引导系统,内有自动远程控制。远程方式为ssh及vnc
广东用户,清空所有硬盘,重新分区,全程在线无人值守 ,任务完成
相关菜单,逐步贴上,其实都大同小异
首页启动菜单
#!ipxe
set menu-timeout 5000
set menu-default Redorescue3
colour --basic 3 7
console -p background1.png
:start
menu Guest Computer IP is ${ip} Boot From http://www.youlianpc.com
item --gap -- -------------------------------- Windows Tools --------------------------------
item --key 1 Win8PE BOOT Win8PE .....................................................(youlianpc.com)
item --key 2 Win10PES BOOT Win10PES ...................................................(youlianpc.com)
item --key 3 Win10PEO BOOT Win10PEO ...................................................(youlianpc.com)
item --key 4 Win10PEL BOOT Win10PEL ...................................................(youlianpc.com)
item --key 5 Other BOOT Othertools .................................................(youlianpc.com)
item --gap -- ----------------------------------Linux RamOS-----------------------------------
item --key p Porteus Porteus Desktop..................................................(youlianpc.com)
item --key r Redorescue Redo Rescue2.....................................................(youlianpc.com)
item --key R Redorescue3 Redo Rescue3.....................................................(youlianpc.com)
item --key s debian-S Debian Server....................................................(youlianpc.com)
item --key D debian-D Debian Desktop...................................................(youlianpc.com)
item --gap -- ---------------------------------Server Deploy----------------------------------
item --key S Server_Deploy Deploy Linux Node ...............................................(youlianpc.com)
item --gap -- ------------------------------ Advanced options --------------------------------
item --key l Local Boot from local hard drive -- l
item reboot Reboot computer
choose --timeout ${menu-timeout} --default ${menu-default} selected
imgfree
goto ${selected}
:failed
echo Booting failed, dropping to shell
goto shell
:Local
sanboot --no-describe --drive 0x80
goto failed
:reboot
reboot
:debian-D
chain ${server}le_debiand_www.ipxe || goto debian-D
:debian-S
chain ${server}le_debians_www.ipxe || goto debian-S
:Porteus
chain ${server}porteus_live_cin.php || goto Porteus
:Redorescue
chain ${server}le_redo_www.ipxe || goto Redorescue
:Redorescue3
chain ${server}le_redo3_www.ipxe || goto Redorescue3
:iso
chain ${server}memdisk iso raw || goto iso
:imgs
chain ${server}memdisk img raw || goto imgs
:Win8PE
initrd ${server}iso/win8pe.iso && goto iso
:Win10PEO
initrd ${server}iso/win10pe_yl0.iso && goto iso
:Win10PES
initrd ${server}iso/win10pe_yls.iso && goto iso
:Win10PEL
initrd ${server}iso/win10pe_yll.iso && goto iso
:Server_Deploy
chain ${server}le_server_www.ipxe || goto Server_Deploy
:Other
chain ${server}le_tools_www.ipxe || goto Other
Redo启动菜单
#!ipxe
kernel ${server}redo3/vmlinuz
initrd ${server}redo3/initrd
imgargs vmlinuz boot=overlay image=filesystem.squashfs url=${server}redo3 vga=791 quiet splash setkmap=us --
boot
WinPE类EFI启动菜单
#!ipxe
kernel ${server}wimboot
#initrd ${server}iso/8/bootmgr.efi bootmgr.efi
initrd ${server}iso/8/efi/microsoft/boot/bcd bcd
initrd ${server}iso/8/boot/boot.sdi boot.sdi
initrd ${server}iso/8/efi/boot/bootx64.efi bootx64.efi
initrd ${server}iso/8/sources/boot.wim boot.wim
boot
Debian buster 启动菜单
#!ipxe
kernel ${server}debian/vmlinuz
initrd ${server}debian/initrd.img
imgargs vmlinuz initrd=initrd.img boot=overlay ip=dhcp text vga=791 image=buster_server.squashfs url=${server}debian rw locale=zh_CN quiet --
boot
211227 调测Linux类相关服务器和桌面版,进入互联网引导
以下服务器基本都可以直接部署
2020415:修正UEFI下引导
youlian.part2.rar
(972.31 KB, 下载次数: 120)