GRUB and Char*
Posted: Tue Jan 02, 2007 10:28 pm
Hey, it has been a while and I'm trying to start up another operating system, this time in C and booting from GRUB.
Everything was working fine until I added
After that GRUB stopped booting my kernel. After that I commented out that line and it worked again.
I'm guessing the issue is something to do with my GRUB header is being pushed too deep into the file and grub is giving up on looking for it. Any advice on how to fix this? Maybe a linker trick I haven't found on the net?
Anyways, thanks for reading.
Everything was working fine until I added
Code: Select all
char* helloWorld = "Hello World";
I'm guessing the issue is something to do with my GRUB header is being pushed too deep into the file and grub is giving up on looking for it. Any advice on how to fix this? Maybe a linker trick I haven't found on the net?
Anyways, thanks for reading.