install slackware 14 from a bootable USB

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
Post Reply
User avatar
bigbass
Contributor
Contributor
Posts: 151
Joined: 13 Jan 2012, 14:35
Distribution: slackware 14

install slackware 14 from a bootable USB

Post#1 by bigbass » 30 Aug 2012, 16:56

I don't have a DVD burner or drive on this old box
so USB or cd installs are all I can do Slackware uses a DVD for version 14 so
this is what I used to get it installed
it was a lot of reading to sort out so I hope this makes it a bit easier to follow

confirm your drive locations first then you could run the script and uncomment
the drives and edit them to what you need

* Its easier to go to Gparted an format a USB to vfat32 with no label before starting as a prestep

UPDATED to 14

slackware-14.0-install-dvd.iso

download the slackware 14 iso the dvd version
http://distrowatch.com/?newsid=07466

dependency
http://mirror.switch.ch/ftp/pool/2/mirr ... i386-3.txz

dependency
# syslinux dependency
http://ftp.heanet.ie/mirrors/ftp.slackw ... i486-2.txz


Code: Select all


#I used different drives so note the changes looking at sdb
# I downloded  slackware-14.0-install-dvd.iso
# to  /mnt/sda5/


#download the slackware 14 iso the dvd version

#I did this for 32 bit but it should be fine for both



mkdir -p /mnt/iso
mount -o loop /mnt/sda5/slackware-14.0-install-dvd.iso /mnt/iso/

mkdir -p /root/USB-BOOT
cp /mnt/iso/usb-and-pxe-installers/*  /root/USB-BOOT
cd /root/USB-BOOT
chmod a+x usbimg2disk.sh


# I modified the script  here because the java symlink throws a warning in  the full installer
# this is the auto fix. Both options work now small install and full installer
sed -i '244 a\
                 --exclude=extra/java \\' /root/USB-BOOT/usbimg2disk.sh


# if you get this message and you will on Porteus
#*** This script requires that the 'floppy' (mtools) package is installed
# install it  here floppy-5.4-i486-3.txz
#http://mirror.switch.ch/ftp/pool/2/mirror/slackware/slackware-13.37/slackware/a/floppy-5.4-i386-3.txz

# syslinux dependency
#http://ftp.heanet.ie/mirrors/ftp.slackware.com/pub/slackware/slackware-13.37/slackware/a/syslinux-3.84-i486-2.txz

#UNCOMMENT to use the command
#This will make the full installer this will take some time
./usbimg2disk.sh  -f -s /mnt/iso/ -o /dev/sdb



set your bios to boot USB and away you go
help the wife clean the house this will take some time :)

any questions feel free to ask I installed slackware 14 using this
all went fine

I needed to a have a development env set up to compile stuff for Porteus 2!!!

Joe
Last edited by bigbass on 28 Oct 2012, 03:09, edited 11 times in total.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5503
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: install slackware 14 rc3 from a bootable USB

Post#2 by brokenman » 31 Aug 2012, 01:35

Nice work.
any questions feel free to ask I installed slackware 14 using this all went fine.
Is helping the wife an obligatory part of the install?
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
bigbass
Contributor
Contributor
Posts: 151
Joined: 13 Jan 2012, 14:35
Distribution: slackware 14

Re: install slackware 14 rc3 from a bootable USB

Post#3 by bigbass » 02 Sep 2012, 23:06

Hey Jay


"Is helping the wife an obligatory part of the install?"

I guess I was feeling guilty for spending so much time at the computer :)

oh this is going to be fun slackware now has two GTK versions on the same box !
I had to compile an app today against GTK3

please note :
I did a minor edit to the above post it now will wipe your USB this is what I used
I read that it is better and easier to do it that way the install auto reads your directories
that way (I wanted to do it safer but safer is more manual work for the user )


Joe
back up anything on the USB first

Installing Slackware using a bootable USB stick
===============================================

**WARNING:**
The procedure outlined below will destroy all data that is currently
stored on the USB stick you use to create a USB Slackware installer.

Posted after 2 days 17 hours 26 minutes 19 seconds:
Re: install slackware 14 rc4 from a bootable USB


I talked with alienbob on his blog he said it was because there were no sources in the unofficial rc versions
http://alien.slackbook.org/blog/updated ... re-14-rc4/


but the good news is alienbob updated again !
rc4 we need this because glibc was patched


Anyway the script works for installing to USB perfectly you just will later install java manually

Joe

User avatar
bigbass
Contributor
Contributor
Posts: 151
Joined: 13 Jan 2012, 14:35
Distribution: slackware 14

Re: install slackware 14 rc4 from a bootable USB

Post#4 by bigbass » 22 Sep 2012, 17:36

updated to slackware rc5 this will be the last rc before official slackware 14 :Yahoo!:


this is what you will see if all goes fine in the cli

# Device Boot Start End Blocks Id System
# /dev/sdb1 2048 8290303 4144128 b W95 FAT32

*** ***
*** If this is the wrong drive, then press CONTROL-C now! ***
*** ***
Or press ENTER to continue:
--- Formatting /dev/sdb with VFAT partition label 'USBSLACKINS'...
--- Last chance! Press CTRL-C to abort!
Or press ENTER to continue:
--- Available free space on the the USB drive is 4136028 KB
--- Required free space for installer: 42433 KB
--- Copying boot files to the USB drive...
--- Extracting Slackware initrd.img...
--- Modifying installer files...
--- Gzipping the initrd image again:
--- Copying Slackware package tree to the USB drive...
--- Cleaning up the staging area...
--- Making the USB drive '/dev/sdb' bootable...
root@porteus:~/USB-BOOT#

Post Reply