LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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-31-2009, 10:22 AM   #1
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Does script exist that automates slack install with pre-selectable pkgs?


OK, I'm trying to pare down slack to fluxbox and some apps,etc on a Qemu vhd dual-booting with DSL.
Being that this is a process of trial and error; I am spending most of my time re-installing anew and having to pick individual pkgs,etc
I know I can use tagfiles, bbut was wondering if there was a script to do this
OR how to make a script that has all pkg's from 12.2 DVD that autoinstalls with the option of editing the script so that individual pkgs can be autoinstalled repeatedly-
meaning I screw the vhd up and want to start another install I just use the script and it does it's thing for me.

I would have to somehow include the script into the DVD yes?
Any help appreciated.
Thanks
 
Old 05-31-2009, 10:36 AM   #2
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Well, I gues the tagfiles will work-so now i just remove pkg's from the tagfiles for each section I don't want and remove those pkg's from the DVD and then re-create the DVD-
is that all I have to do?
thanks
 
Old 05-31-2009, 10:46 AM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
More info-
I am using the portable-qemu to run a dual-booting vhd with slack and dsl + swap
on a now 2.2GB vhd "qemu-img create vhd 2200M"

here's the install script-
Code:
for num in 1; do 
    qemu/qemu -L qemu/ -no-kqemu -soundhw all -m 128 -boot d -cdrom qemu/SlackDVD.iso -hda qemu/vhd &
    sleep 1s 
done
here's the "run from vhd" script-

Code:
for num in 1; do 
    qemu/qemu -L qemu/ -no-kqemu -soundhw all -m 256 -hda qemu/vhd &
    sleep 1s 
done
Issues include having to re-install slack anew if I mess it up.

DSL doesn't install lilo correctly but grub installs fine.
( dsl-frugal-grub or frugal-lilo )
DSL also doesn't install lilo correctly on HD install, but grub is good.

Slack installs lilo correctly using expert config, but How to add
dsl on hda2 to lilo.conf?
I know grub mostly....
 
Old 05-31-2009, 11:04 AM   #4
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Original Poster
Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
OK, taken from the "N" pkg folder tagfile what do the abbreviations mean-

"rt61-firmware:ADD
rt71w-firmware:ADD
samba:OPT
sendmail:REC
sendmail-cf:OPT"

I assume ADD means add it, and OPT means optional, but does REC mean required or what?

Also, what do I put there if I don't want that pkg installed?
Can I just remove that pkg and remove it from the tagfile list?
 
Old 05-31-2009, 11:29 AM   #5
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
The Slackware Book has information on tagfiles - it will be useful. I have supplied a link to an online version but it is included on the Slackware DVD/CD's. It's well worth reading.
 
Old 05-31-2009, 11:38 AM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
I know I can use tagfiles, bbut was wondering if there was a script to do this
You can find a simple tagfile generator script here. Scroll to section 17.4.3.

When you perform an install from the DVD/CDs, I believe therre is an option to select a different tagfile location. Been a while since I looked, however.

Quote:
does REC mean required or what
RECommended.

Same link as above, but refer to Table 17.1 in section 17.4.2:

ADD: A package marked by this flag will automatically be installed
SKP: A package marked by this flag will automatically be skipped
REC: Ask the user what to do, recommend installation of the package.
OPT: Ask the user what to do, the package will be described as optional.
 
  


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
selectable dual boot tyoung212 Linux - Newbie 1 03-26-2008 12:29 PM
Script that automates backups using ftp linuxmandrake Programming 4 11-25-2005 06:12 PM
Custom kernel vulnerabilities verus Slack pre-compiled tank728 Slackware 1 09-04-2004 02:22 PM
Does Slack 9.1 exist on DVD? 3AM Slackware 5 02-02-2004 06:28 PM
New font not selectable in KDE apps. Shay Linux - Software 1 11-02-2003 09:56 AM


All times are GMT -5. The time now is 05:22 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration