LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-22-2012, 11:17 PM   #1
Juxjax
LQ Newbie
 
Registered: May 2012
Posts: 9

Rep: Reputation: Disabled
Slackware Live USB


I know there are several Slackware-based distributions that have been created for the purpose of acting as a live USB, but has any created an actual live USB from a full-blown Slackware itself? Any advice on how to do it?

Is there a way to install Slackware on a live USB just like we do on a hard drive with all the customizations, i.e. LVM, custom packages, applications, etc.?
 
Old 05-23-2012, 03:39 AM   #2
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 425

Rep: Reputation: 123Reputation: 123
Nothing would please me more than to see a "solved" answer to this question :-)

Well - OK - if someone transfers $$$millions into my bank account I'd be more pleased !
 
Old 05-23-2012, 04:15 AM   #3
cmk77
Member
 
Registered: May 2006
Location: netherlands
Distribution: slackware, centos, scientificlinux
Posts: 119

Rep: Reputation: 24
Apparently porteus answered that.
 
Old 05-23-2012, 05:14 AM   #4
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,811

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
Didier Spaier has previously written about how to install Slackware to an external USB disk. The only thing in addition you might want to do is to cut down the number of packages to get it to fit, if you are using a small disk like a pen drive. Though you can get a basic Xfce desktop setup within a couple of Gb.

Last edited by ruario; 05-23-2012 at 05:22 AM. Reason: fixed broken URL
 
Old 05-23-2012, 06:06 AM   #5
Darth Vader
Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 599

