@george1421 I followed the Favorite OS guide and when booting to the ISO, it states tftp://10.0.70.10/os/ubuntu etc etc
I was thinking the same but the Firewall / Router is a VM on the same ESXi host. I don’t have these speed issues over SMB though.
Latest posts made by xardoniak
-
RE: FOG TFTP Slow over VLANs
-
RE: FOG TFTP Slow over VLANs
Hi mate,
This is my testing method
FOG is on host “Jarvis”, on Server VLAN- Create new VM on Jarvis, with server VLAN
- Boot Ubuntu ISO, 100+MB/s
- Cancel install, shut down VM
- Change VM NIC to Trusted VLAN (not touching the driver)
- Boot Ubuntu ISO, 3MB/s
Thanks for the help!
-
FOG TFTP Slow over VLANs
Hi all,
Just wanting to confirm I haven’t configured something incorrectly inside of FOG.
I have FOG installed on an Ubuntu 18 server VM, on my Server VLAN. When booting my Ubuntu 18 ISO to another VM on the same VLAN, same host, it copies at anywhere from 105MB/s to 150MB/s per the FOG dashboard
When booting the same ISO on a different VLAN, the dashboard shows 3MB/s stable, with the occasional jump to 7MB/s - significantly slower!
I’ve checked SMB crossing VLANs and the speed caps out at 100MB/s, though this is 2 different machines (my gaming PC and Synology NAS)My firewall is a Sophos XG, I have tried
-Disabling Traffic Shaping - no change (only enabled for WAN)
-Rebooting the Firewall - no changeNot to sure what to check next, just wanting to confirm that there isn’t a cap’d speed in FOG somewhere or if I need to enable something for better performance over subnets.
Edit: I am not apposed to adding NICs to the VM as a work around - might end up doing this…
-
RE: ISO Boot Ubuntu 18/19 LTS
@george1421 I knew I was doing something stupid… I’ve got the Ubuntu set up screen! Thanks so much!
-
RE: ISO Boot Ubuntu 18/19 LTS
OK, so I have
- Downloaded vmlinuz file from here and placed it in /tftpboot/os/ubuntu/18.04/
- Downloaded the netboot.tar.gz file from here, extracted and copied /ubuntu-installer/amd64/initrd.gz to /tftpboot/os/ubuntu/18.04/
- Updated Peramaters
kernel tftp://$10.0.70.10/os/ubuntu/18.04/vmlinuz initrd tftp://$10.0.70.10/os/ubuntu/18.04/initrd.gz imgargs vmlinuz initrd=initrd.gz root=/dev/nfs netboot=nfs nfsroot=$10.0.70.10:/images/os/ubuntu/18.04/ locale=en_US.UTF-8 ip=dhcp rw boot || goto MENU
I am now getting this error: https://pasteboard.co/IxKBqW4.png
Also see to the right, dir outputs for the tftboot and images directory.I’m sure I’ve missed something, somewhere…
-
RE: ISO Boot Ubuntu 18/19 LTS
@george1421 I’ll copy the vmlinuz file from images/os/ubuntu/18.04/casper into tftpboot, update the parameters and report back!
Thanks for your time!
-
RE: ISO Boot Ubuntu 18/19 LTS
@george1421 Hi George!
Yeah, I did! I have just removed and replaced my initrd.gz with installer/amd64/initrd.gz from the netboot.tar.gz file here incase I did something wrong.Still the same - loads the mt86plus and closes back to the main pxe boot screen once the initrd.gz file has downloaded
-
RE: ISO Boot Ubuntu 18/19 LTS
@Sebastian-Roth Hi Sebastian, thanks for the reply!
fog@fogproject:~$ ls -al /images/os/ubuntu/18.04/casper
total 729368
dr-xr-xr-x 3 fog fog 4096 Nov 29 2018 .
drwxrwxr-x 12 fog fog 4096 Sep 16 08:16 …
-r–r–r-- 1 fog fog 14448 Jul 25 2018 filesystem.manifest
-r–r–r-- 1 fog fog 282 Jul 25 2018 filesystem.manifest-remove
-r–r–r-- 1 fog fog 526577664 Nov 29 2018 filesystem.squashfs
-r–r–r-- 1 fog fog 916 Nov 29 2018 filesystem.squashfs.gpg
-r–r–r-- 1 fog fog 54814433 Jul 25 2018 initrd
-r–r–r-- 1 fog fog 157184000 Jul 25 2018 installer.squashfs
dr-xr-xr-x 2 fog fog 4096 Jul 25 2018 maas
-r–r–r-- 1 fog fog 8257272 Jul 25 2018 vmlinuz
fog@fogproject:~$ fog@fogproject:~$ ls -al /images/os/ubuntu/18.04/casper -
RE: ISO Boot Ubuntu 18/19 LTS
@xardoniak said in ISO Boot Ubuntu 18/19 LTS:
In /images/os/ubuntu/18.04/install I have the file “mt86plus”
I’m going to make the assumption that the vmlinuz kernel file has been replaced with this, and place mt86plus into the tftp directory and test.
I will report back!
Nope, no luck
PXE appears to load the mt86plus file ok (states “ok” on the screen) and very quickly loads the initrd.gz file but once it hits 100%, it exits back to the main PXE boot screen.Server details:
fog@fogproject:~$ ifconfig
ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.70.10 netmask 255.255.255.0 broadcast 10.0.70.255fog@fogproject:~$ dir /images/os/ubuntu/18.04/
boot casper dists EFI initrd.gz install isolinux md5sum.txt mt86plus pics pool preseed README.diskdefines ubuntufog@fogproject:~$ dir /tftpboot/os/ubuntu/18.04/
initrd.gz mt86plusPXE Parameters
kernel tftp://$10.0.70.10/os/ubuntu/18.04/mt86plus
initrd tftp://$10.0.70.10/os/ubuntu/18.04/initrd.gz
imgargs mt86plus initrd=initrd.gz root=/dev/nfs netboot=nfs nfsroot=$10.0.70.10:/images/os/ubuntu/18.04/ locale=en_US.UTF-8 ip=dhcp rw
boot || goto MENUkernel tftp://$10.0.70.10/os/ubuntu/18.04/mt86plus
initrd tftp://$10.0.70.10/os/ubuntu/18.04/initrd.gz
imgargs mt86plus initrd=initrd.gz root=/dev/nfs netboot=nfs nfsroot=$10.0.70.10:/images/os/ubuntu/18.04/ locale=en_US.UTF-8 ip=dhcp rw
boot || goto MENU -
RE: ISO Boot Ubuntu 18/19 LTS
Forum mentioned: https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/5
A small update, I have managed to get the initrd.gz file and have placed that into the tftp directory though I am still unable to find the vmlinuz file.
In /images/os/ubuntu/18.04/install I have the file “mt86plus”I’m going to make the assumption that the vmlinuz kernel file has been replaced with this, and place mt86plus into the tftp directory and test.
I will report back!