Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


Search this Thread
Old 07-05-2007, 08:25 AM   #1
LQ Newbie
Registered: May 2007
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Slackware 12 installation with the ISOs but without burning them!

Now let's get started with the installation!

The idea of this “tutorial” to call it somehow is the one of being able to install/upgrade to Slackware 12 (you can prove with several other versions and until with other distributions if you want) in a PC or laptop that already has installed linux (Slackware 11 in my case), and having the ISO images of the CDs or DVD, but without at least having to record them, not even to have a boot diskette and much less to be able to boot from a usb pendrive because in this case our BIOS doesn't support it.

Situation: We have a PC or laptop with Slackware 11, I have a CDROM drive but not CD/DVD Writer, I have pendrive of >=64MB, I have floppy drive but not a single one disckette. We off course have at least an ADSL conection and the ISO images of Slackware 12 downloaded from it.


Any GNU/Linux installed in the equipment to use.
1x port USB
1x pendrive usb of >=64MB.
Connection to Internet with "good speed" to download th ISO images and 4 or 5 archives from the FTP site of Slackware.
Minimum of 2 partitions, in one of them with the /home mount point and double of free space that you need normally for having the ISO images (since you are going to "extract" the installation folders from here and replicate in another folder.)

Steps to follow:

1) Download the Slackware 12 ISO images from some mirror (“get slack” in - Note in my case I downloaded the ISOs of the 3 first CDs, that already brings all the necessary one for a decent installation: SLACKWARE + KDE + KDEi + EXTRAS
- The other discs contain the source code and aggregates who really nonmemory at this moment, but are not essential for a normal use.

2) You need to mount each ISO image in a mount point like /mnt:

#mkdir /mnt/cd1;mkdir /mnt/cd2;mkdir /mnt/cd3
- you notice semicolon between each command, it is to join them in a line.

#mount -o loop /place_where_the_iso_images_are/slackware-12.0-install-d1.iso /mnt/cd1
- in case of using the DVD, you need to change the name of the .iso file of course.

#mount -o loop /place_where_the_iso_images_are/slackware-12.0-install-d2.iso /mnt/cd2

#mount -o loop /place_where_the_iso_images_are/slackware-12.0-install-d3.iso /mnt/cd3

Now you must go to the /mnt/cd1 location and copy the folder slackware that inside contains the groups of packages that are folders as well: like AP, D, AND...etc, etc. to a folder within the /home partition.

Then the slackware folder inside the ISOs will be copied to something like this /home/user/slackware with all the subfolders inside…

Now do the same with the other discs mounted in /mnt/cd2 and /mnt/cd3.

Note: I recommend you to make the copy with some program that maintains the file permissions when copying them. For this you can use mc.

3) From some mirror of Slackware, for example, conect to it and go to the folder:
/pub/slackware/slackware-12.0/slackware/ (similar to the folder we have in: /home/user/slackware)

There, you must copy the files: CHECKSUMS.md5, CHECKSUMS.md5.asc, FILE_LIST, MANIFEST.bz2 and PACKAGES.TXT. to our folder /home/user/slackware and overwrite the existing ones.

- This is only in case of the setup of slackware verifies these files, since those that we had in /home/user/slackware came in the CDs and differ from those from the slackware mirror folder.

4) Connect the pendrive to the usb port, and from the console go to the location of the mounted CD2 in /mnt/cd2/ and execute this:

#cd usb-and-pxe-installers
#dd if=usbboot.img of=/dev/sda bs=512

- you need to change the /dev/sda name device if it's not your pendrive.
- BE CAREFUL! because if you have a SATA disk and you put wrong the device name here, you can loss all the data of your HD. So, make sure of that!
- in this case my disc this in /dev/hda, so it is not a problem.
- this operation eliminates any recorded previous data in the pendrive, but it does not damage it.
- to format the pendrive, later when you finish all the instalation and to be able to reuse it, you must read at the end of this note. Continue reading!

5) In the mounted CD1 (mnt/cd1) and within the folder kernels/hugesmp.s, execute this from console:

#cp * /boot

- /boot is the folder where are the compiled kernels of the GNU/Linux distribution we have installed.
- this command copy the, bzImage and config files that are the kernel with smp support.
- Notice that if you has a “smaller” PC or laptop tan a Pentium Pro, you must use the kernel of the folder kernels/huge.s of the same CD1, that kernel support i486 CPUs.

-I use the hugesmp.s kernel for my Pentium II.

Now within the folder isolinux (yes in the CD1), execute this from console:

#cp initrd.img /boot

6) Change the /etc/lilo.conf file for being able to choose the new kernel at bootprompt and to load initrd.

It should see something like this: - the parts in Bold are those that correspond to the new kernel-

