Want to change Os

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.
aggiy2k

Want to change Os

Post by aggiy2k »

Hi ! Friends ,

I want to change OS feature , as some other distro does they just change the feature but internal feature every thing is same. Such as mandrake and suse and many other linux os use redhat RPM , some other linux use debian features and some of them are using Caldera .

I want to do the same thing just change the features and a look . How can i do it as i have mandrake 8.2 and lycoris install . So what is the first step ? . as i know basic knowledge of C/C++ programming .
Tom

Re:Want to change Os

Post by Tom »

What's the feature...or I don't understand you?
aggiy2k

Re:Want to change Os

Post by aggiy2k »

Tom ,

I want to change internal codes , Such as instead of mandrake i want to use my own name .
Tom

Re:Want to change Os

Post by Tom »

Oh ok...that's no easy tasks...alot of code to go though.

I suggest that you look on their web site for info on compiling...and then start changing what you want...like find the login place and you can put your name in to be printed on the startup.

I also suggest you know a some good assembly if you want to change the internels internels...etc...
Curufir

Re:Want to change Os

Post by Curufir »

Ok, kernel hacking inside one of the major Linux distributions is a horribly bad idea, mainly because there's so much depending on the kernel's behaviour that it's very easy to break things.

A better place to start would be to build yourself an LFS system (linuxfromscratch) which gives you the barebones GNU-Linux with all the tools you need to go hacking into the kernel. You can then use this for testing without jeopardising your day to day distro.

Before you start you'll want to read a lot about linux internals, freshmeat should put you on the right track for this.

As for look I'm assuming you mean the GUI. That's controlled by the window manager. Practically every Linux distribution uses XFree86 and KDE/Gnome/Enlightenment (There are other window managers but they aren't in such general use). Distributions change the appearance of the window managers by producing themes that can be supported by them (Note you don't need a window manager to start changing appearance of buttons etc. You can do it with just XFree86 but you'll need to write/use some library code to do it) Eg You can produce widgets for Gnome using GTK+. So if you're just looking at changing the look of the GUI then get information about making themes for whichever window manager you happen to want to use.

Changing the look/feel of the terminal shell is IMO a) Pointless b) See a) :).

Remember that all the fun bits most people think are Linux aren't actually Linux and most are independent of any distribution. The vast majority of any Linux distribution is actually GNU/Opensource apps and libraries (If you don't believe me then show me a useful Linux with JUST the kernel ;)). That being said if it's the kernel you want to hack then just search around the web. There are many groups/boards on the web dedictated to happily poking around in the Linux source where you can get more information.

Curufir
(No urls, if I can use google then so can you)
aggiy2k

Re:Want to change Os

Post by aggiy2k »

To build own linuxfromscratch system what i have to do what is the 1st step ?
damonbrinkley

Re:Want to change Os

Post by damonbrinkley »

Start by reading this-- http://lfs.activalink.com/view/4.0/
Berserk

Re:Want to change Os

Post by Berserk »

So.....All you want to do is take an existing Linux, put your own name on it, change a few features, and call it your own. Doesn't sound very fair to the people who made Linux, i got Mandrake Linux 9, not bad, but i wouldn't swap it for Windows XP.

Anyway, i think you should start Linux from scratch, it's the BEST thing to do.

Ciao ;)
Tom

Re:Want to change Os

Post by Tom »

So.....All you want to do is take an existing Linux, put your own name on it, change a few features, and call it your own.
If you even wanted to do that, it'd be like reprogramming 500,000(.......) lines of source code!
Berserk

Re:Want to change Os

Post by Berserk »

The task could be automated easily by creating a simple program ;)
Tom

Re:Want to change Os

Post by Tom »

Sorry but....YOU go prove that by making a computer program as smart as a human!
Tim

Re:Want to change Os

Post by Tim »

All you want to do is take an existing Linux, put your own name on it, change a few features, and call it your own.
Sorry but....YOU go prove that by making a computer program as smart as a human!
You don't need to be a human to replace the word "Linux" with "Timix" across the whole codebase.
Tom

Re:Want to change Os

Post by Tom »

Well, I do know about that search and replace. ;)

But, then i'd be not really your own OS. Sometimes...i'm tempted to just make my own linux and use all there pre-made code...but then...
Curufir

Re:Want to change Os

Post by Curufir »

sed 's/Linux/Timix/g' (File in) >(File out)

Then wrap up in a bash script to recursively go through every file in the source tree. Sounds nice and simple until you realise you're also going to have to change the names of all the directories, even then none of the configure scripts for open source applications are going to recognise it as a linux kernel so you'd have to patch them as well...etc. Basically there's a lot more to do than a simple change of names.

Curufir
aggiy2k

Re:Want to change Os

Post by aggiy2k »

Hey guys ,

I want to change only distributor names nothing else
Post Reply