Talk:Grub Error 13: Difference between revisions

Content deleted Content added
Combuster (talk | contribs)
Multiboot section
 
Line 4:
 
: '''Wrong''' - putting the multiboot header in .text makes it completely vulnerable to file placement, and is the prime cause for the ton of forum threads "I get error 13 when I expand my kernel". The solution is the exact opposite: place it in a separate section, and force that section up front via the linker script (which you'll already have anyway), so the linker is forced to place it up front in the binary, and not somewhere among the .text objects at the whims of the linker. (Comment removed from original page) - [[User:Combuster|Combuster]] 08:44, 19 April 2010 (UTC)
 
::Using a linker script and proper alignment is the key, I can't see why a separate section is needed. Another problem with using a separate section is that it doesn't work with all executable formats.
Return to "Grub Error 13" page.