Linux live bootable
-
I have followed many older or broken guides and I am trying to load a ubuntu live iso on fog menu boot. I get to the point cannot find a live system on network even with working nfs amount. Any help would be appreciated.
Fog Menu options
kernel tftp://${fog-ip}/ubnt/casper/vmlinuz
initrd tftp://${fog-ip}/ubnt/casper/initrd
imgargs vmlinuz initrd=initrd ip=dhcp root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.7.5:/nfs/ locale=en_US.UTF-8 quiet splash rw
boot || goto MENU -
We have it implement with the below code. See if it helps.
kernel http://${fog-ip}/fog/service/ipxe/ltsp/casper/vmlinuz initrd http://${fog-ip}/fog/service/ipxe/ltsp/casper/initrd.lz imgargs vmlinuz ip=dhcp root=/dev/nfs netboot=nfs nfsroot=9.9.9.9(replace with your real ip):/images/ltsp locale=en_US.UTF-8 keyboard-configuration/layoutcode=us mirror/country=US boot=casper ipv6.disable=1 boot || goto failed
-
@cros I’m kind of spit balling here but your imgargs line especially around nfsroot doesn’t really follow what I expect.
FWIW here is what I have in my guide for debian 11. (I really don’t keep up with current distros anymore)
kernel tftp://${fog-ip}/os/debian/Server11.3/linux initrd tftp://${fog-ip}/os/debian/Server11.3/initrd.gz imgargs linux initrd=initrd.gz root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/images/os/debian/Server11.3/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us quiet splash ip=dhcp rw boot || goto MENU
For me your imgargs line stands out as is your 192.168.7.5 server your fog server or a different server? If its your fog server you can make the line a bit more portable by using
${fog-ip}
which will be replaced by the IP address of the fog server by iPXE. Secondly did you create an/nfs
share on your fog server because that is not one of FOGs standard nfs shares. On the fog server you should be able to run the commandshowmount -e 127.0.0.1
to see the list of nfs shares on the fog server. In my imgarg command you can see I’m using /images/os which is in the path of/images
on the fog server and /images is an NFS share.