[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Changing di-netboot-assistants directory within the TFTP-root

Hello Andi,

On Mon, Dec 18, 2017 at 04:21:05PM +0300, Andreas B. Mundt wrote:
> > > Right now, '$TFTP_ROOT/debian-installer/' is used to set up and serve
> > > the netboot-images.  If you also serve preseedings from the canonical
> >
> > just wondering if this is the default location or the only supported
> > location for network installs.
> > Please see also the email attached which seems not to have hit the list
> > about grub not obeying an initial path send with dhcp.
> Do you use di-netboot-assistant [1] or just the debian-installer netboot
> packages/images [2]?

Just the netboot.tar.gz images.

> > when doing network installation with the files from
> > debian/dists/stretch/main/installer-amd64/current/images/netboot/netboot.tar.gz
> > grub didn't find it's files if using a nonstandard tftp server layout:
> > RRQ from filename /debian/amd64_stretch/debian-installer/amd64/bootnetx64.efi
> > RRQ from filename debian-installer/amd64/grub/x86_64-efi/command.lst
> > RRQ from filename debian-installer/amd64/grub/grub.cfg
> >
> > PXE BIOS with pxelinux has no problems with finding it's files in such a layout.
> > Is there any functionality in grub to enable relative pathes at that point of the debian
> > installation ? If not, is that a bug/regression to report against grub ?
> In di-netboot-assistant, a grub-EFI image is prepared which then
> includes the grub.conf files of the debian-installer images, with the
> correct paths.  You get an idea in [3].  Perhaps you can follow this
> approach (or even better: use di-netboot-assistant) too.

Thanks a lot, I was not aware of grub-mknetdir (and di-netboot-assistant's menu building) so far.
OTOH, this still not answers the question if any functionality using paths relative to the
bootnetx64.efi is available in grub.

Should I open a bug report against grub or do you have another idea ?

Thanks a lot,

> [2] <URL:https://packages.debian.org/stretch/debian-installer-9-netboot-amd64>
> [3] <URL:https://anonscm.debian.org/cgit/d-i/netboot-assistant.git/tree/di-netboot-assistant#n239>
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres 
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 205; 69120 Heidelberg; Tel: (06221)54-14405 Fax: -14427
Email: Hermann.Lauer@iwr.uni-heidelberg.de

Reply to: