[SOLVED] Help creating USB Install with selected features.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am wanting to make a Minimum Slackware 14 (32 Bit) system that boots from USB. I only want dd, telnet, ftp, ssh, and Perl. I also want to have the capability of connecting via Ethernet or Wifi to the Internet/LAN. Working from the Command line is all that is required.
Would it be best to start with the Mini.ISO, and add the packages or start with Slackware 14 and strip everything that isn't needed?
I would make custom tagfiles re-using the 'tagfile' in the A and N series, keep only what is mandatory (ADD), then add what you would miss otherwise. In addition you will have to install perl which is in the D series.
there is a tagfile in every directory under /slackware in the Slackware tree, be it on a CD/DVD or a FTP or HTTP mirror, a Samba share or a local directory on a hard disk, provided they are real mirrors.
For instance on any mirror you will find /slackware-14.0./slackware/a/tagfile, /slackware-14.0./slackware/ap/tagfile, etc.
And yes, REC stands for RECommended, OPT for OPTionnal. On a customized tagfile you can also use SKP for Skip IIRC.
Slackware's installer allows you to use your customized tagfiles, provided you put them in the same directories as the standard ones and give them a three letters extension, e.g. tagfile.lar
Last edited by Didier Spaier; 01-31-2013 at 09:21 AM.
Didier Spaier,
THANKS for the extra help. I did finally find the tagfiles on the Slackware32 v14 ISO and have them extracted to their appropriate
subdirectories. I also found a bit about them in the Slackware 2.0 PDF file, but it doesn't specify giving them a three letter
extension.
One more quick question. If I copy my modified tagfiles in their respective subdirectories to my USB Flash Drive (Bootable), and then
insert my Slackware 14 DVD (ISO) in my Laptop's DVD Drive, how do I get my modified tagfiles to execute versus the ones on the DVD when I run setup? I don't see any selection in setup allowing me to select which set of tagfiles to execute.
How do I execute my modified tagfiles? What am I missing?
As a reminder, in 'setup' you should first set the TARGET and SOURCE directories and choose the software categories you want with SELECT.
Then in INSTALL select the "custom" option. Don't be fooled by the text wih suggests to use floppy disk (this is history now), you can type paths to any mounted directory whatever be the media.
For instance, first switch to another console, log in (just hit Enter), 'mkdir /tagfile', mount an USB key as /tagfiles. Your file tree on the USB key will have the tagfile for the a series in /a, and so on. Then go back to tty1 and just follow instructions given by 'setup'.
PS For the records, in the installer there still exist a 'SeTmaketag' script intended to help you make custom tagfiles, but 'setup' does not call it anymore. You can call it at the bash prompt before running 'setup' to see how it works though as it is in the same directory. I didn't try that yet but will soon, just for fun :^) As it is supposed to write your tagfiles somewhere you should have already mounted a media with the needed directories.
PS2 Or you can directly run the 'maketag' script you will find in every package series' directory.
EDIT No, don't do that, these scripts should be called by SeTmaketag. You can can have a look at it and at SeTmaketag to get inspiration on how to make your own customization script if so inclined though.
Last edited by Didier Spaier; 02-01-2013 at 04:14 AM.
Reason: EDIT added
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.