PXE Boot TinyCore Using CentOS - General Linux - Spiceworks
PXE Boot TinyCore Using CentOS - General Linux - Spiceworks
PXEBootTinyCoreusingCentOSGeneralLinuxSpiceworks
Howtos
3
byDorrelonSep12,2014at3:31am
Introduction
SetupaPXEserverinCentOSsowecanbootintoTinyCoreoveraLAN
Steps (6 total)
1
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
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