GRUB -> format not supported
Posted: Tue Sep 30, 2003 11:19 am
GRUB keep saying that my kernel is in a not supported format 
I'm running WinXP with DJGPP.
This is my linkerscript:
physical_load_addr = 0x00101000;
ENTRY (KernelEntry)
SECTIONS
{
. = physical_load_addr;
.text :
{
*(.text)
*(.rodata)
}
.data ALIGN (0x1000) :
{
*(.data)
}
.bss :
{
_sbss = .;
*(COMMON)
*(.bss)
_ebss = .;
}
}
And this is how I compile the kernel:
nasmw -f aout kernel_start.asm -o ks.o
gcc -nostartfiles -nostdlib -fno-builtin -fwritable-strings -o kernel.o -c kernel.c
ld -T link.ld -o kernel.bin ks.o kernel.o
I'm running WinXP with DJGPP.
This is my linkerscript:
physical_load_addr = 0x00101000;
ENTRY (KernelEntry)
SECTIONS
{
. = physical_load_addr;
.text :
{
*(.text)
*(.rodata)
}
.data ALIGN (0x1000) :
{
*(.data)
}
.bss :
{
_sbss = .;
*(COMMON)
*(.bss)
_ebss = .;
}
}
And this is how I compile the kernel:
nasmw -f aout kernel_start.asm -o ks.o
gcc -nostartfiles -nostdlib -fno-builtin -fwritable-strings -o kernel.o -c kernel.c
ld -T link.ld -o kernel.bin ks.o kernel.o