LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-13-2004, 09:48 AM   #1
cybermonkey
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Rep: Reputation: 0
Slackware Installer Source Code


Has anyone found the source to the simi graphical install for slackware?
What i am trying to do is build my own custom distro based on slackware.
I have tag files figured out but now i would like to try my hand at editing and customizing the slackware installer.
I also have anaconda in mind because i have that one down to but configure anaconda for slackware may be a pain in the ass.
If anyone knows where i could find the slackware installer source code that would be great.
 
Old 01-13-2004, 03:16 PM   #2
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Rep: Reputation: 30
Doesn't look like anyhting much complicated. I would guess a nice graphical BASH script or something of the sorts..
 
Old 01-13-2004, 03:16 PM   #3
OdieQ
Member
 
Registered: Jan 2004
Location: Stockholm, Sweden
Distribution: Debian, Slackware
Posts: 71

Rep: Reputation: 15
Shell scripts

I assume you are referring to the standard installer? As (nearly?) all Slackware system tools, it is a set of shell scripts. If I remember correctly, you'll find them in /usr/lib/setup on the installation root disks (either install.[12] or initrd.img in isolinux).

Cheers,
Odie
 
Old 01-13-2004, 07:05 PM   #4
cybermonkey
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Ok Install.1 or 2 is what i thought but when i copy them both to my desktop and try to
extract them i have to rename the file to (Install.1.gz) in order to extract anything.
Now when i do this the file that i get is all numaric like. (3455/6547/4276/765/234)
Is this Hex Code? If not then how would i go about makeing the files readable?
One of the things i would like to try is build a GUI installer for slackware but inorder to get
started i need to take a look at the install files.
The gui part shouldn't be to hard.
Anyways if you all have any input or support you would like to offer that would be great.
Slackware is the best distro i have ever seen and i have tryed them all.
 
Old 01-16-2004, 10:52 PM   #5
OdieQ
Member
 
Registered: Jan 2004
Location: Stockholm, Sweden
Distribution: Debian, Slackware
Posts: 71

Rep: Reputation: 15
Mount

They're disk images, so you need to mount them. Probably easiset to do with the one in the isolinux directory, since it's already in one piece. gunzip it and mount it (as root) with
Code:
mount initrd.img /mnt/floppy -oloop
(of course you can mount it anywhere you want).

A general tip: file is your friend.

I once wrote a graphical install and package managing system for slack in tcl/tk. Thanks to the simple package format it wasn't too hard, but it sucked anyway, so I've since thrown it away. Hope you have better luck!

Cheers.
Odie
 
Old 01-17-2004, 12:51 AM   #6
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
You might try looking at one of the Slackware mirrors, in the directory:

slackware/slackware-9.1/source/rootdisks

Enjoy!
--- Cerbere
 
Old 01-18-2004, 07:18 AM   #7
rkngl
LQ Newbie
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 10
Posts: 18

Rep: Reputation: 0
If you installed from cds like me then boot into your first slackware install cd, type which setup to find out where the slackware installer is located on the cd, then browse it with your fav editor. AFAIK all the install scripts are under /usr/lib/setup on the cd and the post-install scripts are under /var/log/setup on your installed system.
 
Old 01-18-2004, 08:17 AM   #8
dirstyGuy
Member
 
Registered: Jan 2004
Posts: 67

Rep: Reputation: 15
I found them by doing following:

mkdir tmp/install; cd /tmp
gzip -dc /pathToRootdisks/install.1 >install1
gzip -cd /pathToRootdisks/install.2 >install2

mount -o loop -t ext2 install1 install
cp -auv install new-install
cd new-install
tar -xf ../install2
cd ..
umount install; rm -rf install install1 install2

The setup-scripts reside in newinstall/usr/lib/setup
They are shell script, the dialog-menus are written by using "dialog", see "man dialog"
 
Old 01-22-2004, 03:15 PM   #9
cybermonkey
LQ Newbie
 
Registered: Jul 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Wow thanks to everyone who posted a reply i now see the light at the end of the tunnel if anyone is interasted in helping me out with this project you can e-mail me at (fireflyeen@netscape.net)
Thanks Again
 
Old 01-22-2004, 05:06 PM   #10
dirstyGuy
Member
 
Registered: Jan 2004
Posts: 67

Rep: Reputation: 15
If u ever installed by using "expert mode" there is a gui for choosing the packages u want per mouse click. That is what I wanted to modify to be able to configure the custom tagfiles using it. To edit the tagfiles each time would be a little too much work, I'd rather use "expert mode" for installation then ..

That is enough for me to have that gui for configuring tagfiles, to make a custom installer would be not that easy, i wish u much luck..
 
  


Reply



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
Slackware Installer - Scripts/Source Download? Vampirite Slackware 10 05-02-2006 01:26 AM
Source Code-installation-Slackware 9.1 lmellen Slackware - Installation 14 01-25-2004 04:20 PM
source code installation-slackware lmellen Slackware - Installation 0 01-17-2004 12:22 PM
installing source code - slackware lmellen Slackware - Installation 0 01-17-2004 11:39 AM
Slackware source code clu Linux - Newbie 2 02-21-2003 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:45 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