Re: TFTP grubnetx64.efi doesn't read the grub.cfg

Maxime Accadia <[email protected]> Mon, 25 Mar 2019 11:55:41 +0100 (CET)
Newsgroups gmane.linux.terminal-server.general
Message-ID <1722374135.5256322.1553511341371.JavaMail.zimbra@univ-grenoble-alpes.fr>
I have found how to boot LTSP from UEFI client using grub.

On LTSP server :
  - sudo apt install grub-efi-amd64-bin
  - sudo grub-mknetdir --net-directory=/var/lib/tftpboot --subdir=/boot/grub -d /usr/lib/grub/x86_64-efi
  - cd /var/lib/tftpboot/boot/grub/x86_64-efi && sudo ln -s ../../../ltsp/amd64/lts.conf lts.conf

grub.cfg should be in /var/lib/tftpboot/boot/grub/grub.cfg

You can find my example grub.cfg here : https://gist.github.com/MAccadia/e5faa903f591a089c1c65be381619118

Maxime

----- Mail original -----
De: "Dashamir Hoxha" <[email protected]>
À: "ltsp-discuss" <[email protected]>
Envoyé: Mercredi 13 Mars 2019 05:03:23
Objet: Re: [Ltsp-discuss] TFTP grubnetx64.efi doesn't read the grub.cfg

On Tue, Mar 12, 2019 at 10:57 PM Valtteri Suojanen < [ mailto:[email protected] | [email protected] ] > wrote: 




problems prevent the grub reading configuration grub/grub.cfg 
--> grub doesn't get the config tftp:// [ http://192.168.67.1/ltsp/i386/grub.cfg | 192.168.67.1/ltsp/i386/grub.cfg ] 

[ . . . . . .] 

I don't know if this grub.cfg need some more writing... 
/var/lib/tftpboot/ltsp/i386/grub/grub.cfg is this: 



Unless it is a typing mistake, it seems like TFTP looks for 'grub.cfg' in the wrong path; it is on 'ltsp/i386/grub/grub.cfg' but it looks for it in 'ltsp/i386/grub.cfg'. I don't know where is should be fixed, but to verify that this is indeed the problem try to copy 'grub.cfg' a directory up, on 'ltsp/i386/'. 

Dashamir 


_____________________________________________________________________ 
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 



_____________________________________________________________________
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