GRUB refuses to load ...
Posted: Thu Jan 05, 2006 9:11 am
I'm really furious at the moment because I'm trying this for 4 hours now ... and I do ALWAYS get GRUB error 7 - loading below 1MB is not supported.
I did objdump and it didn't show any sections that begin below 1MB. I tried ELF files and bare binaries. I tried compiling and loading the tutorial kernels on this site (all using BOCHS) - and it's always error 7. What the hell am I doing wrong ??? I mean, I just copied 1:1 what's written in the Wiki ... but I just doesn't work.
The most supid thing is, ONE TIME it worked. But I forgot what linker script I used that time ... and BOCHS instantly crashed upon loading the kernel.
The solution might even be trivial ... but I currently I have no idea why booting fails ALL THE TIME. Please ... help.
I did objdump and it didn't show any sections that begin below 1MB. I tried ELF files and bare binaries. I tried compiling and loading the tutorial kernels on this site (all using BOCHS) - and it's always error 7. What the hell am I doing wrong ??? I mean, I just copied 1:1 what's written in the Wiki ... but I just doesn't work.
The most supid thing is, ONE TIME it worked. But I forgot what linker script I used that time ... and BOCHS instantly crashed upon loading the kernel.
The solution might even be trivial ... but I currently I have no idea why booting fails ALL THE TIME. Please ... help.