No modules are loaded during grub2 network boot on ppc64. After fetching grub2 from the network, the grub menu is presented. If I go to the grub console and try to fire a few commands I get following output: grub> echo 'foo' error: can't find command `echo'. grub> help error: can't find command `help'. grub> The same behavior happens if I choose one of the grub menu entries. It fails to boot because there is no 'linux' command. It can be workaround adding a few insmod's to the grub config file, like: insmod echo insmod linux ... This is the command line I used to generate grub's elf and modules directory: grub-mknetdir --net-directory=/tftpboot --subdir=gustavold == This is a revision of Matthew Garrett's patch grub-2.00-add-fw_path-search.patch. This should fix the "no modules loaded" issue. Matthew's patch looks for the grub.cfg file in the bootlocation. In case the file is not found, it continues the normal path, which is to look for the grub.cfg using the prefix. The issue comes from the fact that the original patch does not clear the grub_errno in case the grub.cfg is not found in the bootlocation. This leads to a fake error later when grub tries to open the file "command.lst".
Created attachment 613684 [details] A revision of grub-2.00-add-fw_path-search.patch
I have seen a similar problem caused by grub-2.00-add-fw_path-search.patch when using grub2-install --removable to make a USB boot 'disk' for the OS/grub2 on the harddrive of an EFI Mac. Let's hope the updated patch fixes this issue too.
Created attachment 614509 [details] Resubmitting patch using pjones's guideline ------- Comment (attachment only) From pfsmorigo.com 2012-09-19 17:37 EDT-------
grub2-2.00-10.fc18 works fine.