LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-24-2004, 03:15 PM   #1
thethinker101
Member
 
Registered: Nov 2003
Distribution: Slackware 9.1
Posts: 43

Rep: Reputation: 15
Question Making iso of slack-current


I have a question that I am not entirely sure about. I want to make iso's of the Slackware-Current, almost done downloading, but from what I have read from ftp://carroll.cac.psu.edu/pub/linux/...nux/README.TXT
it only makes 1 iso. I want to be able to make multiple iso's with ALL the files on them, so I don't leave out Gnome, etc. Is this possible, and how would one go about doing this?

Thanks in advance.
 
Old 02-24-2004, 03:33 PM   #2
hjles
Member
 
Registered: Jan 2003
Posts: 64

Rep: Reputation: 15
Making iso's from current

Hey:

I do exactly what you are asking, with a simple script (see below).

Of course, you need a mirror of the slackware-current tree, but I keep one around because after big changes I like to make new images and do a clean reinstall. I know I could probably keep things updated with swaret, but I am thick-headed.

Please note that when I rsync the slackware-current tree, I do not include the pasture or source directories (--exclude=source --exclude=pasture). If you do, you will need to modify the script accordingly. I end up with two discs, the second disc has kde and emacs, the first has everything else.

Anyway, here is my script, good luck!

#!/bin/bash
# Build ISO 1
mkisofs -o /data/slackware1.iso \
-R -J -V "Slackware Install" \
-x ./bootdisks \
-x ./extra \
-x ./testing \
-x ./rootdisks \
-x ./zipslack \
-x ./slackware/kde \
-x ./slackware/kdei \
-x ./slackware/e \
-hide-rr-moved \
-v -d -N -no-emul-boot -boot-load-size 32 -boot-info-table \
-sort isolinux/iso.sort \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-A "Slackware Install CD 1" .

# Build ISO - no Kernel Source
mkisofs -o /data/slackware2.iso \
-R -J -V "Slackware Install" \
-x ./bootdisks \
-x ./extra \
-x ./testing \
-x ./rootdisks \
-x ./zipslack \
-x ./slackware/a \
-x ./slackware/ap \
-x ./slackware/d \
-x ./slackware/f \
-x ./slackware/gnome \
-x ./slackware/k \
-x ./slackware/l \
-x ./slackware/n \
-x ./slackware/t \
-x ./slackware/tcl \
-x ./slackware/x \
-x ./slackware/xap \
-x ./slackware/y \
-hide-rr-moved \
-v -d -N -no-emul-boot -boot-load-size 32 -boot-info-table \
-sort isolinux/iso.sort \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-A "Slackware Install CD 2" .
 
Old 02-24-2004, 03:46 PM   #3
thethinker101
Member
 
Registered: Nov 2003
Distribution: Slackware 9.1
Posts: 43

Original Poster
Rep: Reputation: 15
I am downloading a copy of 'slackware-current' to my HD as we speak. What's "pasture" and do I need it? I am downloading everything in current to my HD... So I don't need the source or pasture when installing slackware? When running the installer from the burned CD (fresh install on HD), does it automatically tell you to switch cd's when installing just like the slackware 9.1 iso's? One last thing, I don't know how to use "bash" or run scripts, so can I just type in what you posted in the terminal and it work?

Thanks again.
 
Old 02-24-2004, 06:58 PM   #4
hjles
Member
 
Registered: Jan 2003
Posts: 64

Rep: Reputation: 15
Details...

Hey:

To answer all of your questions would probably be impossible for me, but I will try to hit some of the bigger points...

>>I am downloading a copy of 'slackware-current' to my HD as we speak.

Great. I actually use 'rsync' for numerous reasons, you could find out more about rsync from google. It allows for incremental changes after the original dowload, plus other nifty things. Basically, after your initial sync (which is at least a couple gigs) it will only download the changes. Anyway...

>>What's "pasture" and do I need it?

The maintainer of slackware will keep older packages around in "Pasture", as in "put out to pasture", as in you don't need them, and shouldn't download them.

>>So I don't need the source or pasture when installing slackware?

To install slackware, and make the images with the script I showed, you do not need "pasture" or "source". In fact, you are just wasting bandwith and time by downloading "source", which contains (you guessed it) the sources and scripts used for creasting the slackware packages, and is very humongous.

>>When running the installer from the burned CD (fresh install on HD), does it automatically tell you to switch cd's when installing just like the slackware 9.1 iso's?

Yes.

>>One last thing, I don't know how to use "bash" or run scripts, so can I just type in what you posted in the terminal and it work?

No. My script is hard-coded to use the directory structure where I maintain my slackware-current tree. If you look at the script, you will see "/data" as the directory I am creating the iso images in. If you don't have this directory, you can change the script or create the directory. Also, this script needs to be run from inside you slackware-current dirctory, or it will not work. If you look at the script, you will see a lot of "./" which are referring to the current directory you are in when you run it.

If you type my script into a text editor (like vi for example, gedit in Gnome, kate in KDE, etc...) you should save it as "makecd.sh" or something similar, then make it executable "chmod +x makecd.sh". This will make your life easier.

BTW - my script it not that clever, and astute readers will know that I copied most of it from www.slackware.no, I even forgot to change some of the comments, and I probably dont' need the kernels directory on both cd's, but it "Works For Me" so the hell with it.

good luck,
charlie
 
Old 02-24-2004, 07:01 PM   #5
thethinker101
Member
 
Registered: Nov 2003
Distribution: Slackware 9.1
Posts: 43

Original Poster
Rep: Reputation: 15
thanks a bunch

forgot to delete source and pasture...had big iso's. Now there the right size.

Last edited by thethinker101; 02-24-2004 at 07:20 PM.
 
  


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
making -current .iso with 2.6.x kernel rdanda Slackware 2 04-15-2005 02:26 AM
Making slack ISO zaicheke Slackware 6 11-21-2004 06:00 PM
Slackware-current ISO(s) Astro Slackware 8 06-13-2004 02:10 PM
Making a Slackware Installation (current) Darx Slackware 14 05-12-2004 04:02 PM
current Slack-Current giving troubles? r_jensen11 Slackware 5 02-02-2004 05:08 PM

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

All times are GMT -5. The time now is 12:18 PM.

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