Hello,

Can grub load a x86-64 bit OS image? The image im trying to load is this:

[EMAIL PROTECTED] 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:

[EMAIL PROTECTED] 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?

Cheers, Alex

--
Alex Waterman
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Support or create OpenSource

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.
_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to