linux没有网卡驱动能pxe吗,linux网络安装pxe及无人值守安装

linux网络安装pxe及无人值守安装

安装tftp-server

2861d9453ee84e8c046187acc7d6c2d4.png

2. 修改tftp默认配置文件,打开服务

8fa0123212e367b554696fafa3db5ebb.png

3. 启动服务

4ed7f2e337dbe726d909479494ca6911.png

4. 进入/cdrom/images/pxeboot复制文件vmlinuz到/var/lib/tftpboot

295c78b4284ec5a46e1fe541c01803ff.png

5. 安装syslinux

88745f2db27df78d9d67540be28f1c1c.png

6. 复制/usr/share/syslinux/pxelinux.0到/var/lib/tftpboot/

f906e9bb016ecf0fe3ab03216df70aae.png

7. 配置dhcp并启动

42aa51e993b51d695f36b6bf8cce4f3a.png

8. 配置启动菜单

d8d633a96f6189c18c19c50dbbd87bed.png

pxe+kickstart无人值守安装

安装system-config-kickstart工具

e1d0056f81a6f00f4fca7511ab6d4f42.png

2. 按照现有应答文件创建应答文件ks.cfg,创建至/carom下雨Packages同级文件

38b9423b0bc5b3fc03cc0785940241c1.png

install

url--url="http://192.168.8.185" 安装源

lang zh_CN.UTF-8

keyboard us

network --onboot no --device eth0 --bootproto dhcp --noipv6 --nameserver 114.114.114.114 --hostname gexin

rootpw --iscrypted

$6$hWKhI35WHC/PTaL/$HUtImodfmMbWCXhJ.arqsUM3m7dqR4BzKPqGFRURnCzj4IfM8R/GmlFaaLhhsdmS/xI4GjUaWVpaELCgQScGk/

密匙

firewall

--service=ssh

authconfig--enableshadow --passalgo=sha512

selinux--enforcing

timezone--utc Asia/Chongqing

bootloader--location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"

#The following is the partition information you requested

#Note that any partitions you deleted are not expressed

#here so unless you clear all partitions first, this is

#not guaranteed to work

#clearpart--none

zerombr

clearpart

--all --initlabel

autopart

unsupported_hardware

ignoredisk--only-use=sda

#part /boot --fstype=ext4 --size=512

#part swap --size=2048

#part / --fstype=ext4 --grow --size=200

repo--name="CentOS" --baseurl="http://192.168.8.185" 安装源--cost=100

%packages

@base

@chinese-support

@core

@debugging

@basic-desktop

@desktop-debugging

@desktop-platform

@directory-client

@fonts

@general-desktop

@graphical-admin-tools

@input-methods

@internet-applications

@internet-browser

@java-platform

@legacy-x

@network-file-system-client

@office-suite

@print-client

@remote-desktop-clients

@server-platform

@server-policy

@workstation-policy

@x11

mtools

pax

oddjob

wodim

sgpio

genisoimage

device-mapper-persistent-data

abrt-gui

samba-winbind

certmonger

pam_krb5

krb5-workstation

libXmu

%end

创建default文件,指定安装操作系统的方式和ks.cfg文件路径

556ecca8ef62d222afff39e5fdb84f90.png

查看/var/lib/tftpboot/下的文件是否完整

17735aa4e99b8781fae856e78d28c062.png

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值