<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slackwiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Donallen</id>
	<title>SlackWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.slackwiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Donallen"/>
	<link rel="alternate" type="text/html" href="https://www.slackwiki.com/Special:Contributions/Donallen"/>
	<updated>2026-04-08T15:06:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://www.slackwiki.com/index.php?title=Install_Slackware_Using_A_USB_Flash_Drive&amp;diff=843</id>
		<title>Install Slackware Using A USB Flash Drive</title>
		<link rel="alternate" type="text/html" href="https://www.slackwiki.com/index.php?title=Install_Slackware_Using_A_USB_Flash_Drive&amp;diff=843"/>
		<updated>2013-05-24T11:19:10Z</updated>

		<summary type="html">&lt;p&gt;Donallen: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
Installing Slackware using a USB flash drive is very easy.&lt;br /&gt;
&lt;br /&gt;
Slackware includes a usbboot.img in the usb-and-pxe-installers directory of the official installation media, which is a minimal image very handy for FTP or other kinds of network installations.&lt;br /&gt;
&lt;br /&gt;
In the same directory one can also find usbimg2disk.sh, a script that will dump the usbboot.img image to a flash drive, useful in case the above image does not work for you out of the box.&lt;br /&gt;
&lt;br /&gt;
Additionally, AlienBOB has written two articles in his blog on how to install Slackware using a USB flash drive from either&lt;br /&gt;
&lt;br /&gt;
[http://alien.slackbook.org/blog/welcome-windows-user/ Microsoft Windows] or [http://alien.slackbook.org/blog/installing-slackware-using-usb-thumb-drive/ Linux].&lt;br /&gt;
&lt;br /&gt;
This document describes yet another way of creating an image capable of booting from USB, containing all of the packages neeeded for an installation, using [http://syslinux.zytor.com/wiki/index.php/Doc/isolinux#HYBRID_CD-ROM.2FHARD_DISK_MODE Isohybrid].&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
A USB flash drive that can fit the ISO image&lt;br /&gt;
&lt;br /&gt;
Syslinux &amp;gt;= 3.72&lt;br /&gt;
&lt;br /&gt;
Additionally you should either have:&lt;br /&gt;
&lt;br /&gt;
a) official Slackware installation media, preferably the DVD ISO one, available on any Slackware mirror&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
b) a local copy of the Slackware tree.&lt;br /&gt;
&lt;br /&gt;
That may be the tree of a stable release, or even the tree of the Slackware current development cycle.&lt;br /&gt;
&lt;br /&gt;
If you choose to use a local copy of the tree you should be able to create your own ISO image using a script such as:&lt;br /&gt;
&lt;br /&gt;
Pat's [http://slackware.osuosl.org/slackware/isolinux/README.TXT DVD script], AlienBOB's [http://www.slackware.com/~alien/tools/mirror-slackware-current.sh mirror-slackware-current script] or even a custom one of your own.&lt;br /&gt;
&lt;br /&gt;
== Using isohybrid ==&lt;br /&gt;
&lt;br /&gt;
At this point you should have a Slackware ISO lying on your hard disk&lt;br /&gt;
&lt;br /&gt;
Make it hybrid:&lt;br /&gt;
&lt;br /&gt;
 isohybrid slackware-13.1-install-dvd.iso&lt;br /&gt;
&lt;br /&gt;
== Copy the ISO to the USB flash drive ==&lt;br /&gt;
&lt;br /&gt;
All that is left to do now is copy the ISO to the USB flash drive.&lt;br /&gt;
&lt;br /&gt;
This can be done using the [http://linux.die.net/man/1/dd dd] command as the root user.&lt;br /&gt;
&lt;br /&gt;
The following command will overwrite all the files currently present on the USB drive so prior backups are highly advisable:&lt;br /&gt;
&lt;br /&gt;
 dd if=slackware-13.1-install-dvd.iso of=/dev/sdX&lt;br /&gt;
&lt;br /&gt;
PS1. dd expects the name of a device, not a partition, so you should use eg. /dev/sdb instead of /dev/sdb1.&lt;br /&gt;
&lt;br /&gt;
PS2. the USB drive should NOT be mounted during dd invocation.&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Boot the machine using the USB drive.&lt;br /&gt;
&lt;br /&gt;
Before running '''setup''', look up (with '''fdisk -l''') which device your USB drive is. When installing, choose &amp;quot;Install from a Slackware CD or DVD&amp;quot;. Then select the &amp;quot;manual&amp;quot; option, then the &amp;quot;custom&amp;quot; option.&lt;br /&gt;
Enter /dev/sdX1 (as shown by &amp;quot;fdisk -l&amp;quot;) and installation will proceed as when installing from a DVD.&lt;br /&gt;
&lt;br /&gt;
== Install with Unetbootin ==&lt;br /&gt;
&lt;br /&gt;
It is possible to install with unetbootin. Download the Slackware iso image of your choice and then install to a USB drive using unetbootin. Tutorials for unetbootin are everywhere. Then, when you get to the SOURCE option in setup use the drive you are installing slackware from (usually it is /dev/sdb1). When it asks where the packages are, enter /slackware for 32 bit or /slackware64 for 64 bit. This was tested using the Slackware 14.0 64-bit x86_64 iso.&lt;/div&gt;</summary>
		<author><name>Donallen</name></author>
	</entry>
</feed>