LinuxQuestions.org
Register a domain and help support LQ
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 02-15-2010, 04:30 PM   #1
deadalus.globalnode
Member
 
Registered: Feb 2010
Distribution: Arch linux and backtrack 4 r2
Posts: 53

Rep: Reputation: 3
Installing Slackware onto usb stick


Hello,
I am wanting to install Slackware on a usb stick so that I can boot from it and use Slackware on different computers. I was wondering if I can do the standard install procedure, using the usb stick as the install drive. If I can than are there any pitfalls I should watch out for?
 
Old 02-15-2010, 09:15 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Hi deadalus.globalnode, Welcome to LQ. Have a look here, it's documented.

http://wiki.alienbase.nl/doku.php?id=slackware:usbboot

Good luck. ;-)
 
Old 02-17-2010, 10:19 AM   #3
deadalus.globalnode
Member
 
Registered: Feb 2010
Distribution: Arch linux and backtrack 4 r2
Posts: 53

Original Poster
Rep: Reputation: 3
Thank you. I wonder why I couldn't find it on Google. Any way I appreciate the help.
 
Old 02-17-2010, 04:05 PM   #4
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 648

Rep: Reputation: 45
Or try Slax?
 
Old 02-17-2010, 05:04 PM   #5
Rupa
Member
 
Registered: Apr 2008
Location: Berlin, Germany
Distribution: Slackware, Debian, NetBSD
Posts: 80

Rep: Reputation: 25
Quote:
Originally Posted by Peacedog View Post
Hi deadalus.globalnode, Welcome to LQ. Have a look here, it's documented.

http://wiki.alienbase.nl/doku.php?id=slackware:usbboot

Good luck. ;-)
This is about installing FROM an usb device, not TO usb. (And the complexity of the how-to is totally absurd by the way. To install slackware FROM usb device you just have to copy kernels/hugesmp.s/bzImage and isolinux/initrd.img to the already existing fat filesystem on your stick. Then make it bootable with syslinux. Done.)

You can install slackware TO an usb device just like you install it on any other hard drive. The only pitfall is, that the slackware standard for naming devices in /etc/fstab is the tradiotional unix way (/dev/sdN). So if it's sdb on one computer it could be sdf on another one. To solve this issue use labels or uuids to identify the partitions.
 
Old 02-18-2010, 12:21 PM   #6
deadalus.globalnode
Member
 
Registered: Feb 2010
Distribution: Arch linux and backtrack 4 r2
Posts: 53

Original Poster
Rep: Reputation: 3
Docs?

Do you know where I could find documentation or a tutorial on using labels or uuids?
 
Old 02-18-2010, 12:53 PM   #7
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Check man for the following :
Code:
fstab , lilo.conf, vol_id, e2_label
Personally I find it easier using UUID rather than LABEL for these operations (even though the strings are longer) as it doesn't seem the swap partitions can be labelled - hence the fstab entries for swap partitions which may change are messed up. Using UUID fixes this.
 
Old 02-18-2010, 01:17 PM   #8
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
http://linuxconfig.dyndns.org/lazy/L...vable_USB_disk
 
Old 02-19-2010, 04:15 PM   #9
lazardo
Member
 
Registered: Feb 2010
Location: SF Bay Area
Posts: 100

Rep: Reputation: Disabled
Quote:
Originally Posted by bgeddy View Post
Check man for the following :
Code:
fstab , lilo.conf, vol_id, e2_label
Personally I find it easier using UUID rather than LABEL for these operations (even though the strings are longer) as it doesn't seem the swap partitions can be labelled - hence the fstab entries for swap partitions which may change are messed up. Using UUID fixes this.
Code:
bash-3.1# mkswap -L 2nd_SWAP /dev/sda8
Setting up swapspace version 1, size = 10490408 KiB
LABEL=2nd_SWAP, UUID=223ddafe-da6a-4045-abc2-77fa45059ec3
bash-3.1# swapon -v -L 2nd_SWAP
swapon on /dev/sda8
bash-3.1# cat /proc/swaps
Filename				Type		Size	Used	Priority
/dev/sda5                               partition	5253212	0	-1
/dev/sda8                               partition	10490404	0	-2
Cheers,
Emilio
 
  


Reply


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
Slackware on a USB stick... alpha_hack Slackware 11 12-16-2011 11:47 AM
LXer: Installing "Sugar on a stick" (Strawberry Release) On A USB Stick LXer Syndicated Linux News 0 08-04-2009 03:50 PM
usb stick in slackware 9.1 Clarence27 Slackware 16 10-15-2006 09:12 AM
How to use usb stick in Slackware 11? rsamurti Slackware 3 10-11-2006 01:54 PM


All times are GMT -5. The time now is 04:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration