LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-21-2004, 08:46 AM   #1
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
text/GUI installer for gnu/linux distro


hi all
I'm surpirised this hasn't come up before except in the 'tell me how to build a new linux distribution threads'. Basically i'm looking for information on installers for linux distros. Namely:

What size of project is it to build an installer if we consider that a prototype system is built. I'm thinking of something along the lines of the slackware installer (Text screen, choose a kernel, run the chosen partition program, define mount points, install packages and sort out bootloader)
From what i can see the installer part is actualy fairly easy since IMHO the really tech programs are written (respect) and just need launching when required during installation.

Anyone know any good resources for the above or can recommend installers worth hacking around with ?

Lastly, i guess its best to build in C right ? and (don't take this last part to seriously) do u think theretically it would be possible to do this in java (just for the laugh). . .inefficient, pointless and uneccessary yes but interesting none the less. . .BTW i don't actually intend to do use java, just a theoretical thing

Thanks for your time people
 
Old 04-21-2004, 03:21 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Well, like you say it's just a matter of linking together the different programs you need to install Linux. Basically it's just one long script. I think the hardest part would be creating the menu itself (ncurses scares me!).

Rather than C I would probably use Python...very fast development, full access to system commands, and best of all, relatively easy to program in. I seem to recall that Redhat's installer is written (at least in part) in python, but I was never able to find the source.

I'd be interested to see what you come up with, as I am slowly working on my own small linux distro/rescue/live disk intended to fit on a 210 MB mini-CDR. Not sure if I intend to have it install on a HDD though...

Good luck!
 
Old 04-22-2004, 07:33 AM   #3
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Original Poster
Rep: Reputation: 30
Thanks for the reply, I luckily came across this guide today, its got some basic shell scripts for installing a mimimized linux, based on the debian installer.

http://www.xs4all.nl/~lennartb/installdisk/node2.html

i agree ncurses is going to be important but there is plenty of documentation so it should be ok. It also just occured to me that the installation scripts could be on my machine somewhere so i'll have a look later when i get back home. (is this right ? because if so it could all be starting to come together )

good luck with your project bulliver
 
  


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
which distro is a Gnu/Linux distro masand Linux - General 24 09-14-2005 06:26 PM
which linux distro has a GUI? db85usa Linux - Newbie 16 02-03-2005 09:13 PM
What Does The UT2004 Installer Do Behind The Fancy GUI Installer? Tsuroerusu Linux - Games 2 09-09-2004 03:37 PM
Best Linux distro for GUI use? BajaNick General 14 12-16-2003 10:25 PM
Newbie, making linux boot to text instead of GUI Irongut Linux - Software 4 05-14-2003 07:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:36 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
Open Source Consulting | Domain Registration