4

Modifying GRUB stage1

view full story
linux-howto

http://www.linuxquestions.org – Hi All, I am using legacy grub(0.9.7) as my boot loader. I want to add some code into GRUB stage1. But I am getting following error. stage1.S: Assembler messages: stage1.S:591: Error: attempt to move .org backwards stage1.S:603: Error: attempt to move .org backwards make[2]: *** [stage1.o] Error 1 It seems like Stage1 code is starting after BPB only. Is it possible to use BPB section for GRUB stage1 (GRUB is installed in HDD)?? If yes, how to change the code start to BPB section?? (HowTos)