Linux Kernel

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
nuno_silva_pt

Linux Kernel

Post by nuno_silva_pt »

This is what's hapening:
1- i'm translating the linux kernel to portuguese
2- how can i change the kernel's filesystem to FAT32?
3- how can i make my c code of wxwindows's gui work?
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:Linux Kernel

Post by distantvoices »

ad pt.1. This seems to be ok. :-)

ad pt.2. load the proper file system modules to the kernel via modprobe and mount a fat 32 file system, although I'd recommend you stay with reiserFS or Ext2 or something else which contains the proper unix-features.

ad pt.3. I don't know, gosh. I have no experience with windows gui programming nor with gui programming in general.

stay safe
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Linux Kernel

Post by Pype.Clicker »

i would not recommend to install Linux with only FAT32 support. Despites it looks feasible at the first sight, you'll face the problem that you will not have the ower/group/other permissions (therefore you'll lose a lot in software protection or will be forced to run everything as root :-C ).
By the same time, it will be hard to have hard or symbolic links in a FAT32 partition, and some administrative tools (not mentionning all the application and building scripts) rely on such links to be available)

If what you're trying to do is to install a Linux system on top of your father's Windows partition without damaging it, i suggest you try mu-Linux distribution (or something similar) which have the option of making a whole Windows file used as a EXT2 partition (a kind of virtual disk in a file, if you see what i mean ...)

what exactly is wxwindows ? is it the Win32 GUI or something related to X-window ?
nuno_silva_pt

Re:Linux Kernel

Post by nuno_silva_pt »

WXwindows is a cross-platform native UI framework
you can find it in:
www.wxwindows.org
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Linux Kernel

Post by Pype.Clicker »

then, i would say you'll be able to reuse wxwindows apps if you have your Xwindow server running in your linux ...
But this is not related to the kernel at all ... (the X server is some application, in Linux)
nuno_silva_pt

Re:Linux Kernel

Post by nuno_silva_pt »

I'm going to make my own o.s. from a linux kernel, but i'll change it so i can use both FAT32 and EXT2
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Linux Kernel

Post by Pype.Clicker »

awk! FAT32 is one of the worst file system ever made :-p ... but well, if you really want to do so ... you're the guy who do the design :)
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:Linux Kernel

Post by distantvoices »

Nuno, you old cheater... Making his "own" os out of a linux kernel ... boah ... not that I consider him to be a bragger, of course not. Ups ... I've said it.

aye, Mr. Nuno_Silva, you are the best one, you are the one who will get this working and then we all might see your genious spirit.

thank you for your indeed fantastic audience. You will OF COURSE read what stands written, won't you?
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
nuno_silva_pt

Re:Linux Kernel

Post by nuno_silva_pt »

I'm having trouble when i'm trying to boot any kernel by floppy in DOS. it never works, i've tryed Bootf2, vload, etc... everything but GRUB. How can i boot my kernel?
nuno_silva_pt

Re:Linux Kernel

Post by nuno_silva_pt »

i'm just 14 years old and i didn't have any c++ course, so it is hard to me to understand. if you can send me some source code, please send it :-(
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:Linux Kernel

Post by distantvoices »

Mr. Nuno_silva...

You say, you haven't had some c/c++ course: Go and learn it instead of crawling round and peeking into OS development. This is NOT your playground if you aren't capable of programming techniques and some very basic theory.

You want source code? What would it help? What would you learn? Would you learn pointer arithmetics? Come, tell me, you have a pointer to an intger, say int *p; In which way would it advance if you say: p++;? Do you now about Nassi-shneiderman diagrams? If so, what are they good for?

Thanks for your indeed magnificient audience.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
nuno_silva_pt

Re:Linux Kernel

Post by nuno_silva_pt »

at least, can you tell me how to boot my floppy correctly?
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Linux Kernel

Post by Pype.Clicker »

you have to install a bootsector correctly on it.

It's not sufficient to format the disk and copy the files on it. You need to access its raw sectors and overwrite the DOS/WINDOWS bootsector telling "this is not a bootable disk, replace and press any key" by the bootsector you want to install.

This is ususally done by a tool like PARTCOPY or RAWWRITE (which you should find easily with a little googling :) ). Check their manual pages for more info (never used those tools myself ::) )

Now, one link you'll love is probably http://babelfish.altavista.com/
nuno_silva_pt

Re:Linux Kernel

Post by nuno_silva_pt »

hehe, verrrrrrrrrry funny................. :P
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Linux Kernel

Post by Pype.Clicker »

nuno_silva_pt wrote: hehe, verrrrrrrrrry funny................. :P
sorry ... i was just trying to help the best i can do.
I personnally use "cat image.bin >/dev/fd0" ... but this is a Linux command, so ...

As you don't tell us what exactly fails when you try to install the boot system on your floppy, all i can do is guessing what could be wrong ...
Post Reply