Tiny Core Base > TCB Tips & Tricks

How do I make the TC directory live on a NFS server using PXE and NFS

(1/1)

robert77546:
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: ---[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

--- End code ---

My default file looks like:


--- Code: ---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


--- End code ---

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

Any suggestions welcome.

Fleepuk:
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


robert77546:
 :) Thanks for the reply, I'll try it and let you know.

Navigation

[0] Message Index

Go to full version