LinuxQuestions.org
Visit Jeremy's Blog.
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 10-14-2009, 10:14 PM   #1
Smokey
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 313

Rep: Reputation: 30
How do I make a small disk 1 install for 64 bit?


In the spirit of saving bandwidth, I don't want to download the entire slackware 64 bit dvd iso. I wouldn't need most of the packages either.

I basically want Slackware 13.0 64 bit on one cdrom that gives me the base system to get me up and running as it would on the official cds with 32 bit.

Last edited by Smokey; 10-14-2009 at 10:15 PM.
 
Old 10-14-2009, 10:57 PM   #2
afreitascs
Member
 
Registered: Aug 2004
Distribution: Debian
Posts: 443

Rep: Reputation: 30
Quote:
Originally Posted by Smokey View Post
In the spirit of saving bandwidth, I don't want to download the entire slackware 64 bit dvd iso. I wouldn't need most of the packages either.

I basically want Slackware 13.0 64 bit on one cdrom that gives me the base system to get me up and running as it would on the official cds with 32 bit.
I do not understand very well(my English is bad) ,but you can download the necessary directories and then set up a boot CD ...

I already did that...

Code:
http://slackware.oregonstate.edu/sla...nux/README.TXT

To make a bootable Slackware install CD, get into the top level Slackware
directory (The one with ChangeLog.txt in it) and issue a command like this
to build the ISO image in /tmp:

mkisofs -o /tmp/slackware.iso \
-R -J -V "Slackware Install" \
-x ./bootdisks \
-x ./extra \
-x ./slackware/kde \
-x ./slackware/kdei \
-x ./slackware/t \
-x ./pasture \
-x ./patches \
-x ./rootdisks \
-x ./source \
-x ./zipslack \
-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 \
-A "Slackware Install CD" . 

Then use 'cdrecord' to burn it.  (See 'man cdrecord')

Notice that to fit the install image on one CD, you must exclude KDE and TeX:

-x ./slackware/kde \
-x ./slackware/kdei \
-x ./slackware/t \

These can go on a second CD.  If you are planning to burn the ISO image onto
a DVD, the entire tree should fit and you can leave out all the -x exclude
lines.

----
notes:
   The isolinux/isolinux.boot file will be created on the CD;  it's not
   supposed to be in the source tree.  I mention this only because so many
   people reported the "missing" isolinux/isolinux.boot file as a bug.

  I don't know how to create a bootable Slackware ISO on operating systems
  other than Linux, but it should be easy to burn the Linux-created ISO with
  most CD burning software on any operating system.

  UPDATE:  I've now been informed that there's a Windows version of mkisofs
  available from ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha if you want
  to try to make the ISO image under Windows.  I haven't tried this.

  Techincally the --boot-load-size should be a lot bigger, like 20 or so
  in order to hold the isolinux.bin boot block.  However, setting it to
  4 causes it to load on more BIOSes.  I don't know why, but I've had so
  many people report this to me that I'm inclined to believe it.  But, if
  the resulting discs don't boot in your machine and you find that using
  a more correct value here fixes it, please let me know!  If it's going
  to be broken for some BIOSes either way, I'd rather be correct.

http://slackware.oregonstate.edu/sla...nux/README.TXT
or DVD

Code:
http://slackware.oregonstate.edu/sla...nux/README.TXT

HOW TO MAKE A BOOTABLE SLACKWARE DVD ISO IMAGE

To make a bootable Slackware install DVD, get into the top level Slackware
directory (The one with ChangeLog.txt in it) and issue a command like this
to build the ISO image in /tmp:

mkisofs -o /tmp/slackware-dvd.iso \
  -R -J -A "Slackware Install" \
  -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 \
  -V "SlackDVD" .

On my system, here's the command I'd use to burn the resulting DVD ISO:

growisofs -speed=2 -dvd-compat -Z /dev/dvd=slackware-dvd.iso

If your burner is not /dev/dvd, replace the device with the one your
system uses.

I find discs burned at 2x are more reliable than ones burned at higher
speeds, but you may see completely different results depending on media
and burner type.  The -dvd-compat option is also used so that a complete
lead-out is written to the media for maximum compatibility.

Or, you can burn directly from the Slackware tree to a DVD(-/+)R(W):

growisofs \
  -Z /dev/dvd \
  -R -J -A "Slackware Install" \
  -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 \
  -dvd-compat \
  -V "SlackDVD" .


HOW TO MAKE A SET OF BOOTABLE / INSTALLABLE CDROMS

