В Wed, 28 Aug 2013 19:38:16 +0200 Daniel Dehennin <[email protected]> пишет:
> Hello, > > I try to setup a DHCP/TFTP/HTTP netboot but always get the rescue shell. > Are you using current trunk? > I start with grub-mknetdir: > > /usr/sbin/grub-mknetdir --net-directory=tftp --subdir=grub --modules=http > > I would like to make grub use HTTP to download files, so I modify the > grub image to include http and set the prefix: > > grub-mkimage -d /usr/lib/grub/x86_64-efi -O x86_64-efi \ > --output=tftp/grub/x86_64-efi/core.efi \ > --prefix='(http,10.0.0.1)/grub' \ > tftp http efinet > > This result in the following: > > error: no server is specified. > grub rescue> set > net_default_server= > prefix=(http,10.0.0.1)/grub > pxe_default_server= > root=http,10.0.0.1 > grub rescue> ls > (hd0) (hd1) > > The error message seems to come from grub-core/net/net.c[1] resulting of > a miss-match[2] of my “prefix”. > > I looked for documentation on how to use grub modules but only found > explanation on PXE[3] and device syntax[4]. > > I should have done something wrong but I do not see what, any hints? > > Regards. > > Footnotes: > [1] > http://bzr.savannah.gnu.org/lh/grub/trunk/grub/annotate/head:/grub-core/net/net.c#L1279 > > [2] > http://bzr.savannah.gnu.org/lh/grub/trunk/grub/annotate/head:/grub-core/net/net.c#L1262 > > [3] https://www.gnu.org/software/grub/manual/grub.html#Network > > [4] https://www.gnu.org/software/grub/manual/grub.html#Device-syntax >
signature.asc
Description: PGP signature
_______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
