default menu.c32
label ubuntu
menu label ubuntu (version 16.04)
kernel ub1604/casper/vmlinuz
append root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.56.1:/e/_temp/ub1604 initrd=ub1604/casper/initrd quiet splash --# 关键是搭建nfs相应的服务器器并export解压后的casper目录

#default menu.c32

label ubuntu1-8
menu label ubuntu (version 18.04.02 @ winnfsd)
kernel ub1804/vmlinuz
append root=/dev/nfs netboot=nfs nfsroot=192.168.56.1:/e/pxe/ub1804 boot=casper initrd=ub1804/initrd quiet splash --

####【ok】####
label ubuntu1-2
menu label ubuntu (version 12.04.05 @ winnsfd)
kernel ub1204/vmlinuz
append root=/dev/nfs netboot=nfs nfsroot=192.168.56.1:/e/pxe/ub1204 boot=casper initrd=ub1204/initrd quiet splash --

####【ok】####
label ubuntu1-4
menu label ubuntu (version 14.04.06 @ winnsfd)
kernel ub1404/vmlinuz
append root=/dev/nfs netboot=nfs nfsroot=192.168.56.1:/e/pxe/ub1404 boot=casper initrd=ub1404/initrd quiet splash --

####【ok】####
label ubuntu1-6
menu label ubuntu (version 16.04.06 @ winnsfd)
kernel ub1604/vmlinuz
append root=/dev/nfs netboot=nfs nfsroot=192.168.56.1:/e/pxe/ub1604 boot=casper initrd=ub1604/initrd quiet splash --

####【bad】####
label ubuntu1-8
menu label ubuntu (version 18.04.02 @ winnfsd)
kernel ub1804/vmlinuz
append root=/dev/nfs netboot=nfs nfsroot=192.168.56.1:/e/pxe/ub1804 boot=casper initrd=ub1804/initrd quiet splash --

####【bad】####
label ubuntu1-8s
menu label ubuntu (version 18.04.02-server @ winnfsd)
kernel ub1804s/vmlinuz
append root=/dev/nfs netboot=nfs nfsroot=192.168.56.1:/e/pxe/ub1804s boot=casper initrd=ub1804s/initrd quiet splash --

####【ok】####
label 2
menu label Install fedora server 29
kernel /fs29/images/pxeboot/vmlinuz
append initrd=/fs29/images/pxeboot/initrd.img method=ftp://192.168.162.1/fs29

####【ok】####
label 3
menu label Install fedora workstation 29
kernel /fedora29/images/pxeboot/vmlinuz
append root=/dev/nfs netboot=nfs nfsroot=192.168.162.1:/e/_temp/fedora29 initrd=/fedora29/images/pxeboot/initrd.img rd.live.image

####【ok】####
label 9.8
menu label Install debian9.8
kernel /deb98/linux
append initrd=/deb98/initrd.gz debian-installer/allow_unauthenticated=true --- quiet

####【ok】####
label ub18.server
menu label Install ubuntu
kernel /ub1804/install/netboot/ubuntu-installer/amd64/linux
append initrd=/ub1804/install/netboot/ubuntu-installer/amd64/initrd.gz

####【ok】####
label 20
menu label Install rhel6
kernel /rhel6/isolinux/vmlinuz
append initrd=/rhel6/isolinux/initrd.img method=ftp://192.168.162.1/rhel6

####【ok】####
label 30
menu label Install rhel7
kernel /rhel7/isolinux/vmlinuz
append initrd=/rhel7/isolinux/initrd.img method=ftp://192.168.162.1/rhel7

####【ok】####
label 40
menu label Install ora6
#垃圾的iso光盘文件系统问题,repodata、Packages是0字节的空文件
#E:
#cd E:\_temp\ora6
#mklink /j repodata Server\repodata
#mklink /j Server\Packages Packages
#mklink /j UEK4\Packages Packages
kernel /ora6/images/pxeboot/vmlinuz
append initrd=/ora6/images/pxeboot/initrd.img method=ftp://192.168.162.1/ora6

####【ok】####
label 50
menu label Install ora7
kernel /ora7/images/pxeboot/vmlinuz
append initrd=/ora7/images/pxeboot/initrd.img method=http://192.168.162.1/ora7

---------网摘----------

Required Files

To PXE Boot Ubuntu 11.04, download the ISO file from http://old-releases.ubuntu.com/releases/.

Now create the folder \ubuntu1104\ in your Tiny PXE Server root directory - e.g. C:\pxesrv\files\ubuntu1104\.

Now extract the casper directory from the ISO (mount the ISO file using ImDisk, or extract using 7-zip, or use a tool of your choice) and copy it to C:\pxesrv\files\ubuntu1104\. Your Tiny PXE Server directory structure should contain the following files (files may differ if using an alternative version of ubuntu) -

  • C:\pxesrv\files\ubuntu1104\casper\
  • C:\pxesrv\files\ubuntu1104\casper\filesystem.manifest
  • C:\pxesrv\files\ubuntu1104\casper\filesystem.manifest-desktop
  • C:\pxesrv\files\ubuntu1104\casper\filesystem.size
  • C:\pxesrv\files\ubuntu1104\casper\filesystem.squashfs
  • C:\pxesrv\files\ubuntu1104\casper\initrd.lz
  • C:\pxesrv\files\ubuntu1104\casper\vmlinuz

NOTE - on 64-bit builds you may need to replace references to vmlinuz with vmlinuz.efi.

Create NFS Share

To PXE boot Ubuntu Linux a Network File System (NFS) share is required - it is not possible to boot directly from the ISO file.

The C:\pxesrv\files\ubuntu1104\ directory will need to be shared - the WinNFSd server included in the Tint PXE Serverdownload package can be used to do this. Extract winnfsd.exe from WinNFSd-2.0.zip to C:\pxesrv\. Now run the following command to share the C:\pxesrv\files\ubuntu1104\ directory (editing the paths as required to suit your own setup) - 
 
Note - Running the above command will start WinNFSd in a command window - leave this window open as closing it will stop sharing the folder. 

Now add a menu entry for your preferred Network Bootstrap Program -

  • pxelinux settings
  • grub4dos settings
  • iPXE settings
  • iPXE Scripts

pxelinux settings

Remember to ensure that the required files are copied to your Tiny PXE Server root directory -

  • C:\pxesrv\files\pxelinux.0
  • C:\pxesrv\files\menu.c32
  • C:\pxesrv\files\pxelinux.cfg\default

Add the following to C:\pxesrv\files\pxelinux.cfg\default (create this file if required) -

转载于:https://www.cnblogs.com/jinzhenshui/p/10531290.html