This is a little bit more tricky.  Step one will be to split the tree into
portions that will fit on the media that you plan to burn to.  The first
disc must contain these directories:

/isolinux/
/kernels/
/slackware/

You'll need to make other /slackware/ directories on discs 2, 3, and maybe
more, moving some of the disc series from disc 1 to other discs to make
things fit.  It is also possible to split a series to make more efficient
use of the CD media.  See the README_SPLIT.TXT example and instructional
file in this directory for details about how to set that up.

The rest of the splitting up of discs is left as an exercise for the reader.

To make the first (bootable) ISO, a command like this is used within the
directory where the disc tree is.  Let's say the directory is 'd1' and you
wish to output the ISO image in /tmp:

cd d1
mkisofs -o /tmp/slackware-install-1.iso \
  -R -J -A "Slackware Install 1" \
  -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 \
  -V "SlackCD1" .

Making a non-bootable disc is similar.  Just omit a few options:

cd d2
mkisofs -o /tmp/slackware-install-2.iso \
  -R -J -A "Slackware Install 2" \
  -hide-rr-moved \
  -v -d -N \
  -V "SlackCD2" .

To burn an ISO image to CD-R(W), the cdrecord command is used.  For complete
instructions, see the man page ('man cdrecord').  On my own machine where
the burner is /dev/cdrw, disc one would be burned with the following command:

cat /tmp/slackware-install-1.iso | cdrecord -v dev=/dev/cdrw speed=10 fs=8m -tao -eject -data -

As before, it's possible to burn from the disc trees without the intermediate
step of creating iso images by omitting the -o option to mkisofs and piping
the output directly to cdrecord:

cd d1
mkisofs \
  -R -J -A "Slackware Install 1" \
  -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 \
  -V "SlackCD1" . | cdrecord -v dev=/dev/cdrw speed=10 fs=8m -tao -eject -data -

-----

NOTES:
  The isolinux/isolinux.boot file will be created on the disc;  it's not
  supposed to be in the source tree.  I mention this only because so many
  people report the "missing" isolinux/isolinux.boot file as a bug.

  The "-boot-load-size 4" is actually not large enough to hold the isolinux
  boot loader, but many BIOS implementations are broken and will *only*
  accept "4".  Evidently many newer, more correct BIOS implementations
  expect this and will continue to load the boot loader file until the
  EOF is reached.  Anyway, previous uses of larger values were correct, but
  led to the Slackware ISO not booting on some machines which contained
  broken BIOS implementations.  It is my hope that by using the incorrect
  value of 4 sectors that the ISO will boot on most (if not all) machines
  that are supposed to be able to boot from an ISO image.

  I don't know how to create a bootable Slackware ISO on operating systems
  other than Linux, but it should be easy to burn the Linux-created ISO with
  most CD burning software on any operating system.

Enjoy!

 -P.
good luck

afreitascs

Last edited by afreitascs; 10-28-2009 at 09:56 PM.
 
Old 10-15-2009, 02:24 AM   #3
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Get a copy of Alien Bob's mirror slackware current and follow the instructions in this thread. http://www.linuxquestions.org/questi...l-disk-610093/

samac
 
Old 10-15-2009, 11:39 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by Smokey View Post
In the spirit of saving bandwidth, I don't want to download the entire slackware 64 bit dvd iso. I wouldn't need most of the packages either.

I basically want Slackware 13.0 64 bit on one cdrom that gives me the base system to get me up and running as it would on the official cds with 32 bit.
The minimun Slackware 13 x86_32 can be had with 2 cds (cd1&cd2) thus you can download Slackware 13 x86_64 cd1 & cd2 via Alien_Bob's-script -mirror-slackware-current.sh.

You will need to edit the script for media type, arch and be sure to select a mirror to get the images from. The script is well documented plus once you get familiar with the script you can just pass parameters.

The above link and others available from 'Slackware-Links'. More than just SlackwareŽ links!
 
  


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
Q: how to create dual boot disk with ubuntu 32-bit and 64-bit maxreason Ubuntu 4 08-07-2008 11:11 AM
Fedora Core 5 32 bit Edition will not install from CD DISK vinnyv Linux - Newbie 1 10-08-2006 07:20 AM
How to install damn small linux from floppy disk mirza Linux - Newbie 4 09-18-2006 02:57 AM
make and install disk images adidragomir Linux - Software 3 08-05-2005 02:51 AM
Don't know how to make a Suse install disk dev Linux - Newbie 5 07-03-2002 07:51 PM

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

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