WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How do I make the TC directory live on a NFS server using PXE and NFS  (Read 529 times)

Offline robert77546

  • WikiUser
  • *
  • Posts: 2
I have successfully booted TC using PXE and NFS but I can't get the TC or TCE folders to live on the NFS server even though the NFS folder is mounted.

This is my tftpd32.ini file:

Code: newbielink:javascript:void(0); [nonactive]
[DHCP]
Lease_NumLeases=3
IP_Pool=192.168.8.100
PoolSize=100
BootFile=pxelinux.0
DNS=192.168.8.1
DNS2=
WINS=192.168.8.1
Mask=63.87.247.0
Gateway=192.168.8.1
Option42=
Option120=
DomainName=
Lease (minutes)=120
Lease_0_MAC=A0:B3:CC:2A:E3:CE
Lease_0_InitialOfferTime=07/19/2019/08:19:56
Lease_0_LeaseStartTime=07/19/2019/08:19:56
Lease_0_IP=192.168.8.100
[TFTPD32]
BaseDirectory=D:\Tftpd64_SE\TFTPBOOT
LocalIP=192.168.8.1
DHCP LocalIP=192.168.8.1
TftpPort=69
Hide=0
WinSize=0
Negociate=1
PXECompatibility=0
DirText=0
ShowProgressBar=1
Timeout=3
MaxRetransmit=6
SecurityLevel=1

My default file looks like:

Code: newbielink:javascript:void(0); [nonactive]
DEFAULT vesamenu.c32
PROMPT 0
NOESCAPE 0
ALLOWOPTIONS 0
TIMEOUT 500

MENU TITLE Boot Menu

LABEL Label TinyCore
 MENU Label TinyCore
 kernel vmlinuz64-1
 initrd core64.gz host=TinyCore

LABEL label TinyCoreNFS
 MENU Label TinyCoreNFS
 kernel vmlinuz64-1
 initrd core64.gz host=TinyCoreNFS tftplist=192.168.8.1:/d/Tftpd64_SE/TFTPBOOT/tcz.lst nfsmount=192.168.8.1:/d/Tftpd64_SE/TFTPBOOT tce=/mnt/nfs home=/mnt/nfs


I'm using Windows10 as the server with Tftpd64 as the Tftp boot server, and WinNFSd.exe for the NFS server.

Any suggestions welcome.

Offline Fleepuk

  • WikiUser
  • *
  • Posts: 3
Re: How do I make the TC directory live on a NFS server using PXE and NFS
« Reply #1 on: September 18, 2019, 02:18:42 PM »
Hi Robert,

I've been using iPXE with the following entry successfully:
kernel nfs://192.168.8.158/clients/tce/boot/vmlinuz64
initrd nfs://192.168.8.158/clients/tce/boot/corepure64.gz
imgargs vmlinuz64 waitusb=10 nfsmount=192.168.8.158:/clients tce=nfs mydata=pxe lst=pxe.lst host=pc lang=en_GB.utf8

I hope that is of use,
Regards



Offline robert77546

  • WikiUser
  • *
  • Posts: 2
Re: How do I make the TC directory live on a NFS server using PXE and NFS
« Reply #2 on: September 20, 2019, 06:34:49 AM »
 :) Thanks for the reply, I'll try it and let you know.