Page 1 of 1
Need simple OS
Posted: Tue Mar 09, 2004 12:33 pm
by Vladaz
Hello everyone.
I need simple OS source and there must be bootloader, that boots kernel and kernel. The code must be simple too
If you know where i can download it from, tell me. Or maybe you can code that simple OS?
Thanks.
Re:Need simple OS
Posted: Tue Mar 09, 2004 12:35 pm
by Vladaz
By the way, i would be thankful if the source would be in NASM and C
Re:Need simple OS
Posted: Tue Mar 09, 2004 12:38 pm
by Pype.Clicker
http://www.osdev.org/osfaq2/
ever tried the "small kernel with sources" section ?
Re:Need simple OS
Posted: Tue Mar 09, 2004 3:22 pm
by Therx
any change of writing it your self or is there a deadline involved
Pete
PS Not for codewars or school is it?
Re:Need simple OS
Posted: Wed Mar 10, 2004 11:34 am
by Vladaz
I need it because im too lame and i read a lot of manuals, but my bootloader still can't load the kernel
I found now one and i go to test it. If it works than i can say to someone - thanks.
Re:Need simple OS
Posted: Wed Mar 10, 2004 12:26 pm
by Pype.Clicker
just pick up grub, then ...
Re:Need simple OS
Posted: Wed Mar 10, 2004 12:37 pm
by Therx
1. Download a GRUB image from
http://osdever.net
2. Use RAWrite to put it on a floppy.
3. Download OSD kernels from
http://my.execpc.com/~geezer/osd/
4. Change the menu.lst file on the floppy so the kernel filename's right.
5. Download DJGPP
http://www.delorie.com/
6. Compile the first OSD kernel by typing "make" in a command prompt
7. Copy to kernel onto the floppy
8. Reboot
9. Stare in amazement
10. Write your own code
HTH.
Pete
Re:Need simple OS
Posted: Wed Mar 10, 2004 12:49 pm
by Tim
Just a point: I only recommend using DJGPP if all you've got is DOS. There are much better compiler and linker packages available for Windows (Cygwin or Mingw) and Linux (normal gcc/ld).
Re:Need simple OS
Posted: Wed Mar 10, 2004 1:11 pm
by Therx
but on windows cygwin/mingw are a pain to get setup (the ld scenario)
Pete
Re:Need simple OS
Posted: Wed Mar 10, 2004 1:14 pm
by Candy
Tim Robinson wrote:
There are much better compiler and linker packages available for Windows (Cygwin or Mingw) and Linux (normal gcc/ld).
How do you make an ELF file with the MingW tools? And are the .S files generated by the 3.3 MingW gcc the same as the 3.3 linux gcc? I can't seem to stuff linux on my laptop (will try again tonight, still hard because it has 1GB of harddisk and so I can't copy a cd image, and I can't install from cd because I can't fit the CD in (without breaking it, and my floppy drive).
Re:Need simple OS
Posted: Wed Mar 10, 2004 1:32 pm
by Tim
Candy wrote:
How do you make an ELF file with the MingW tools?
Don't know about Mingw, but you can do this on Cygwin by linking to PE (i.e. by not specifying an output format), then using objcopy to convert to ELF.
And are the .S files generated by the 3.3 MingW gcc the same as the 3.3 linux gcc?
Don't know, I have installed neither Mingw nor Linux
.
Re:Need simple OS
Posted: Wed Mar 10, 2004 2:11 pm
by mystran
Candy wrote:
I can't seem to stuff linux on my laptop (will try again tonight, still hard because it has 1GB of harddisk and so I can't copy a cd image, and I can't install from cd because I can't fit the CD in (without breaking it, and my floppy drive).
Sorry, if this is off-topic, but I'd investigate the possibilities for network install (assuming you have network). Basicly, if you can boot from a few floppies into a ramdisk based small linux system with necessary network driver and enough utils to 1) download stuff with wget or something, and 2) mount local partition, you can then install almost any distribution (as long as the installed distribution fits on the drive) over network.
At least gentoo and debian are fairly easy to do (although 1GB probably is too little for using gentoo), Slackware is even easier (packages are .tgz == basicly .tar.gz with /install/doinst.sh or something like that) and I think you can get most others to work too.
Re:Need simple OS
Posted: Wed Mar 10, 2004 2:52 pm
by Candy
mystran wrote:
Sorry, if this is off-topic, but I'd investigate the possibilities for network install (assuming you have network). Basicly, if you can boot from a few floppies into a ramdisk based small linux system with necessary network driver and enough utils to 1) download stuff with wget or something, and 2) mount local partition, you can then install almost any distribution (as long as the installed distribution fits on the drive) over network.
At least gentoo and debian are fairly easy to do (although 1GB probably is too little for using gentoo), Slackware is even easier (packages are .tgz == basicly .tar.gz with /install/doinst.sh or something like that) and I think you can get most others to work too.
That was my plan initially, but I seem to have a cross/noncross problem with cables I can't re-squeeze connectors on. That means I'm going to have to try @ internship tomorrow, hope they won't mind.. Anyway, back to topic & thanks mystran.