GRUB and my OS
Posted: Sat Feb 23, 2002 10:49 am
Hello people,
I'm a french (excuse my english) Linux user (not a newbie, but not an expert ;D) of 13 years old (re-excuse).
I'm good in C programming and I wanna create my own OS.
I've seen the FAQ from mega-tokyo, i've written an 'Hello World'-like kernel and i wanna boot onto it. This code is the same as Whatever5k (with differences but the same result).
I have added this in /boot/grub/menu.lst :
The kernel, /bosskz, is compiled with a shellscript :
I'm not exactly sure, i'm under Windows (it's AOHeLL...).
Then i've rebooted and i've selected bOSs in the boot list.
AND THEN, THE MIRACLE !
It didn't work >:( !!
Why ? I don't know ! ???
I really need help, plz !
I'm a french (excuse my english) Linux user (not a newbie, but not an expert ;D) of 13 years old (re-excuse).
I'm good in C programming and I wanna create my own OS.
I've seen the FAQ from mega-tokyo, i've written an 'Hello World'-like kernel and i wanna boot onto it. This code is the same as Whatever5k (with differences but the same result).
I have added this in /boot/grub/menu.lst :
Code: Select all
# 3: bOSs, mon OS de merde
title bOSs
root (hd0,4)
kernel (hd0,4)/bosskz
boot
Code: Select all
gcc -o /kz.o -c boss.c
ld /kz.o -o /bosskz --oformat elf32-i386 -tText 0x100000
rm /kz.o
Then i've rebooted and i've selected bOSs in the boot list.
AND THEN, THE MIRACLE !
It didn't work >:( !!
Why ? I don't know ! ???
I really need help, plz !