Solved

tar to Widows Cd-rom

Posted on 2000-03-04
12
337 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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
 
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 Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

732 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