Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-21-2014, 08:47 PM
|
#1
|
Member
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41
Rep:
|
pkgtool hangs
script -c 'pkgtool --sets a#ap#d#f#k#kde#l#n#t#tcl#x#xap#xce#y# --source_dir /media/TOSHIBAEXT/slackware/slackware64-curent/slackware64/ --target-dir /ubuntu --tagfile tagfile' install-slackware-2014-08-21.18:27.log the above command hangs my cpu at 50% and does nothing. It does not populate mounted partition /upuntu. It produces no output in the install log. tagfile is a tree that contains a directory for each disk set that contains a copy of the default tagfile. suggestions please.
|
|
|
08-21-2014, 10:10 PM
|
#2
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
you try reinstalling pkgtool because pkgtool is a noarch program it is just scripts. So what was your goal is here ?
|
|
|
08-21-2014, 10:29 PM
|
#3
|
Member
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41
Original Poster
Rep:
|
Drakeo, my goal is to automate a clean slackware installation in an empty partition. I was able to reduce the cpu time to less than 10% by putting a # in front of the first --sets argument. It still hangs tho. checking the remaining arguments.
|
|
|
08-21-2014, 11:07 PM
|
#4
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
you know that pretty simple actually. I set up some scripts for my friend to actually install slackware while running puppy linux ok want a script how i do it.
i do a
Code:
#!/bin/sh
cd /mnt/sdb2/Slackware/slackware64-14.1/slackware64 # set to your partition
for dir in a ap d e f k kde l n t tcl x xap xfce y ; do
( cd $dir ; installpkg -root /mnt/sdb2 *.t?z )
done
if you do not want a full install pick out some
here this says you have sdb2 set up to be installed on my first script actually mirrored the repo to sdb2.
you need to set up a boot loader. before and then go to telinit 1 run pktools and create a password etc.
Last edited by Drakeo; 08-21-2014 at 11:08 PM.
|
|
|
08-21-2014, 11:27 PM
|
#5
|
Member
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41
Original Poster
Rep:
|
pkgtool runs!
Watch your hyphens and underbars in the arguments. The first # symbol in front of the disk sets must be there and quotes. Also the source-dir path was missing an extra r. Below is the command that runs:
Code:
script -c 'pkgtool --sets "#a#ap#d#f#k#kde#l#n#t#tcl#x#xap#xfce#y#" --source-mounted --source_dir /media/TOSHIBAEXT/slackware/slackware64-current/slackware64/ --target_dir /ubuntu --tagfile tagfile' install-slackware-$(date +%F.%H-%M).log
Now I am working to see why it is ignoring the tag files.
Last edited by offplanet; 08-22-2014 at 12:40 AM.
Reason: fix the command line, readability
|
|
|
08-21-2014, 11:32 PM
|
#6
|
Member
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41
Original Poster
Rep:
|
thanks
I copied your script Drakeo. Thanks. Where can I go to learn how to make my posts readable?
|
|
|
08-22-2014, 06:30 AM
|
#7
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
Quote:
Originally Posted by offplanet
I copied your script Drakeo. Thanks. Where can I go to learn how to make my posts readable?
|
I really do not understand the question. that script is just a little bit of a modification of the upgrade text from slackware.
Quote:
Where can I go to learn how to make my posts readable?
|
please elaborate a little more.
|
|
|
08-22-2014, 08:40 AM
|
#8
|
Member
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41
Original Poster
Rep:
|
I wanted to make my LQ posts look better. (text formating)
Quote:
Originally Posted by offplanet
I copied your script Drakeo. Thanks. Where can I go to learn how to make my posts readable?
|
The LQ reply tool was removing my double quotes and substituting text.
And I did not understand why.
Text formatting LQ reply and figuring out PKGTOOL are 2 different problems. The BB CODE TAGS helped but I need to learn more about LQ reply formatting.
|
|
|
08-22-2014, 10:07 AM
|
#9
|
Member
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528
|
Quote:
Originally Posted by offplanet
The BB CODE TAGS helped but I need to learn more about LQ reply formatting.
|
@offplanet You mention BB Codes. Have you seen these pages?
General
BBCodes
Smilies
I've not had trouble with double quotes. Perhaps if you elaborate someone can offer a suggestion.
EDIT: You can select the version of the editor (simple, WYSIWYG) you use by configuring you LQ account options.
Last edited by TracyTiger; 08-22-2014 at 10:12 AM.
|
|
|
08-23-2014, 06:20 PM
|
#10
|
Member
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41
Original Poster
Rep:
|
details on formating issues
In my code section I used double quotes after the --sets text. The editor removed the quotes and put amp;stuffhere;amp; in its place. This was during the preview process. I went back and edited it to put the double quotes back before I submitted. This time it stayed there. I don't know why. The sections on bbcodes smiles and general did not talk about the tag I saw in Drakeo's post to force a new line. I even used it. But now the tag does not show up and I don't remember the exact syntax. It had angle brackets, a slash and a b. All of this is a side issue. I need to get back to figuring out why my tag files are not being used. Today hopefully. Thanks to all who offered help.
Last edited by offplanet; 09-05-2014 at 04:10 PM.
Reason: correction: stayed
|
|
|
08-24-2014, 07:01 AM
|
#11
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
durring your post you will see the go advance at the bottom this will allow you to use the code # insert. and many other things.
|
|
|
All times are GMT -5. The time now is 04:58 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|