# LILO configuration cases out
# generated by “liloconfig”
# Start global LILO section
boot = /dev/hda
#compact # to faster, but won't work on all systems.
timeout = 30
# VESA to framebuffer console @ 1024x768x256
VGA = 773
# Normal VGA console
normal # VGA =
# VESA to framebuffer console @ 1024x768x64k
# vga=791
# VESA to framebuffer console @ 1024x768x32k
# vga=790
# VESA to framebuffer console @ 1024x768x256
# vga=773
# VESA to framebuffer console @ 800x600x64k
# vga=788
# VESA to framebuffer console @ 800x600x32k
# vga=787
# VESA to framebuffer console @ 800x600x256
# vga=771
# VESA to framebuffer console @ 640x480x64k
# vga=785
# VESA to framebuffer console @ 640x480x32k
# vga=784
# VESA to framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End global LILO section
# bootable Linux partition config begins
image = /boot/vmlinuz-
root = /dev/hda1
label = Slack26-300hz
read-only # for Non-UMSDOS filesystems should be mounted read-only checking
image = /boot/vmlinuz-ide-
root = /dev/hda1
label = Slackware11
read-only # for Non-UMSDOS filesystems should be mounted read-only checking
image = /boot/bzImage
root = /dev/sda
label = SlackINST
initrd = /boot/initrd.img
read-only # for Non-UMSDOS filesystems should be mounted read-only checking

# bootable Linux partition config ends

When you have all ready, you need to execute the lilo command to record the changes.

- It can show a “WARNING” message, like if you are writing data by above of certain limits and which the system must allow the reading over the 15MB-1MB "memoryhole", but don't worry! that's only a warning, it works on my PII 366MHz notebook.

7) Now, we need to reboot the machine and to choose SlackINST from bootloader.

8) Ok, if you was "driving" by the new kernel at the prompt of the Slackware installation, we are well!

Now within setup we are going to check if it can read the packages from our /home/user/slackware folder, and for that we are going to skip some steps of the installation process -for now only-.

Let's go to the section SOURCE that is where the system asks the media from which the system can read the new packages to install, that means: CDs, DVD, HD, NFS. But in our case, we will choose "From Harddisk" option.

Now the system asks in which volume or partition is the folder that contains the installation files/packages. So for us it is /home/usuario/slackware. Here you must answer the name of the partition, in my case is:

- that is where I have mounted the /home folder of my present Slacware 11.

After accepting that option (finally!), it requests to us the location of the installation folder where we have the packages.. yes, we know where is it!.

- notice that I'm not wrote /home/usuario/slackware, because /home is already recongniced like /dev/hda5.

Accepting this step, setup will read the content of the folder and show you the screen of the selection categories of packages like A, AP,….and. And if the system do so... we are ready to begin with the installation step by step normally!!!, continue reading.

- STOP!, if you do not see all the categories of packages and see only one, like A, you need to CANCEL the process and do your reviews because there is an step that escape from your sight. So don't continue with the installation or it will be a mess.

As I trust that you did it well, do -cancel- in the window (SOURCE) and then start from the beginning of setup process by adding, for example, the swap volume, etc, etc, and then install!.

9) Well the whole step is completed, so:



Buenos Aires, Argentina.
Old 07-05-2007, 08:28 AM   #2
LQ Newbie
Registered: May 2007
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 0
Like I say! I wrote it again for a "better understanding"
Old 07-05-2007, 09:58 AM   #3
LQ Newbie
Registered: May 2007
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 0
The missing step 10!!

10) We need now to recover our pendrive so we can use it again!

Luckyly it is easy to format these devices from linux and thus to recreate FAT partition again.

a) First, wipe the bootsector of the pendrive, that means to fill the spacer with zeros.

Look at the name that the device has, since in my case it is /dev/sda.
Becouse if you have a SATA hardisk conected, you can destroy all the data of it. so be careful with the names!
And if you have a SATA hardisk in the machine, surely the device name of our pendrive will be /dev/sdb.

Ok, I assume that you know what I said. We are going then to rewrite zeros to him! - from console and as root execute:

#dd if=/dev/zero of=/dev/sda bs=512 count=1

b) Now we must create a new partition FAT/FAT32, and for this there ara many methods, although I prefer to do it with cfdisk that is just a little more simple an secure.

cfdisk /dev/sda

We create the primary partition, use the complete space and say the partition type (FAT32) and record!

We now have our pendrive back again and Slackware12 to use it!
Old 07-05-2007, 10:08 AM   #4
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,179
Blog Entries: 4

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
Once you are happy that you have a complete tutorial, could you post it to the Tutorials section (see link at top of page). Basically, if you leave it here it will get pushed down the page, whereas in the right section it becomes easy to find.
Old 07-05-2007, 10:14 AM   #5
LQ Newbie
Registered: May 2007
Distribution: Slackware
Posts: 15

Original Poster
Rep: Reputation: 0

Originally Posted by XavierP
Once you are happy that you have a complete tutorial, could you post it to the Tutorials section (see link at top of page). Basically, if you leave it here it will get pushed down the page, whereas in the right section it becomes easy to find.
Thanks! I will!!!!



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
Installing from ISOs without burning them? jamie_barrow Linux - Software 17 07-06-2007 07:30 AM
Issue with burning ISOs of SUSE 10.0 OSS ralzius Suse/Novell 42 04-12-2006 09:06 PM
Help with Burning mandrake 10.1 isos (Roxio) Ytsejammer Linux - General 2 12-19-2004 12:52 PM
Burning Slackware ISOs sxa Slackware 3 02-06-2004 08:12 AM
Burning Isos Born^Dead Linux - Software 4 07-30-2003 07:58 PM

All times are GMT -5. The time now is 03:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration