无忧启动论坛

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

[讨论] 现在有没有通杀bios和uefi启动的网络启动包?

[复制链接]
发表于 2020-3-28 22:08:44 | 显示全部楼层 |阅读模式
本帖最后由 chinaren12 于 2020-3-29 20:03 编辑

看了好多本区的帖子,没有找到一个合适的合集。

不知道哪位大侠能出一个通杀bios启动和uefi启动网络启动包。

造福一下大家呢?


我昨晚找到一个,名字叫:灰大师。还行,就是8pe和10pe太大,不太适合老电脑和2g以下内存的电脑启动

地址在这里,采用IPXE方式启动的。

https://blog.csdn.net/missangel/article/details/102822671

大家有兴趣可以去看看
发表于 2020-3-28 23:13:23 | 显示全部楼层
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=378234
感觉不好可以换里面的PE.WIM
回复

使用道具 举报

发表于 2020-3-28 23:52:31 | 显示全部楼层
没有把
回复

使用道具 举报

发表于 2020-3-29 00:16:51 | 显示全部楼层
iPXE可以的啊,使用TinyPXE调用不同的引导文件就行了

点评

有没有整合的包?  详情 回复 发表于 2020-3-29 11:43
回复

使用道具 举报

 楼主| 发表于 2020-3-29 11:43:42 | 显示全部楼层
邪恶海盗 发表于 2020-3-29 00:16
iPXE可以的啊,使用TinyPXE调用不同的引导文件就行了

有没有整合的包?

点评

不知道你所谓的"整合包"是什么...  详情 回复 发表于 2020-3-29 15:56
回复

使用道具 举报

发表于 2020-3-29 15:56:29 | 显示全部楼层
chinaren12 发表于 2020-3-29 11:43
有没有整合的包?

不知道你所谓的"整合包"是什么...

点评

就是下载下来解压就可以使用的。不需要去修改什么东西。  详情 回复 发表于 2020-3-29 19:20
回复

使用道具 举报

发表于 2020-3-29 16:21:35 | 显示全部楼层
可以看一下我帖子,看看适不适合你

点评

嗯。我看了下,很不错,支持下  详情 回复 发表于 2020-3-29 19:49
回复

使用道具 举报

发表于 2020-3-29 19:07:21 | 显示全部楼层
"1049616166"制作的很好用。
回复

使用道具 举报

 楼主| 发表于 2020-3-29 19:20:36 来自手机 | 显示全部楼层
邪恶海盗 发表于 2020-3-29 15:56
不知道你所谓的"整合包"是什么...

就是下载下来解压就可以使用的。不需要去修改什么东西。

点评

付费定制,你说是不是一个更好的选择???  详情 回复 发表于 2020-3-29 19:48
回复

使用道具 举报

发表于 2020-3-29 19:48:09 | 显示全部楼层
chinaren12 发表于 2020-3-29 19:20
就是下载下来解压就可以使用的。不需要去修改什么东西。

付费定制,你说是不是一个更好的选择???
回复

使用道具 举报

 楼主| 发表于 2020-3-29 19:49:33 | 显示全部楼层
1049616166 发表于 2020-3-29 16:21
可以看一下我帖子,看看适不适合你

嗯。我看了下,很不错,支持下
回复

使用道具 举报

发表于 2020-6-2 12:34:54 | 显示全部楼层
有挺简单的
如果你要使用原封不动使用以下菜单  请自行编译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               Maxdos  Tool...
  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...
choose  selected && 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...
choose  selected && 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...
choose  selected && 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}
回复

使用道具 举报

发表于 2020-8-17 15:14:23 | 显示全部楼层
这个版本的tinypxe我用过,它主要是在配置文件config.ini多了一行代码:
[arch]
;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启动时显示对应环境的菜单。也可以自己编写菜单,把两种环境的菜单同时显示出来。
回复

使用道具 举报

发表于 2020-8-17 21:22:01 | 显示全部楼层
简单的可以用我的虚拟机模板,下载量挺大的,
http://bbs.wuyou.net/forum.php?m ... d=418194&extra=
不想用虚拟机可以提取tftpboot用tinypxe
回复

使用道具 举报

发表于 2020-8-18 21:54:23 | 显示全部楼层
我不是发过serva吗。
回复

使用道具 举报

发表于 2020-8-19 13:33:21 | 显示全部楼层
实测了下,tinypxe+马云汉化版iscsi console+ipxe双环境引导文件+ipxe脚本可以实现通杀启动
回复

使用道具 举报

发表于 2020-9-9 09:19:38 | 显示全部楼层
学习了
回复

使用道具 举报

发表于 2023-12-4 20:38:58 | 显示全部楼层
学习了。
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2024-3-29 06:35

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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