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 12-18-2009, 11:08 AM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
Is it possible to create an Instller DVD of <current>


Hi Forum

Figure the case of oa person that does not have an internet connection, or has a firewalled connection and wants to install Slackware64 <current>, might it be possible to create a Slackware64 <current> DVD...?

BRGDS

Alex
 
Old 12-18-2009, 11:14 AM   #2
JokerBoy
Member
 
Registered: Sep 2009
Posts: 140

Rep: Reputation: 24
yes, but you need to do that from a pc with linux

http://www.slackware.no/makeSlackISOs.sh

if you want a usb stick here's a tutorial made for my blog:

# mkdir slackware

slackware64-current:
# rsync -r -a -v --delete --progress --stats --exclude 'source' --exclude 'extra' --exclude 'testing' rsync://rsync.slackware.at/slackware/slackware64-current/ ./slackware

slackware-current:
# rsync -r -a -v --delete --progress --stats --exclude 'source' --exclude 'extra' --exclude 'testing' rsync://rsync.slackware.at/slackware/slackware-current/ ./slackware

# fdisk -l

my usb stick is /dev/sdc

# dd if=/dev/zero of=/dev/sdc bs=8M count=1
# fdisk /dev/sdc

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0xacdb6963.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won’t be recoverable.

Warning: invalid flag 0×0000 of partition table 4 will be corrected by w(rite)

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1016, default 1):
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-1016, default 1016):
Using default value 1016

Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 83

Command (m for help): a
Partition number (1-4): 1

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.

# mkfs.ext3 /dev/sdc1 -L USB
# find /usr -name mbr.bin
/usr/lib/syslinux/mbr.bin
# dd if=/usr/lib/syslinux/mbr.bin of=/dev/sdc
# mkdir /media/USB
# mount /dev/sdc1 /media/USB
# cp -rvp ./slackware/* /media/USB
# mv /media/USB/isolinux /media/USB/extlinux
# mv /media/USB/extlinux/isolinux.cfg /media/USB/extlinux/extlinux.conf
# rm /media/USB/extlinux/isolinux.bin
# extlinux -i /media/USB/extlinux
# umount /media/USB

and when you install select “Install from a hard drive partition“, type "/dev/sdc1", press enter, then type "/slackware64" for slackware64-current, or "/slackware" for slackware-current.

Last edited by JokerBoy; 12-18-2009 at 01:21 PM.
 
1 members found this post helpful.
Old 12-18-2009, 11:19 AM   #3
Anonymo
Member
 
Registered: Dec 2004
Location: The Woodlands, Texas
Distribution: Slackware, Archlinux, CentOS
Posts: 196

Rep: Reputation: 40
ftp://ftp.slackware.no/pub/linux/ISO...ent-ISO-build/

Usually this place has them, but they haven't posted one yet.

I think AlienBob has a script and I looked for it but did not find it.
 
1 members found this post helpful.
Old 12-18-2009, 11:25 AM   #4
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi Jokerboy,

Guess I must first download everything from a <current> repo to a folder in my system, right...?

Something like wget -r --no-parent http://www.*******./current before running the script...

Am I right here, or does the script tahes care of downloading the stuff...?

BRGDS

Alex
 
Old 12-18-2009, 11:29 AM   #5
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
You can use lftp instead of wget.

Regards
 
1 members found this post helpful.
Old 12-18-2009, 11:36 AM   #6
JokerBoy
Member
 
Registered: Sep 2009
Posts: 140

Rep: Reputation: 24
rsync -r -a -v --delete --progress --stats --exclude 'source' --exclude 'extra' --exclude 'testing' rsync://rsync.slackware.at/slackware/slackware64-current/ ./slackware is the same thing with "wget -r --no-parent http://www.*******./current"

and yes, you have to download all the packages from a repo of -current, the script only uses the files from a local directory, and uses mkisofs to make dvd's. you have to edit that shell script before using it.

let's say your username is "alex", here's a example of the script for slackware64-current

# mkdir /home/alex/slackware64-current; mkdir /home/alex/current-iso;
# rsync -r -a -v --delete --progress --stats --exclude 'source' --exclude 'extra' --exclude 'testing' rsync://rsync.slackware.at/slackware/slackware64-current/ /home/alex/slackware64-current

save the next code as mkisoslack.sh in /home/alex
Code:
#!/bin/bash
#
# Shell script to build (unofficial) Slackware-current ISOs
# 
# Lars Strand - larstra (at) ifi uio no
#
# Last update: Wed May 20 15:54:58 CEST 2009
#

DATE=`date +"%d_%b_%Y"`
MD5SUM="/usr/bin/md5sum"

CURRENT64="slackware64-current-$DATE-DVD.iso"

LOC_CURRENT64="/home/alex/slackware64-current"

DUMP="/home/alex/current-iso"
MKISOFS="/usr/bin/mkisofs"

# remove the old build
rm -rf $DUMP/*

# build DVD CURRENT 64 ISO
cd $LOC_CURRENT64/

$MKISOFS -o $DUMP/$CURRENT64 \
-R -J -V "Slackware64-current DVD" \
-x ./source \
-hide-rr-moved \
-v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table \
-sort isolinux/iso.sort \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-p "Slackware64-current build from slackware.no - NOT OFFICIAL" \
-publisher "Slackware64-current build from slackware.no - NOT OFFICIAL" \
-A "Slackware64-current DVD - build $DATE" .

# jump to right build location
cd $DUMP

# copy the Changelog, so folks know what's included
cp -l $LOC_CURRENT64/ChangeLog.txt ChangeLog64-current.txt

# make MD5 sums of the ISO
$MD5SUM $CURRENT64 > CHECKSUMS.md5

# end
# chmod 755 /home/alex/mkisoslack.sh
# /home/alex/mkisoslack.sh

and voila, check /home/alex/current-iso after the script has finished.
 
1 members found this post helpful.
Old 12-18-2009, 11:43 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Alien Bob's script:

http://www.slackware.com/~alien/tool...are-current.sh
 
1 members found this post helpful.
Old 12-18-2009, 12:10 PM   #8
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
I've always had good luck with Eric's script. It will d/l, burn & serve you biscuits in the morning.
Regards,
Bill

Last edited by TSquaredF; 12-18-2009 at 12:10 PM. Reason: brianL beat me to it.
 
1 members found this post helpful.
Old 12-18-2009, 05:24 PM   #9
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi ppl,

So, I made an ISO from <current64> repo, but instead of using rsync i used wget... my connection is firewalled, ... and also, I did not exclude /source, which means tha I made a big iso, about 4025 Mb...

One problem though, wget downloaded all the index.html pages from the download site... In case I burn the DVD with it, will those index.html, which live in each folder, constitute a problem at install time....?

BRGDS

Alex
 
  


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
How do you create a DVD that can play in a DVD player from regular .avi videos? whited Linux - Software 2 04-09-2008 05:45 PM
how to get create a file with current hour -1 ? jimmyjiang Red Hat 7 02-13-2008 03:30 PM
how to create a new partition to replace current /home? parv Fedora 2 02-26-2007 02:24 PM
Trying to remove current array and create a new one using mdadm ghostz00 Linux - Hardware 0 12-09-2006 09:47 AM
Create RPM of current Kernel? lets-eat-gary Linux - Software 1 07-26-2005 10:44 PM

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

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