Registered member login:
Register Now
Altirigos » Deployment Solution » Scripting/Tools/Docs » Linux Firm

» Current Poll
Do you leave the Aclient enabled?
YES - 83.05%
196 Votes
NO - 16.95%
40 Votes
Total Votes: 236
You may not vote on this poll.
» Stats
Members: 9,948
Threads: 12,158
Posts: 56,984
Top Poster: Nick (4,991)
Welcome our newest member, rmerrill
» Online Users: 28
1 members and 27 guests
andykn
Most users online at once 294, 06-30-2007 at 12:24 PM.
» July 2010
S M T W T F S
27282930 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Reply
Old 08-15-2007, 02:23 PM   #1 (permalink)
 
Status: Super Altiris Admin
Join Date: 03-23-2006
Location: Columbus, OH
Posts: 160


Linux Firm

Ok guys,

I am pulling my hair out over this one.

Im trying to convert these scripts

REM Copy Driver and HAL Information to production partition.
firm -recurse copy .\Deploy\models\t60ati\drivers prod:\Drivers
firm -recurse copy .\Deploy\models\t60ati\system32 prod:\Windows\system32
exit

REM Token Naming Script
REM ReplaceTokens .\temp\Sysprep.inf .\temp\%COMPNAME%.txt
Firm Copy f:\temp\%COMPNAME%.txt PROD:\Sysprep\Sysprep.inf

into a Linux version, which I wrote below....


export PATH=$PATH:/mnt/ds/RDeploy/Linux
#Token Naming Script
# ReplaceTokens "/mnt/ds/temp/Sysprep.inf" "/mnt/ds/temp/%COMPNAME%.txt"
Firm Copy "/mnt/ds/temp/%COMPNAME%.txt" "PROD:/Sysprep/Sysprep.inf"

export PATH=$PATH:/mnt/ds/RDeploy/Linux
#Copy Driver and HAL Information to production partition.
firm -recurse copy "/mnt/ds/Deploy/models/t60ati/drivers" "prod:/Drivers"
firm -recurse copy "/mnt/ds/Deploy/models/t60ati/system32" "prod:/Windows/system32"

Well...its not working...any help is appreciated. Keep in mind, I have ZERO experience with Linux....zero!

Thanks!
oakleynike is offline   Reply With Quote
Old 08-15-2007, 02:51 PM   #2 (permalink)
 
Status: Super Altiris Admin
Join Date: 10-28-2005
Location: Colorado
Posts: 1,396


I'd start by using the explicit path instead of the $PATH method just to eliminate any extra issues. You can get rid of the export lines or comment them out. You can clean it up once it is working and use the export at that point.

/mnt/ds/RDeploy/Linux/Firm Copy

What error are you getting? Is it during Firm?
__________________
Brandon
Brandon is offline   Reply With Quote
Old 08-15-2007, 03:02 PM   #3 (permalink)
 
Status: Super Altiris Admin
Join Date: 03-23-2006
Location: Columbus, OH
Posts: 160


Thanks for the reply Brandon.

I tried the suggestion you mentioned and still the same error.

The error is something like CFS_Umount and it shows "Error -5" then it restarts.

Any thoughts?

We are trying to get Linux works because of the 8 character maximum in DOS

Last edited by oakleynike; 08-15-2007 at 03:06 PM..
oakleynike is offline   Reply With Quote
Old 08-15-2007, 03:49 PM   #4 (permalink)
 
Status: Super Altiris Admin
Join Date: 09-06-2006
Location: Columbus, OH
Age: 29
Posts: 370


My guess is that it's bombing on your ReplaceTokens task. For some reason, I could only get it to play right if I didn't use explicit pathnames.

For example:

# ReplaceTokens ./images/Sysprep/cmh.inf ./temp/%COMPNAME%.txt

Works just fine. the ./ is simply /mnt/ds/

I couldn't get it to work right if I was keying in the full /mnt/ds/images/Sysprep/cmh.inf.


We were also having the issue where we'd get CIFS errors when the script was finished running and the machine would reboot. I recently applied the update from Altiris KB 34859 https://kb.altiris.com/article.asp?article=34859&p=1 and now the machine properly restarts after running the script. We're running DS 6.8 SP1.
dfrancis is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 05:46 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos