Re: Workstations booting with UEFI don't tftp lts.conf
Norman Gaywood <[email protected]>
| Newsgroups | gmane.linux.terminal-server.general |
|---|---|
| Message-ID | <CAHJ-_U5rWyEFHjQmpTA04=KsBK1BWQXBF7YXYgSjEHyAh6OVkw@mail.gmail.com> |
I've posted a bug report for this. https://bugs.launchpad.net/ltsp/+bug/1814006 On Thu, 31 Jan 2019 at 10:57, Norman Gaywood <[email protected]> wrote: > To answer my own question, the problem was that for the UEFI booting, my > pxelinux.conf/ config for booting ltsp looked like: > > kernel http://123.456.78.9/ltsp/amd64/vmlinuz > append ro initrd=http://123.456.78.9/ltsp/amd64/initrd.img-generic > init=/sbin/init-ltsp forcepae root=/dev/nbd0 > > The place where LTSP retrieves the lts.conf file is > in /usr/share/ltsp/init-ltsp.d/05-getltsconffile and this fails to parse > the http:// string properly. > So I slightly modified 05-getltsconffile to work for both my cases, and I > hope for all the original cases it worked for: > > # diff 05-getltsconffile > /opt/ltsp-old/amd64/usr/share/ltsp/init-ltsp.d/05-getltsconffile > 5,6c5 > < # The path may also be part of a URL so also need to remove leading > 'proto://host' > < # If there is no path, we want just "lts.conf" without inserting a > slash, as some tftp > --- > > # If it doesn't, we want just "lts.conf" without inserting a slash, as > some tftp > 11c10 > < boot_image=$(cat /proc/cmdline | sed -n > 's/.*BOOT_IMAGE=\([^[:space:]]*\).*/\1/p' | sed 's#^[^:]*://[^/]*##') > --- > > boot_image=$(sed -n 's/.*BOOT_IMAGE=\([^[:space:]]*\).*/\1/p' > /proc/cmdline) > > > > On Fri, 25 Jan 2019 at 12:55, Norman Gaywood <[email protected]> wrote: > >> I have 2 types of workstations booting via DHCP and pxelinux. >> One uses legacy BIOS pxe booting, the other uses UEFI pxe booting. >> Both boot to a workstation login screen, however the UEFI WS does not ask >> for the ltp.conf file correctly. >> >> In the BIOS booting WS I see this in the logs: >> in.tftpd[8124]: RRQ from 129.180.101.77 filename /ltsp/amd64/lts.conf >> >> In the UEFI booting WS I see this in the logs: >> in.tftpd[8189]: RRQ from 129.180.101.54 filename /tmp/tmp.kQEOEuRP1m >> in.tftpd[8189]: sending NAK (1, File not found) to 129.180.101.54 >> >> As a result, getltscfg -a on the UEFI booted system returns nothing. >> >> Any ideas what might be wrong here? >> -- >> Norman Gaywood, Computer Systems Officer >> School of Science and Technology >> University of New England >> Armidale NSW 2351, Australia >> >> [email protected] http://turing.une.edu.au/~ngaywood >> Phone: +61 (0)2 6773 2412 Mobile: +61 (0)4 7862 0062 >> >> Please avoid sending me Word or Power Point attachments. >> See http://www.gnu.org/philosophy/no-word-attachments.html >> > > > -- > Norman Gaywood, Computer Systems Officer > School of Science and Technology > University of New England > Armidale NSW 2351, Australia > > [email protected] http://turing.une.edu.au/~ngaywood > Phone: +61 (0)2 6773 2412 Mobile: +61 (0)4 7862 0062 > > Please avoid sending me Word or Power Point attachments. > See http://www.gnu.org/philosophy/no-word-attachments.html > -- Norman Gaywood, Computer Systems Officer School of Science and Technology University of New England Armidale NSW 2351, Australia [email protected] http://turing.une.edu.au/~ngaywood Phone: +61 (0)2 6773 2412 Mobile: +61 (0)4 7862 0062 Please avoid sending me Word or Power Point attachments. See http://www.gnu.org/philosophy/no-word-attachments.html _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net