Can grub load a x86-64 bit OS image? The image im trying to load is this:
address@hidden kernel]$ file freeGSD freeGSD: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, not stripped
I then bzipped it to be freeGSZ. I then make an ISO image with grub on it (I followed the intructions in the manual) and the OS.
When I fire up grub (with the bochs emulator compiled for 64bit support) I run these commands:
grub> root (cd) grub> kernel /freeGSD
The root command works fine, it says its loaded an ISO file system and it's using the whole disk. The kernel command gives me an error 13.
I have made sure its a grub bootable file:
address@hidden kernel]$ mbchk freeGSD
freeGSD: The Multiboot header is found at the offset 4096. freeGSD: Page alignment is turned on. freeGSD: Memory information is turned on. freeGSD: Address fields is turned off.
freeGSD: All checks passed.
However, I put the grub multiboot magic in a non-loading section with a linker script. The rest of the OS
loads at 0x100000.
Is this a problem with the 64 bit nature of the kernel or something else?
The word 'politics' is derived from the word 'poly', meaning 'many', and the word 'tics', meaning 'blood sucking parasites'.
-- Where there's a will, I want to be in it. -- Failure is not an option... It comes bundled with the software.