Solved

tar to Widows Cd-rom

Posted on 2000-03-04
12
321 Views
Last Modified: 2013-12-06
I downloaded powerchute from APC on my home Win2000 / 98 computer. Is there any way to burn that into a cd-rom that I can take to the office and use it to install powerchute to our server? (have write able cd) The file is an 8.78 Mb tar file

I know I can use the doscp with floppies, but will that work on the cd, (if Sco can read it)? I searched the faq's and the freeware stuff, just can't seem to find much about the cd in Sco

We have
Sco Open Server v 5.04 with ide-cd
but NO internet connection.

i do have pc's that I can log on the Server with, (pc's DO have internet), but they are all dial-up (slow) . I have a broadband connection at home, so I wanted to go this route.

Thanks a million,
Ed
0
Comment
Question by:edatcccc
  • 6
  • 6
12 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2584312
Well, it would be worth trying. The question is whether your CD burner software can make a Unix compatible CD, i.e., typically one with RockRidge extensions. Even if you can't burn one with RockRidge extensions, it's possible that SCO may be able to read the Joliet extension format that most PC CD burners do.

Do you have any PC's at work networked to the SCO box? If so you could mount the CD on a PC and ftp or copy the file to SCO.
0
 

Author Comment

by:edatcccc
ID: 2584863
Thanks
I check on the rockridge extensions.
None of the pc's are networked (dial in with terminal emulation program),and only wyse terminals on our serial port cards.
We do have tcp/ip running for our terminal server, so If I can find a the hub (this was put in before I got  there), I connect a laptop to the hub

What do I have to do to enable windows stations to network?

Should I submit that as a seperate quesion?
Tia,
Ed
0
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 2584982
First let me give you one other option. There is now a port of Joerg Schilling's cdrecord software for windows. It has the mkisofs utility which is capable of creating an iso9660 CD image with any and all extensions. I've not yet had an occasion to try the windows versions, but his stuff is what I use on Linux and Solaris... and works perfectly. You can find the windows binaries off this page http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html.

If TCP/IP is already ruuning between SCO and the terminal server, then all you ought to need to do is to make an entry in SCO's host file (hostname & IP) and set that same IP on your laptop.

A word of caution. If the SCO box and the TS are directly connected (no hub) then the cable has to be a cross-over. You'll need ordinary cables to connect each to the hub
0
 

Author Comment

by:edatcccc
ID: 2585029
Great !
Just dn'loaded Joerg Schilling's cdrecord, will try it.

If this works, how do I refer to the cd-rom at the cmd prompt on the Sco Server (to copy or uncompress the file)?

Excuse my ignorance, but all I have done is use custom to install pckgs of cd-roms!
Many thanks,
Ed
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2585091
It's been 4 years since I last had my hands on an SCO box, so I'm a little fuzzy on how to get to the CD. I do remember that it wasn't difficult and think that I "mounted" it. Check the man page for mount (man mount).

Let me know how Joerg's stuff works on windows. Note that you don't necessarily have to burn the CD with cdrecord, just make the iso image with RockRidge extensions. And if you make it with RockRidge and Joliet extensions it's usable on windows and unix.
0
 

Author Comment

by:edatcccc
ID: 2585312
to mount the cd, I got this from the sco newsgroup:

mount -r /dev/cd0/mnt

does that look right?

I am curious on how to discover the cd rom device name, I went through that fot the tape drive and the hard drives, it should be similar?

ed
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 40

Expert Comment

by:jlevie
ID: 2585346
The mount command seems vaguely familiar, although it should actually be "mount -r /dev/cd0 /mnt" (note the space between /dev/cd0 & /mnt). I'm fairly sure that /dev/cd0 will be a link to the actual device and is probably there (check with "ls -l /dev/cd*") as the package management tools would use that also.
0
 

Author Comment

by:edatcccc
ID: 2585505
Ok,
used the Joerg Schilling's cdrecord to create the .iso file here is the commmand args I used and the return:

mkisofs -o hsfs.iso -J -R //c/winnt/system32/pcsco.tar

Total extents actually written = 4530
Total translation table size: 0
Total rockridge attributes bytes: 250
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 5000
4530 extents written (8 Mb)


burned the cd with adaptec ez-cd
It seemed to go ok, am going to try to get to office tonight and copy it

Ed
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2585645
I'd say mkisofs did the the right thing. Did you try looking at the CD on the PC to be sure that it was the contents of the iso that got burned instead of the iso image as a file? You should see the pcsoc.tar file.
0
 

Author Comment

by:edatcccc
ID: 2585768
No I did not, and sure enough, I screwed it up.
Had to use cdrecord to burn it. Command:
cdrecord dev=2,0,0 -v speed=4 hsfs.iso

now I can see it the tar file!

found this list while browsing the APC site, thought you migh find it intereting

CD-ROM mounting commands for PowerChute plus for UNIX

INFORMATION:

Please note that the following commands assume that a /cdrom directory has been created off of root. If this is not the case, the user must create this directory with the following command: mkdir /cdrom.

COMMAND OS

mount -r -t cdfs /dev/dsk/c201d2s0 /cdrom HP-UX
mount -r /dev/cd0 /cdrom SCO UNIX
mount -v cdrfs -r /dev/cd0 /cdrom IBM AIX
mount -rt hsfs /dev {or /device}/sr0 /cdrom SunOS v4.x
mount -F hsfs -o ro /dev/dsk/c0t6d0s0 /cdrom Solaris (without vold, otherwise CD is         automatically mounted)
mount -rF cdfs {device name}/cdrom UnixWare
mount -rd /dev/rz4c /cdrom DEC OSF/1 (v1.x, v2.x)
mount -r -t cdfs /dev/rz4c /cdrom DEC OSF/1 (v3.x)
mount /dev/cdrom /mnt/cdrom LINUX
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2585905
Yeah, that corresponds to what you found in the FAQ. They just specified a different dir for the mount point (/cdrom vs /mnt). There generally isn't any magic as to where you mount a CD if you are just going to extract a tar from it.

Using "mount -r /dev/cd0 /mnt" you could extract the contents of the tar with:

cd /some-place
tar xvof /mnt/pcsco.tar
0
 

Author Comment

by:edatcccc
ID: 2587887
thanks very much,
I should have no problem now.

Ed
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now