Closed davidm71 closed 6 years ago
and copied latest gnu-efi to the gnu-efi folder, copied grub v2.02 to the grub folder
That's most likely your issue.
As mentioned in the README, you need to use git submodule init
and git submodule update
to fetch the grub and gnu-efi directories. Copying them manually or using git clone
will not work.
Once you have done that, you should be able to apply the patches.
Please make sure you follow the README instructions.
I did do just that typing git submodule init and git submodule update though had difficulty in that it would only work after typing 'git init' then the other two commands worked. I'll try again. Also is this the correct way to apply the patch? git apply --ignore-space-change --ignore-whitespace --whitespace=nowarn file.patch
Thanks
Otherwise if I don't type 'Git init' I get this by typing 'git submodule init' : fatal: Not a git repository (or any of the parent directories): .git
git init
is very suspicious. Something tells me you forgot to cd
to the efifs
directory after cloning it (in which case you will of course have loads of issues). Make sure you are in efifs
before applying the git submodule
commandsgit apply
should work. But again, If you are on Windows, I would recommend using TortoiseGit, then copying the patches into the grub subdirectory and select Apply patch serialThanks.
Finally got it working. Turns out you cant download the efifs package as a zip or tar file and expect that 7-zip or Winzip or WinRar will unpack the files like they should, or perhaps to run 'git submodule init' you need to git clone https://github.com/pbatard/efifs.git manually or else it won't work. Besides that 'Tortoisegit' utility update patch serially like you said worked like a charm. Now I can finally have lunch!
Thanks for your help. Appreciate it! Thanks Pete!
Trying to compile your Efifs driver in VS2017 and copied latest gnu-efi to the gnu-efi folder, copied grub v2.02 to the grub folder (also did a git clone with: git clone git://git.savannah.gnu.org/grub.git ) and when I compile I get a bunch of type conversion errors. Must because I need to apply those patches? On my system TortoiseSvn opens those patch files and when I apply and direct it to the grub folder it errors saying 'non working directory'. I've even tried the grub-core and fs folder without luck. Must not be correct way to apply the patches? Efin driving me crazy. Please help. Thanks