0% found this document useful (0 votes)
216 views2 pages

PXE Boot TinyCore Using CentOS - General Linux - Spiceworks

This document provides step-by-step instructions for setting up a PXE boot server in CentOS to remotely boot clients into TinyCore Linux over a local area network. It describes installing TFTP, DHCP and Syslinux services, copying TinyCore files, configuring PXE boot options and remastering TinyCore to support booting from the network.

Uploaded by

Dav Barba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
216 views2 pages

PXE Boot TinyCore Using CentOS - General Linux - Spiceworks

This document provides step-by-step instructions for setting up a PXE boot server in CentOS to remotely boot clients into TinyCore Linux over a local area network. It describes installing TFTP, DHCP and Syslinux services, copying TinyCore files, configuring PXE boot options and remastering TinyCore to support booting from the network.

Uploaded by

Dav Barba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1/11/2016

PXEBootTinyCoreusingCentOSGeneralLinuxSpiceworks

Howtos
3

PXE Boot TinyCore using CentOS


GeneralLinux

byDorrelonSep12,2014at3:31am

Introduction
SetupaPXEserverinCentOSsowecanbootintoTinyCoreoveraLAN

Steps (6 total)
1

Set up tftp server


yuminstalltftpserver
vi/etc/xinetd.d/tftp
disable=no
server_args=s/tftpboot
servicexinetdrestart
yuminstallsyslinux
mkdir/tftpboot
cp/usr/share/syslinux/pxelinux.0/tftpboot
cp/usr/share/syslinux/menu.c32/tftpboot
cp/usr/share/syslinux/memdisk/tftpboot
cp/usr/share/syslinux/mboot.c32/tftpboot
cp/usr/share/syslinux/chain.c32/tftpboot
2

Set up DHCP
Ifyou'realreadyrunningaDHCPonWindows,addoption66(pxeserverIP)and67(pxelinux.0).
OtherwisesetupDHCPinCentOS:
yuminstalldhcp
vi/etc/dhcp/dhcpd.conf
allowbooting
allowbootp
optionoption128code128=string
optionoption129code129=text
nextserver10.0.0.100
filename"/pxelinux.0"
subnet10.0.0.0netmask255.255.255.0{
rangedynamicbootp10.0.0.110.0.0.10
}
:wqtosaveandquit
servicedhcpdrestart
3

Set up TinyCore
wgethttp://distro.ibiblio.org/tinycorelinux/5.x/x86/release/TinyCorecurrent.iso
mkdirp/tftpboot/images/TC
mountolooptinycorecurrent.iso/mnt/TC
cpR/mnt/TC/boot/tftpboot/images/TC/
cpR/mnt/TC/cde/tftpboot/images/TC/
4

Add TinyCore entry to PXE menu


vi/tftpboot/pxelinux.cfg/default
defaultmenu.c32
prompt0
timeout300
ONTIMEOUTlocal
MENUTITLEPXEMenu
LABELtinycore
MENULABELTinyCore
kernelimages/TC/boot/vmlinuz
appendinitrd=/images/TC/boot/core.gztce=/cde
:wqtosaveandquit
5

Remaster TinyCore (so it can find the cde folder)


CopyfoldersfromTinyCorecurrent.isotoUSBdrive
BootintoTinyCoreusingTinyCorecurrent.iso(aVMwithnoHDDisfineforthis)
MountUSBdriveinTinyCoreusingmounttool
Copycore.gzfrombootfolderonUSBdriveto/tmp
Installcoreremaster.tczusingAppstool

https://community.spiceworks.com/how_to/92856pxeboottinycoreusingcentos

1/2

1/11/2016

PXEBootTinyCoreusingCentOSGeneralLinuxSpiceworks

Runcoreremastertoextractfilesfromcore.gz
CopycdefolderfromUSBdriveto/tmp/core_extract
Runcoreremastertopackagefilesbackintocore.gz
Copy/tmp/core_package/core.gztoUSBdrive
Copynewcore.gzfromUSBdriveto/tftpboot/images/TC/bootonCentOSmachine
6

Another Way
Ratherthanremasteringcore.gztoincludethecdefolder,youcanalsousethetftplistbootcode:
Addtftplist=<serverip>://images/TC/cde/tftpboot.lstto/tftpboot/pxelinux.cfg/defaultandremovethetce=/cdebootcode.
Eg."appendinitrd=/images/TC/boot/core.gztftplist=<serverip>://images/TC/cde/tftpboot.ls"
Thencopy/tftpboot/images/TC/cde/onboot.lsttotftpboot.lstandadd/images/TC/cde/optional/toeachlinebeforethe
<extension>.tgzfilename.
Eg./images/TC/cde/optional/Xlibs.tcz
Thismethodisabitslowerthantheotherwayanddoesn'twork100%forme,butIthoughtI'dincludeitanyway.

Conclusion
YoushouldnowbeabletobootintoTinyCoreusingPXE.

Subscribe

4 Comments

ShawnCBSep12,2014at7:29am
Dorrelthisisawesomedude,OurcompanyjuststartedadoptingLinuxandUnixandweareforcedtosetupaPXEboot
environment.IInstalledCentos7onmyparallelsformacandinstalledtheTinycorefollowingyourinstructionsandit
workedtotheT.ThanksMate

DorrelSep12,2014at9:28am
Noproblem.Thanksforthespice!
TinyCoreisprettycoolI'veevengotittoconnecttoourExchangeserver.Ifyou'reinterested,I'llwriteupanotherHow
toforthataswell.

ShawnCBSep15,2014at8:53am
PleasedoDorrel.
Thisisfreetoolsanditsamazing.I'mcurrentlybusyinstallingSaltandNagiostoMonitortheWindowsInfrastructure.
Andwhat'samazingisthatIonlyknowLinuxforaboutsixmonths.AllonCentos7andthendeploymentontheRedHat
ProdServers.

DorrelSep24,2014at11:59am
Here'showtosetupanemailclienttoconnecttoExchange2010:
http://community.spiceworks.com/how_to/show/94103connecttoexchange2010serverintinycore

AddyourcommentsonthisHowto!JointheITNetworkorLogin.

https://community.spiceworks.com/how_to/92856pxeboottinycoreusingcentos

2/2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy