LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-30-2009, 10:05 AM   #1
parwar
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Rep: Reputation: 0
Smile Linux installation


Hello ALL
i m a newbie
if i wana know that how linux installation works from boot till the complete installed OS.
which files it reads and where can i find those files on a DVD.
eg) i got a DVD and look into that if i wana figure out that which files control ipaddress and packages. so i find alot of only .tar files... plz help me that how can i look a step by step installation of Linux that what basically linux does and how.....
help from any replyer must be appreciate..
thanks
parwar.
 
Old 06-30-2009, 10:11 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by parwar View Post
Hello ALL
i m a newbie
if i wana know that how linux installation works from boot till the complete installed OS.
which files it reads and where can i find those files on a DVD.
eg) i got a DVD and look into that if i wana figure out that which files control ipaddress and packages. so i find alot of only .tar files... plz help me that how can i look a step by step installation of Linux that what basically linux does and how.....
help from any replyer must be appreciate..
thanks
parwar.
It doesn't work that way. You slap an installation CD/DVD into your CD drive and boot up making sure the boot priority is set in bios to boot from the CD before the HD. Then just follow the instructions. There are other methods but that's the most typical and easiest way to do it. If you already have an OS on the HD that you wish to keep then when the time comes for partitioning you can decide how to divide up your HD. You will get a chance to fill in your network information (ip etc) and what packages to install in the course of the installation process.

Cheers,
jdk

Last edited by jdkaye; 06-30-2009 at 10:12 AM.
 
Old 06-30-2009, 10:17 AM   #3
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Hello,
Linux is a kernel. It is the core of many operating systems we call distros.
Think about is as a pillar of a building. It can not work alone. You've got to put the other pillars, the walls, the windows, the roof and many things inside it. Linux itself is not an OS.
Each OS has its own way of installing itself. Those OS are Mandriva, Ubuntu, Fedora, Gentoo, Red Hat, Gentoo, Slackware and many others.
So your question about linux does make sense as it is. Linux alone does not have all those things and each OS has different things and package them differently.
 
Old 06-30-2009, 10:26 AM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Would the 'Linux from Scratch' documentation cover the install info ?
 
Old 06-30-2009, 10:37 AM   #5
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
It might help if you specified WHY you want to find these files. Depending on what you really intend, there might be other ways to accomplish it without having to dig into the individual install files.

I'm sure there are a lot of variations, but AFAIK, for the most part a linux installer is a kind of dedicated live disk. When started, a stripped-down kernel is booted up and a set of scripts and programs gets run. These programs partition and reformat the hard drive, then copy and configure all the files needed for the system onto them. These files are usually stored in compressed packages on the disk (the tar files), although some installers only install the most basic stuff and download the rest from the net. When it's all done, you remove the installer and boot into the newly-installed system.

Now what is is you want to do?
 
Old 06-30-2009, 11:58 AM   #6
parwar
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks 2 all of u my seniors...

the OS i wana install is linux cent os 5.2
my question is that .
i wana know something abt the process of OS installation
that first it boot from cd and then ask for the answers
from users abt keyboard, harddisk partition, ip adress ..etc
so at each stage if i want to know that at each stage how
the os reads those pre configured files and which files which
control the packages, hostname, ipadress,,, like the whole system
how the Installation process work from the files which are on the CD.

cheers...
Parwar
 
Old 06-30-2009, 12:18 PM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Sorry to be a bit suspicious but is this homework by any chance?
jdk
 
Old 06-30-2009, 12:21 PM   #8
parwar
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Original Poster
Rep: Reputation: 0
nops

i wana install OS on server and need some customization in anaconda installer
but now i got another way so thats the part of that..
 
Old 06-30-2009, 12:24 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
So you want info about the installer, Redhat, Fedora, & CentOS use the anaconda installer..

http://fedoraproject.org/wiki/Anaconda

Last edited by farslayer; 06-30-2009 at 02:05 PM.
 
Old 06-30-2009, 12:40 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
It sounds almost as if you want to know how the installation routines are written and what commands they issue at each step and in what sequence, as opposed to how a user would perform an install.

I think that would vary with different distros and the preferences of those who wrote the code, though from the outside they may look similar.

1. Partition hard drive
2. Install base system.
3. Install additional software.
4. Set options (networking, clock, boot loader, etc.) (Sometimes this is set as step 2.)

The best suggestion I can think of is to go to a Slackware FTP site, like this one, and read some of the readme and howto files.

I would start with the Slackware-HOWTO, the README.initrd, and the BOOTING.txt.

There also seems to be a lot of highly technical information here.

No, I don't understand Linux. It's like my girlfriend. It's beautiful, but I don't always understand it.
 
Old 07-01-2009, 11:02 PM   #11
parwar
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Original Poster
Rep: Reputation: 0
thanks to all replys

thanks specially to frankbell that u got ma point what i said:

i m using cent os 5.2
i wana know that when the distro ask abt the new installation /upgrade/rescue
after that testing memory
and then keyboard/language and disk partition

so at each level which files it reads and from where in the cd/DVD, becz when i open the DVD there was a lot of tar files so which one can i open to ammend....

like i want to add the hostname of the machine in the Dvd sample files
and when i install the OS from my customized DVD then it should be assigned
by my given hostname so at which files i need to edit for the host name,,,,

so for this kind of stuff i need to know the process of installation depends upon which files at the above given installation stages.like keyboard/partition and languages...........
 
Old 07-01-2009, 11:42 PM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Sounds like you want the Kickstart technology: http://www.linuxtopia.org/online_boo...kickstart.html
 
Old 07-02-2009, 06:56 AM   #13
parwar
LQ Newbie
 
Registered: Jun 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Let me clarify what i want....
I want to customise a Centos dvd so that during installation it will ask some questions (additional to the existing ones) and based on the answers it gets it will configure the Centos server. An example of what i want to do is to ask some questions about the network IP addresses and based on the answers a script will automatically configure DHCP, DNS and other network services.

I hope this has shed some light on the exact purpose that i need to modify anaconda.
 
Old 07-02-2009, 08:51 AM   #14
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
And the link I provided earlier was to the anaconda development site where you can access the docs and source code for anaconda..

so what are you still missing ?

(personally I thought network config was already handled during install... )
 
Old 07-03-2009, 02:41 AM   #15
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Indeed, the network config section does ask those qns during Centos install....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat/Linux Installation Support??? Is It Red hat installation problem??? wanux Red Hat 1 08-01-2006 11:32 PM
Linux Installation before Windows Installation pragun Fedora 1 01-19-2005 12:27 AM
Installation doesn't recognize Red Hat Enterprise Linux ES installation cd bizkut Red Hat 2 08-15-2004 09:57 AM


All times are GMT -5. The time now is 01:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration