LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-13-2013, 09:56 PM   #1
Haythem
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 79

Rep: Reputation: Disabled
slackware on usb flash


can i have a portable full install of slackware 14 on a usb flash where i can use it anytime just plug the usb in any computer and get everything working fine as if i'm using my desktop?

i don't intend to use zipslack because i don't want to run it above dos file system instead i need a complete independent slackware.
thank you.
 
Old 03-14-2013, 07:12 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Don't know about Slack, but I've done it with Fedora and Ubuntu.
 
Old 03-14-2013, 09:32 AM   #3
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
Yes you can. AlienBob has a howto for creating a bootable USB install.
 
Old 03-14-2013, 09:34 AM   #4
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Rep: Reputation: 36
There is another thread dealing with this: http://www.linuxquestions.org/questi...ve-4175453724/

It is sometimes said though that this may not be a good idea because usb flash drives have a limited number of write cycles (or something) and having a regular linux installation on one might wear it out prematurely. You can try using a usb external hard drive though to achieve the same result (although not so portable perhaps).

I tried doing this a few years ago with the extra step of using encryption, in case I lost the drive. Then someone picking it up couldn't get at everything. It took a while to get it working, but I managed it thanks to Eric Hameleer's README_CRYPT.TXT which is bloody excellent I must day.

The one difficulty though going down that route which I never got a really satisfactory workaround for was that since I had to using an initrd, I couldn't get the uuid's to be populated in /dev/disk/by-uuid/ early enough in the boot process. So I had to set up a whole bunch of initrd's, each one with a different root partition: /dev/sda, /dev/sdb etc so I could choose the right one to boot at the slackware boot screen (if this makes no sense read the original post in the thread above, their question is very similar to my issue then).

Anyway that was probably just me being a bit thick about it. That thread I've linked to above seems to give pretty much all you need.
 
Old 03-14-2013, 09:41 AM   #5
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Rep: Reputation: 36
Actually NyteOwl (sorry we posted almost at the same time), are you sure about that? He certainly has the README_USB.TXT in the usb-and-pxe-installers subdirectory in the slackware tree, but that is not how to create a full slackware installation on a usb, that is how to create a bootable usb install-disk which can be used to install slackware on another machine.

Maybe I'm wrong and haven't seen the one you are referring to. Do you have a link?

Cheers,

Michael

Last edited by michaelslack; 03-14-2013 at 09:44 AM.
 
Old 03-14-2013, 09:54 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
Sorry to quote myself:
http://www.linuxquestions.org/questi...how-to-919708/
This was actually for an USB hard disk, but I assume that this should work the same on a flash drive. If not, please report.

Last edited by Didier Spaier; 03-14-2013 at 09:58 AM.
 
Old 03-14-2013, 11:24 AM   #7
#root
Member
 
Registered: Mar 2013
Location: in my house
Distribution: Ubuntu,Backtrack,Fedora
Posts: 38

Rep: Reputation: 5
try Unetbootin software
 
Old 03-14-2013, 01:55 PM   #8
chess
Member
 
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware and OpenBSD
Posts: 740

Rep: Reputation: 190Reputation: 190
I am actually building and testing a live Slackware iso using aufs and the linux-live.org scripts. It's not a simple process but it can be done. You can download precompiled kernels with aufs support from the linux-live.org website or you can build your own kernel, which is what I'm doing. My intent is to create essentially a vanilla Slackware 14.0 live cd with the exception of the kernel and related packages/modules (aufs-utils and squashfs).

Last edited by chess; 03-14-2013 at 01:57 PM.
 
Old 03-15-2013, 10:05 AM   #9
Haythem
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 79

Original Poster
Rep: Reputation: Disabled
Quote:
Don't know about Slack, but I've done it with Fedora and Ubuntu.
I believe it can be done with Slack the same way, if u can point me to the documentation you used for Fedora and Ubuntu, or the steps you followed to get the thing done, would be great.
Quote:
There is another thread dealing with this: http://www.linuxquestions.org/questi...ve-4175453724/
yes you are right this thread gives pretty much what i need.
also Didier Spaier's thread show the exact steps needed to achieve what i asked. as soon as i have time i will try that and will report back if it worked with flash drive.
Quote:
My intent is to create essentially a vanilla Slackware 14.0 live cd with the exception of the kernel and related packages/modules (aufs-utils and squashfs).
that would be nice to have a vanilla slack 14.0 live cd, if u dont mind let us know when you create that

Thank you all I appreciate all replies.
 
Old 03-15-2013, 12:08 PM   #10
Ahau
Member
 
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58

Rep: Reputation: 19
Quote:
Originally Posted by chess View Post
I am actually building and testing a live Slackware iso using aufs and the linux-live.org scripts. It's not a simple process but it can be done. You can download precompiled kernels with aufs support from the linux-live.org website or you can build your own kernel, which is what I'm doing. My intent is to create essentially a vanilla Slackware 14.0 live cd with the exception of the kernel and related packages/modules (aufs-utils and squashfs).
I'm probably going to be doing something very similar with slackwarearm. Since my goal is to build Porteus Linux (a slackware/linux-live based distro) for ARM (already accomplished for armv5te but I want to test armv6 and armv7), I'll be utilizing Porteus' initrd and a handful of Porteus startup scripts (/etc/rc.d/rc.S, rc.M, etc) but I want the installed packages to be as vanilla slackwarearm as possible so that I have a more foolproof development platform. It shouldn't be a difficult process and I'm willing to share a HOWTO if anyone's interested.

-Ahau
 
  


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
How to INSTALL not BOOT Slackware 11.0 from USB flash? Daysie Linux - Hardware 2 01-11-2007 04:26 PM
Slackware on USB flash drive adds2one Slackware 5 03-19-2006 06:20 AM
Installing slackware from a usb flash drive? blacklabelrum Linux - Software 1 12-13-2005 12:42 AM

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

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