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.
Having a habit of reinventing the wheel and inspired by the following quote from this link,
Quote:
Customized Slackware install CD-
1) Obtain/make an ISO image(s) of the Slackware Install CD(s).
2) Using an ISO Editor program, edit each tagfile as you wish.
3) Burn new Install CDs from your modified ISO images.
4) During Slackware installation, choose "CUSTOM" as your install method.
5) Go get a beer because the install does the rest.
I decided to create my own custom Tagfile!
I downloaded ISO Master 1.3.8, installed it successfully and opened the Slackware 13.1 ISO from it.
-There in the folder titled 'Slackware', I found various other folders titled 'a', 'ap', 'd', so on and so forth.
-Inside the folder 'a', there were various files e.g. aaa_base-13.1-i486-2.txt and this is what the file in question contained:
Code:
aaa_base: aaa_base (Basic Linux filesystem package)
aaa_base:
aaa_base: Sets up the empty directory tree for Slackware and adds an email to
aaa_base: root's mailbox welcoming them to Linux. :) This package should be
aaa_base: installed first, and never uninstalled.
aaa_base:
aaa_base:
aaa_base:
aaa_base:
aaa_base:
aaa_base:
Now the question is: How I am supposed to edit the Tagfile?
Where is the Tagfile?
Please give an example or a link which demonstrates this.
Last edited by Aquarius_Girl; 01-10-2011 at 10:36 PM.
Reason: modified sentences
I created a Slackware package for ISO Master, installed it, downloaded a slackware iso image and was able to edit the tagfiles in it without error messages or problems. Perhaps you need to configure an editor for ISO Master in Tools -> Options.
Default editor was "mousepad" which is not present on OpenSuse, I changed it to "Kwrite", and that did the trick! How could I have guessed that with that error message???
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609
Rep:
Well just an idea: why just not mirror the slackware repo, and edit the tag simply in that directory and then make an ISO ? (You're even not forced to do an ISO if you install from the local repo...)
Dunno if it can help, but I'd do this way, instead of "hacking an ISO" which is overkill IMHO.
Honestly, when messing with personal tag files, I find it best to use a Boot only network installer iso for slackware. Have all the install files already on the computer or accessible over some form of network interface. Then have all your tag files in a completely separate tree with all the sub folders a ap d etc.
Each one should have a customized tag file for that directory. Then the installer gives you the option to setup the location of the tag files. Again, either a premounted network share or locally on the computer... and mounted to the installers filesystem.
Each tag file should contain either <pkgname>:ADD or <pkgname>:SKP... IF you want an unattended install. otherwise you have to sit there with the installer and answer yes or no to each package that is otherwise.... Unless you copy your tag files back over the source tag files, then you get the menu to answer on every package. But I don't recommend replacing the source tag files because if you rsync your files with the server or some other stuff, then your files will be changed back. If you always keep them separate in their own place, you don't have to recreate them next run, only change them for the new packages.
In simple terms: It's an installer that just boots your computer, enters the setup and asks where the install files are. It is small because it doesn't contain the actual slackware packages.
Quote:
Originally Posted by Anisha Kaul
I have an ISO DVD, is that what you meant here?
No. He means that you should have your files ready on another partition that you don't intend to format when setting up slackware or on another computer on your network. You just need the "slackware" directory tree (the one that contains "a", "ap", etc).
Quote:
Originally Posted by Anisha Kaul
I can keep them in a pen drive?
Actually, yes.. You would just have to mount your pen drive when installing. I'm not actually sure if this is now done automatically but if it isn't you can just switch to a different console (e.g. by pressing ALT + F2) during setup and mount it (I recomend creating a new directory in "/" and mount in that one -- it's just safe not to mount in any existing directory). Afterwhich you just select that directory as your source when asked. This is by far the most elegant way to keep a slackware installation with customized tagfiles, in my opinion.
No. He means that you should have your files ready on another partition that you don't intend to format when setting up slackware or on another computer on your network. You just need the "slackware" directory tree (the one that contains "a", "ap", etc).
Thanks for replying, did you mean here that I should keep the tagfiles folder on a separate partition?
Quote:
Originally Posted by Smokey_justme
Actually, yes.. You would just have to mount your pen drive when installing. I'm not actually sure if this is now done automatically but if it isn't you can just switch to a different console (e.g. by pressing ALT + F2) during setup and mount it (I recomend creating a new directory in "/" and mount in that one -- it's just safe not to mount in any existing directory). Afterwhich you just select that directory as your source when asked. This is by far the most elegant way to keep a slackware installation with customized tagfiles, in my opinion.
Thanks for the information,
I was thinking of burning another ISO disk with the new tagfiles, but your said method seems also easy!
Your tag files need to be with the packages. So if you choose to hold the slackware directory (the one with the "a","ap",etc. -- with all the actual packages) on a another partition, the tag files should also be there (each of the "a","ap, etc. directory should have one tagfile). If you choose to hold the slackware directory on a pen drive, the tag files should be on the pen drive. It all depends on how you want to do the install.
P.S. Try it once or twice.. It will get clearer afterwards.
I am thankful to you for explaining the details, but I'll understand more clearly what you have said when I have that ISO with me which will be tomorrow, I'll soon bug you again
Your tag files need to be with the packages. So if you choose to hold the slackware directory (the one with the "a","ap",etc. -- with all the actual packages) on a another partition, the tag files should also be there (each of the "a","ap, etc. directory should have one tagfile). If you choose to hold the slackware directory on a pen drive, the tag files should be on the pen drive. It all depends on how you want to do the install.
P.S. Try it once or twice.. It will get clearer afterwards.
Not quite so.
The tagfiles don't need to be on the same directory (much less the same partition) where the packages are located.
The tagfiles do need to be located within the same directory structure as the packages ("a", "ap", etc...).
All you have to do is create that directory structure on a pen drive and put your tagfiles in it, then boot the slackware cd / dvd and mount your pen drive and point to it using the "tagpath" option on the installer.
I do agree with NoStressHQ and lumak that putting the tagfiles on a separate media (pen drive, a network share or in my case a web server) is much simpler than editing an .ISO file and re-burning it (which would be overkill IMHO).
Once again, if you don't want to go through the trouble of creating the directory structure with your tagfiles in it, use mine by unpacking the file into your pen drive and edit the tagfiles to suit your needs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.