Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 22-02-2006, 05:11 PM   #1 (permalink)
In The Zone
 
Join Date: Jul 2005
Posts: 363
Default Compiling yr own Linux--gentoolinux


I have heard that there is a distro which allows you to compile yr own kernal according to the required modules(Device drivers) for the specific hardware. As only required modules are compiled tjhe kernal is going to be really fast...I suppose the Linux distro was Gentoo..
Has anyone tried to compile his own hardware dependent version...
dabster is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 22-02-2006, 05:25 PM   #2 (permalink)
In The Zone
 
Join Date: May 2004
Location: ** Hosur ** Operating System:GNU
Posts: 451
Default

I think you are speaking about LFS.
__________________
Million's Of Open Minds Can't Be Wrong!
http://nc.xmgfree.com/weblog
Everybody Wants to go to Heaven...But nobody wants to Die! :wink:
naveenchandran is offline  
Old 22-02-2006, 06:55 PM   #3 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

You can compile your own kernel on any distribution you choose, but in distributions like gentoo and LFS, you are compiling the whole system from scratch, including the linux kernel.

By the way, modern distributions use modularised kernels, in which device drivers are not built in to the kernel, but instead the ones you need are loaded in as modules. Because of this, there is only very little speed difference between a self compiled kernel and a pre compiled one.
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Old 22-02-2006, 08:00 PM   #4 (permalink)
Alpha Geek
 
Satissh S's Avatar
 
Join Date: Mar 2005
Location: Chennai , India
Posts: 693
Default

Gentoo is all abt choices, You choose everything and anything to create a distro as YOU like. If you want to put your name in the distro, you can of-course build an LFS.
Satissh S is offline  
Old 22-02-2006, 08:04 PM   #5 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

Quote:
...By the way, modern distributions use modularised kernels
But again by custom kernel compiling You can remove many unwanted builtin drivers and modules.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 22-02-2006, 08:56 PM   #6 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

Removing modules just saves some disk space, if one doesn't load them up at boot time, they cause no performance penalty. And many distributions use init ramdisk's such that support for SCSI, SATA is not built in to the kernel.

However, you can probably get a noticable performance boost if you compile a kernel which is patched with the unofficial -ck set of patches. I have never tried this so I really dunno.

But of course, compiling a kernel can be a great learning procedure for sure . I used a custom compiled kernel when I was running slackware, but now in arch linux I stick to the stock kernel, and with frequent updates I find myself running the latest stable kernel a day or two after its release.
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Old 22-02-2006, 09:12 PM   #7 (permalink)
Alpha Geek
 
Satissh S's Avatar
 
Join Date: Mar 2005
Location: Chennai , India
Posts: 693
Default

@Ujjwal, Sorry for going a bit offtopic, but plz tell me a bit more abt how you feel of arch.? Of course i went to their site. I have good opinion for LFS, gentoo and slacky!
Satissh S is offline  
Old 22-02-2006, 10:19 PM   #8 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

Arch is similiar to slackware in many aspects, but adds a lot on top of that. It has a good binary package manager, which is (almost) as good as apt-get. In addition, it has a source based system called ABS. This system is not as powerful as gentoo, but it works well.

The whole arch system is i686 optimised, so it needs a modern (P2/athlon or above) to run, but runs a bit faster on this hardware.

Its init scripts are simple, and not System V based. They are similar to slackware, but more flexible in some ways. The basic configuration is managed by a central file called rc.conf. It maintains a list of daemons to start, network settings, and other options.

Arch is a rolling distro, so if you update using the package manager, you are always running the latest version of the distro, which is pretty up-to-date. The arch system is quite dynamic, and there are quite a few innovative changes, for example when udev came out, arch was using a very fast system called hwdetect to detect and load modules based on information exported by udev.

But there are some problems. Sometimes major updates (udev, Xorg7) may break the system, so one needs to know how to fix things in an emergency.

To have atleast a part of this post on topic, here is a link to a good kernel compile guide -

http://www.digitalhermit.com/linux/K...ild-HOWTO.html
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Old 22-02-2006, 10:58 PM   #9 (permalink)
Alpha Geek
 
Satissh S's Avatar
 
Join Date: Mar 2005
Location: Chennai , India
Posts: 693
Default

Even Gentoo uses /etc/rc.conf for system administration. So that's good stuff on arch linux. What abt the binaries? Are they i686 optimised too?
Satissh S is offline  
Old 23-02-2006, 10:31 PM   #10 (permalink)
Alpha Geek
 
Join Date: Dec 2003
Posts: 780
Default

Yeah, all open source software present in the repositories is i686 optimised.
__________________
Hardware - Celeron 266 MHz, 128MB RAM, Intel i740 8MB RAM
Software - Slackware Linux 10.1; Archlinux 0.7; Windows 98 SE
Humanware - GS/CS C++ L+++ w b+++ DI+ D+ e
ujjwal is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by icebags
- by clinton
- by topgear

Advertisement




All times are GMT +5.5. The time now is 10:19 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2