lopaka / instructions

Instructions on how to do things
173 stars 39 forks source link

can not compile bootloader #22

Open Hugo-Trentesaux opened 6 years ago

Hugo-Trentesaux commented 6 years ago

I try to follow the script and get the following error message when I run make

cat syminfo.lst | sort | gawk -f ./genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1)
grub_reboot in reboot is duplicated in kernel
Makefile:43508: recipe for target 'moddep.lst' failed

Any idea why ?

ProfessionalismIsMyMiddleName commented 6 years ago

I fixed it by getting a previous version of grub, just spammed git checkout HEAD~ a few times and checked the date of the commit I went back to with tig until it was somewhat close to the last update of the script. Maybe just rolling back one rev works, I didnt bother to check. No idea what the cause of the issue was tho. Or you could just get and burn the iso, that may be a bit easier ^^

Hugo-Trentesaux commented 6 years ago

Your fix seems strange ! I already made this script work a year ago. I lost the bootloader I compiled and the iso does not work for me. The laptop, which runned Ubuntu the whole year, just crashed and does not boot anymore on any usb stick. I still can access the grub in command line, but it does not detect any external drive. Since the system is broken, it is not possible to boot it directly from the grub.

ProfessionalismIsMyMiddleName commented 6 years ago

Yeah I know right? I was in a hurry to fix my GF's laptop before her work and didn't really have the time to go through the makefile to find the problem or to ponder a more elegant solution, so I thought the only thing that may have changed since the script was written is the revision of grub's repo, git proved me right, and voila... Well it looks like you're in a pickle here... I'm not sure I can help though...

On Tue, Nov 28, 2017 at 4:26 PM, Hugo Trentesaux notifications@github.com wrote:

Your fix seems strange ! I already made this script work a year ago. I lost the bootloader I compiled and the iso does not work for me. The laptop, which runned Ubuntu the whole year, just crashed and does not boot anymore on any usb stick. I still can access the grub in command line, but it does not detect any external drive. Since the system is broken, it is not possible to boot it directly from the grub.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lopaka/instructions/issues/22#issuecomment-347558642, or mute the thread https://github.com/notifications/unsubscribe-auth/AD2gVxG1PZzb5ZVuYvrw6AKyYizMQqdnks5s7CYOgaJpZM4QmCWJ .

Hugo-Trentesaux commented 6 years ago

There is a compiled version here : https://github.com/jfwells/linux-asus-t100ta/tree/master/boot

lopaka commented 6 years ago

The last pull request merge to master uses the version of grub that worked before it started failing. Did you recently try that?