无忧启动论坛

标题: 利用ikuai路由,制作无盘启动 [打印本页]

作者: lkflsj    时间: 2025-9-5 15:18
标题: 利用ikuai路由,制作无盘启动
本帖最后由 lkflsj 于 2025-9-5 15:41 编辑

ikuai开启了http tftp dhcp等服务,怎么用sanboot引导开机(无盘)

作者: tonan115    时间: 2025-9-5 15:43
January
作者: 肉仔    时间: 2025-9-5 15:48
ikuai路由 也能制作启动啊。。。学习了。。。
作者: GoGatorsGo    时间: 2025-9-5 15:52

下载收藏,谢谢分享!
作者: 邪恶海盗    时间: 2025-9-5 17:19
参考sanboot命令用法:
  1.   sanboot [--drive <drive>] [--filename <filename>] [--extra <filename>]
  2.           [--label <label>] [--uuid <uuid>]
  3.           [--no-describe] [--keep] [<uri>] [<uri>...]
复制代码

来源于https://ipxe.org/cmd/sanboot
作者: 友联电脑    时间: 2025-9-5 17:22
用dhcp就可以,其它的找台服务器做。
作者: handsome_xiang    时间: 2025-9-5 18:42
感谢分享!
作者: 蘭蘭    时间: 2025-9-5 20:04
有空试试看!
作者: 江南一根葱    时间: 2025-9-5 20:04
无盘启动必然要有地方写,一个镜像,你写去哪
作者: kimleee    时间: 2025-9-5 20:48
感谢分享
作者: 2012zcsh    时间: 2025-9-5 21:13
邪恶海盗 发表于 2025-9-5 17:19
参考sanboot命令用法:

来源于https://ipxe.org/cmd/sanboot

谢谢分享。
作者: 夏日风    时间: 2025-9-6 09:48
感谢分享
作者: lkflsj    时间: 2025-9-7 18:13
邪恶海盗 发表于 2025-9-5 17:19
参考sanboot命令用法:

来源于https://ipxe.org/cmd/sanboot


用iscsi挂载系统盘后,进PE系统查看只有1G大小,并不是我做好的系统盘镜像

作者: 邪恶海盗    时间: 2025-9-7 19:40
lkflsj 发表于 2025-9-7 18:13
用iscsi挂载系统盘后,进PE系统查看只有1G大小,并不是我做好的系统盘镜像

不懂,没玩过,别问我...


二○二五年九月七日
作者: 邪恶海盗    时间: 2025-9-7 19:47
忘记在哪看到的了,自己看,不懂:
  1. ###########################################################
  2. :linux
  3. menu Install Linux
  4. item ubuntu-installer                ubuntu-installer over internet (memdisk)
  5. item debian-installer                debian-installer over internet (memdisk)
  6. item kali-installer                kali-installer over internet (memdisk)
  7. item back Back to top menu...
  8. iseq ${menu-default} menu-recovery && isset ${submenu-default} && goto menu-recovery-timed ||
  9. choose selected && goto ${selected} || goto start
  10. :menu-recovery-timed
  11. choose --timeout ${submenu-timeout} --default ${submenu-default} selected && goto ${selected} || goto start

  12. #http://no.archive.ubuntu.com/ubuntu/dists/
  13. #https://doc.ubuntu-fr.org/versions
  14. :ubuntu-installer
  15. cpuid --ext 29 && set arch amd64 || set arch i386
  16. initrd http://no.archive.ubuntu.com/ubuntu/dists/bionic/main/installer-${arch}/current/images/netboot/mini.iso
  17. chain ${boot-url}/memdisk iso || goto failed
  18. #or
  19. #kernel http://no.archive.ubuntu.com/ubuntu/dists/bionic/main/installer-${arch}/current/images/netboot/ubuntu-installer/${arch}/linux
  20. #initrd http://no.archive.ubuntu.com/ubuntu/dists/bionic/main/installer-${arch}/current/images/netboot/ubuntu-installer/${arch}/initrd.gz
  21. boot || goto failed
  22. goto start

  23. :debian-installer
  24. cpuid --ext 29 && set arch amd64 || set arch i386
  25. initrd http://debian.mirrors.ovh.net/debian/dists/stable/main/installer-${arch}/current/images/netboot/mini.iso
  26. chain ${boot-url}/memdisk iso raw || goto failed
  27. #or
  28. #kernel http://debian.mirrors.ovh.net/debian/dists/stable/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/linux
  29. #initrd http://debian.mirrors.ovh.net/debian/dists/stable/main/installer-${arch}/current/images/netboot/debian-installer/${arch}/initrd.gz

  30. :kali-installer
  31. cpuid --ext 29 && set arch amd64 || set arch i386
  32. initrd http://http.kali.org/kali/dists/kali-rolling/main/installer-${arch}/current/images/netboot/mini.iso
  33. chain ${boot-url}/memdisk iso raw || goto failed

  34. goto start

  35. #######################################################
  36.   
  37. #Memdisk via iPXE vs. ISO Boot HTTP via iPXE:
  38. #
  39. #Memdisk via iPXE does the following things:
  40. #1) Emulates a CD-ROM allowing a Network-Based Install.
  41. #2) Masks actual system RAM because the environment memdisk creates "hides" a certain amount of RAM to allow for the ISO - This amount is generally 2x ISO Size (Maximum 2GB - I think).
  42. #3) Preloads the ISO into memory before executing the ISO. This slows boot time a bit.
  43. #
  44. #ISO Boot over HTTP via iPXE:
  45. #1) Does not emulate a CD-ROM. It is a Block Device.
  46. #2) Does not mask system RAM.
  47. #3) Executes as it reads: Faster than memdisk and no "preloading" of the ISO is required.
  48. #4) Does not hold the ISO as a readable device once the ISO is loaded unless loaded into the iBFT.
复制代码

作者: lkflsj    时间: 2025-9-8 14:41
ikuai中多部署个iscsi服务器,成功用ikuai路由启动无盘。
sanboot iscsi:{youip}:::::{iscsiname}    lun0
sanboot iscsi:{youip}:::1:{iscsiname}   lun1
注意lun编号是0还是1
此篇完结
作者: pspl    时间: 2025-9-8 16:31
这样都行,谢谢分享。。。。。。。
作者: wtf112211    时间: 2025-9-8 16:58
能出个详细完整教程吗
作者: abelll    时间: 2025-9-23 15:08
占楼
作者: myguobin    时间: 2025-9-30 08:49
学习
作者: win98se    时间: 2025-9-30 09:06
感谢分享
作者: myguobin    时间: 2025-9-30 09:17
一下
作者: 2747157    时间: 7 天前
厉害哦
作者: 面条渣渣    时间: 3 天前
不会,看高手表演




欢迎光临 无忧启动论坛 (http://wuyou.net/) Powered by Discuz! X3.3