Rep: Reputation: 109Reputation: 109
I believe that more interesting will be an official "out-of-box" USB installation kit. We remember, today slackware-current source tree generate (via AlienBOB's mirror-slackware-current.sh) a "little" ISO, about 5571MB.

Why I should use an Double-Layer DVD when already I have an 8GB USB stick?

I known, there is some (un)official methods, but, I believe to be better a solution to create an USB installer even using Windows as host. Something like what GParted do. Extract the source tree in the target device and run one script to make it bootable.
 
Old 05-23-2012, 07:07 AM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,811

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
@Darth Vader: USB install images are already provided:

http://ftp.uninett.no/linux/slackwar...xe-installers/


Quote:
Originally Posted by README_USB.TXT
The 'usbboot.img' file is a 25 MB small USB boot image that you can
use to boot into the Slackware setup program. The mini image does not
contain any installable Slackware package. In order to install Slackware
you will need a local NFS/HTTP/FTP server or another Slackware package
source like a prepared local harddisk partition. This small image file
works great, especially when you can't or don't want to use CDROM media
as the carrier for the Slackware packages.
The image is transfered to a USB stick in a matter of seconds. Even the
oldest and tiniest of USB drives is well suited for this purpose.
You will also find usbimg2disk.sh in that directory. It allows you to make a disk that better uses the available space. So you can include the packages on the same disk if you don't want to do a network install.

Last edited by ruario; 05-23-2012 at 07:11 AM. Reason: added quote, added comment about usbimg2disk.sh
 
Old 05-23-2012, 09:04 AM   #7
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Quote:
Originally Posted by ruario View Post
@Darth Vader: USB install images are already provided:

http://ftp.uninett.no/linux/slackwar...xe-installers/
I believe he meant something more like the ARM miniroot:
ftp://ftp.armedslack.org/armedslack/...tfs/README.txt
 
Old 05-23-2012, 10:52 AM   #8
Juxjax
LQ Newbie
 
Registered: May 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thank you everyone. Certainly, there are many attempts and proposals offered, but I haven't seen a one that literally takes the hard drive installation and slaps it on to the live USB. I would surely give Didier's instruction a try this weekend.

Nevertheless, since I had envisioned the live USB to be functional on the majority of systems, namely taking it from laptop to laptop, or even desktop to desktop, the kernel configurations must be somewhat more inclusive to handle various hardwares and modules, which unfortunately, would make it bloated.

I'm not aiming to load an infinite number of packages and applications; as a matter of fact, when it comes to to user/server programs, I tend to be minimalistic.

Moreover, I think one should also consider how the normal excessive "writes" to the USB done by the programs and kernel would effect the longevity of the device. On the other hand, I wouldn't mind using it only for 2 or 3 years and replacing it with a better performing USB afterwards.
 
Old 05-23-2012, 11:10 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,497
Blog Entries: 2

Rep: Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017
What hinders you to just make a normal Slackware installation to that device?
Of course you have to adapt /etc/fstab and your lilo configuration to use labels or UUIDs, but that is a no brainer.
 
Old 05-23-2012, 11:35 AM   #10
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Antix, Slackware, NetBSD
Posts: 88

Rep: Reputation: 35
I dont't know if Exton-Slack has everything you need?
 
1 members found this post helpful.
Old 05-23-2012, 11:42 AM   #11
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 138Reputation: 138
You might like to check these out:

http://alien.slackbook.org/blog/inst...b-thumb-drive/

http://www.slackwiki.com/Install_Sla...SB_Flash_Drive

https://www.linuxquestions.org/quest...-slack-740557/
 
Old 05-23-2012, 12:21 PM   #12
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 425

Rep: Reputation: 123Reputation: 123
Quote:
Originally Posted by Hannes Worst View Post
I dont't know if Exton-Slack has everything you need?
That looks very nice. I'm going to try a download this weekend. Thank you.
 
Old 05-24-2012, 06:27 PM   #13
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
I'm currently running Slackware 32 bit entirely from a 1G USB memory stick (yes, only 1 G !). I did a minimal installation and added packages one by one (a painful process). I have formatted the usb stick as ext2 to minimize writes, I have mounted some directories and files in ram:
Code:
bash-4.2$ cat /etc/fstab 
/dev/sdb1        /                ext2        defaults,noatime 1   1
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro  0   0
#/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
tmpfs       /tmp        tmpfs   defaults,noatime,mode=1777     0   0
I have moved slackpkg cache files to /dev/shm amd modified Firefox to run entirely in memory.
This is the list of my packages:
http://pastebin.com/KatzBJ2m
 
Old 05-25-2012, 06:32 PM   #14
Juxjax
LQ Newbie
 
Registered: May 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
What hinders you to just make a normal Slackware installation to that device?
Of course you have to adapt /etc/fstab and your lilo configuration to use labels or UUIDs, but that is a no brainer.
The reason I'm trying to have a Slackware USB Live is because this is a laptop that I do not have a permission to install another OS on its hard drive. Moreover, I would like to have a flexibility to just take this USB Live, and if the system provide a bootable option from the USB, and load it on most machines. I understand that reconfiguration for a new system might somehow defeat this purpose, but I could install as many functionalities into the kernel or load them as modules with this USB Live.
 
Old 05-25-2012, 06:33 PM   #15
Juxjax
LQ Newbie
 
Registered: May 2012
Posts: 9

Original Poster
Rep: Reputation: Disabled
Alien's Windows and Linux installation to the USB scripts are sure useful here. Thank you.

I'm going to try both of them this weekend see if I can get it to work.
 
  


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
Using syslinux to create a Slackware USB-Live disk? empcrono Slackware 2 04-05-2010 07:51 PM
ClutchOS_13-beta, a Slackware based Live Persistent USB linus72 Linux - General 2 03-08-2010 09:45 AM
ClutchOS v12.2 A Pure Slackware 12.2 Live CD/USB with Persistence! linus72 Slackware 13 03-02-2010 07:35 AM
[SOLVED] Can not create live usb for OpenSuse using Live USB creater :( PrinceCruise Linux - General 4 09-23-2009 02:04 PM
create usb live slackware theacerguy Slackware 3 07-20-2009 05:00 AM


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