LinuxQuestions.org
Visit Jeremy's Blog.
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 11-20-2015, 08:26 AM   #1
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Build an ISO DVD from -current?


Hi,

Is there an easy way to build a bootable Slackware installation DVD from -current, via the network, using the latest state of things? Normally I don't bother doing this, since there's the unofficial mirror at http://www.slackware.no, but they build their stuff once a week every tuesday, and I'd like to get some work done over the weekend.

Cheers,

Niki (whose -current buildserver didn't survive today's move to eudev )
 
Old 11-20-2015, 08:34 AM   #2
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Rep: Reputation: 155Reputation: 155
http://www.slackware.com/~alien/tool...are-current.sh

?
 
1 members found this post helpful.
Old 11-20-2015, 08:35 AM   #3
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
http://taper.alienbase.nl/mirrors/sl...e-current-iso/
http://taper.alienbase.nl/mirrors/sl...4-current-iso/

locally I use Eric's mirror-slackware-current.sh script to build mini isos and then I install from the network (I have also local mirrors on nfs and http). (EDIT: saulgoode has been faster!)

Last edited by ponce; 11-20-2015 at 08:37 AM.
 
1 members found this post helpful.
Old 11-20-2015, 08:55 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,055

Rep: Reputation: Disabled
Or if you rsync[1] a local mirror, say in /archives/versions/:
Code:
( cd /archives/versions/slackware-current
mkisofs -o /archives/images_iso/slackware-current.iso \
-rational-rock -J -A 'Slackware current' \
-hide-rr-moved \
-v -d -N \
-no-emul-boot -boot-load-size 4 -boot-info-table \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-V 'Slackware current DVD IDO' . \
  2>/tmp/log_current.txt
)
For the 64-bit version:
Code:
( cd /archives/versions/slackware64-current
mkisofs -o /archives/images_iso/slackware64-current.iso \
-rational-rock -J -A 'Slackware hybrid ISO new' \
-hide-rr-moved \
-v -d -N \
-no-emul-boot -boot-load-size 4 -boot-info-table \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-eltorito-alt-boot -no-emul-boot -eltorito-platform 0xEF \
-eltorito-boot isolinux/efiboot.img \
-V 'Slackware installation media new' . \
  2>/tmp/log64_current.txt
)
I don't post process these images with isohybrid, as I use them as-is in VMs. Of course you can exclude any directory that you do not want.

[1]
Code:
#!/bin/bash
MIRROR=slackware.mirrors.tds.net
#MIRROR=ftp.slackware.com
SOURCES=${MIRROR}
TARGET=/archives/versions
for VERSION in 13.37 14.0 14.1 current;do
        SOURCES="${SOURCES}::slackware/slackware-${VERSION} "
        SOURCES="${SOURCES}::slackware/slackware64-${VERSION} "
done
echo $SOURCES
rsync -rlpt --delete -P -H ${SOURCES} ${TARGET}
Of course you do not have to rsync all these versions.

Last edited by Didier Spaier; 11-20-2015 at 09:04 AM. Reason: rsync command added.
 
1 members found this post helpful.
Old 11-20-2015, 08:59 AM   #5
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Thanks saulgoode and ponce. Created a local mirror on my server, downloaded and edited the script, and now it's busy syncing.

Cheers,

Niki
 
Old 11-20-2015, 09:23 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
for the most common uses you don't need to edit the script: a file mirror-slackware-current.conf in the same directory as the script itself should suffice.
here I leave the script with the defaults, so I can substitute easily it in case Eric releases a new version, then I use it for syncing with one mirror-slackware-current.conf like this
Code:
BUILDER="my_name <my_email@address>"
SLACKROOTDIR="/path/to/slackware"
RSYNCURLROOT="slackware.osuosl.org::slackware/"
ISO="NONE"
FORCE="yes"
VERBOSE="-v"
EXCLUDEFILE="none"
I invoke it to sync the two current versions with these two commands
Code:
mirror-slackware-current.sh -a x86_64
mirror-slackware-current.sh
and to create the mini isos with this command line
Code:
mirror-slackware-current.sh -f -o MINI
mirror-slackware-current.sh -f -a x86_64 -o MINI
 
1 members found this post helpful.
Old 11-20-2015, 09:46 AM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Also worth noting that you can usually get away with using the install DVD from the previous release, doing a network install and setting the path to current.
 
1 members found this post helpful.
Old 11-20-2015, 11:47 AM   #8
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by ponce View Post
for the most common uses you don't need to edit the script: a file mirror-slackware-current.conf in the same directory as the script itself should suffice.
here I leave the script with the defaults, so I can substitute easily it in case Eric releases a new version, then I use it for syncing with one mirror-slackware-current.conf like this
Code:
BUILDER="my_name <my_email@address>"
SLACKROOTDIR="/path/to/slackware"
RSYNCURLROOT="slackware.osuosl.org::slackware/"
ISO="NONE"
FORCE="yes"
VERBOSE="-v"
EXCLUDEFILE="none"
I invoke it to sync the two current versions with these two commands
Code:
mirror-slackware-current.sh -a x86_64
mirror-slackware-current.sh
and to create the mini isos with this command line
Code:
mirror-slackware-current.sh -f -o MINI
mirror-slackware-current.sh -f -a x86_64 -o MINI
I followed your advice and fiddled a bit with a similar setup. Works perfectly. I'm now running a -current mirror on my LAN server, which can generate various ISOs on the fly. A huge step for me, a small step for humanity.
 
Old 11-20-2015, 11:50 AM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
well, you really should thank Eric (as usual)
 
  


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
[SOLVED] mirror-slackware-current.sh produces 5.4 GB dvd iso? damgar Slackware 8 08-08-2012 05:11 PM
How to build a ISO DVD of Linux Fedora from source code? xlu2000 Fedora 11 09-22-2011 10:45 AM
How to build a ISO DVD of Linux Fedora from source code? xlu2000 Fedora 2 09-20-2011 03:15 PM
How to build a ISO DVD of Linux Fedora from source code? xlu2000 Fedora 2 09-20-2011 03:15 PM
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM

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

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