PXE(preboot execution environment):【网络】预启动执行环节:引导 live光盘 ubuntu livecd 16.4:成功...相关推荐

  1. PXE预启动执行环境简介

    预启动执行环境(Preboot eXecution Environment,PXE)也被称为预执行环境,提供了一种使用网络接口(Network Interface)启动计算机的机制.这种机制让计算机的 ...

  2. 无人值守自动安装——PXE(Preboot eXecution Environment)

    文章目录 无人值守自动安装--PXE(Preboot eXecution Environment) 前言 一.PXE的原理与概念 前提条件 二.PXE的优点 三.PXE服务的构建过程 四.KickSt ...

  3. hp 服务器系统无法启动不了怎么办,HP Elite X2 1011 G1 笔记本电脑 - 电脑无法启动至预启动执行环境...

    Hardware platforms affected : HP Elite x2 1011 G1 受影响的操作系统: 不适用 受影响的软件: 不适用 支持通讯交叉参考 ID: IA04923080 ...

  4. pxe+kickstart 实现基于网络的无人值守安装操作系统

    基于网络的无人值守安装操作系统 简介: 1.pxe PXE(preboot execute environment,预启动执行环境)是由Intel公司开发的最新技术,工作于Client/Server的 ...

  5. pxe+kickstart实现无人值守网络安装rhel5.4

    前言:系统的装我们有很多种方式,光盘.硬盘.ftp.http等,而对于拥有多台主机的实验环境而言,单一的通过光盘等来手动显然已经无法满足需求,现在我们就来了解一下通过pxe/kickstart 实现通 ...

  6. PXE+Kickstart 高效批量网络装机

    文章目录 1. PXE 概述 1.1 PXE 定义 1.2 PXE 批量部署的优点 1.3 PXE 搭建的前提条件 1.4 PXE 架构示意图 2. 搭建 PXE 远程安装服务器 2.1 安装并启用 ...

  7. 【PXE高效的批量网络装机】

    目录 一.PXE的概述 1.1.PXE批量部署的优点 1.2.搭建PXE满足的以下的前提条件 1.3.搭建PXE远程安装 二.搭建PXE远程安装服务器 1.安装并启动 TFTP 服务 2.安装并启用 ...

  8. 微软将为Linux 操作系统带来TEE的支持:TEE(Trusted Execution Environment,可信执行环境)

    安智客之前多次提到过,百度,阿里,Google都在积极布局TEE,都积极发展自己的TEEOS,微软也不会缺席,将为Linux 操作系统带来"可信执行环境"的支持,为机密计算提供安全 ...

  9. TEE(Trusted Execution Environment)简介

    TEE(Trusted Execution Environment),可信执行环境,该环境可以保证不被常规操作系统干扰的计算,因此称为"可信".这是通过创建一个可以在TrustZo ...

最新文章

  1. python文件打包成exe可执行文件
  2. (操作系统)实验二 作业调度
  3. 计算机二级链表,计算机二级c语言上机考试——结构体与链表(3页)-原创力文档...
  4. 有史以来最详细 安装部署Kubernetes Dashboard (补充解决官方出现的一些RBAC CERT等问题)
  5. 【Openstack】实录手动部署Openstack Rocky 双节点(4)- Nova
  6. MLFlow︱机器学习工作流框架:MLFlow docker 实践(二)
  7. solr学习笔记-linux下配置solr
  8. docker容器别人访问很卡_一篇文章带你走进Docker的世界
  9. 栈的输出_TAOCP|基本算法|栈、队列与双端队列
  10. 思科路由器如何导出配置文件_在思科路由器上保存超大的配置文件
  11. linux tar文件如何压缩文件,在 Linux 上压缩文件的 5 种方法
  12. umts是移动还是联通_网络模式中的UMTS是什么意思?
  13. 重要提醒:你有一份专属红包封面待查收!
  14. 迪杰斯特拉--链式向前星
  15. Unity 旋转人物在设定的角度看向镜头(平滑转动)
  16. 抖音发广告需要注意什么,三个注意事项与规范要牢记
  17. 看到1元保险就想买?小心被割韭菜!
  18. html 滚动字幕如何设置,如何制作滚动字幕 视频画面加滚动字幕,自己设置滚动字幕的显示时间(滚动次数)...
  19. php是什么电荷,分子中电荷变化种种 - 量子化学 - 小木虫 - 学术 科研 互动社区...
  20. CV 经典主干网络 (Backbone) 系列: CSPNet

热门文章

  1. 计算机网络中tdm是什么,计算机网络-复习题(1)
  2. vim插件自动补齐_给VIM添加REPL
  3. 传统form表单提交方式的文件上传与文件存储
  4. js在wap端获取定位_iPhone 定位服务,没用的都关掉
  5. 华为服务器更改从系统盘启动不了,华为服务器设置启动项
  6. ftp服务器收集文件,ftp服务器收集文件
  7. java map转string_【库学科技】32道常见的Java基础面试题
  8. 如何让小程序页面更顺滑_小程序怎样让wx.navigateBack更好用的方法实现
  9. 基于Echarts+HTML5可视化数据大屏展示—新能源车联网综合大数据平台(二)
  10. centos svn服务器端口配置文件,centos下配置svn服务器