Unix Technical Forum

Access a SCO 3.0 drive from 5.0.6?

This is a discussion on Access a SCO 3.0 drive from 5.0.6? within the Sco Unix forums, part of the Unix Operating Systems category; --> I have an old machine with SCO 3.0 and no networking. I need the data off the IDE drive. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2008, 11:19 AM
jfranks1970@gmail.com
 
Posts: n/a
Default Access a SCO 3.0 drive from 5.0.6?

I have an old machine with SCO 3.0 and no networking. I need the data
off the IDE drive. I put this drive in a 5.0.6 box that I have and
ran mkdev hd, but it would never show the partitions on the drive (I
have since put the drive back in the old box and it boots fine.).

When the old server boots, it does show /usr mounting as S51K

Any ideas on how to get this to work? Do I need to mkdev hd first or
can I just access the filesystem directly somehow?

I'm lost.

Thanks!

jf
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 11:19 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: Access a SCO 3.0 drive from 5.0.6?

jfranks1970@gmail.com wrote:
> I have an old machine with SCO 3.0 and no networking. I need the data
> off the IDE drive. I put this drive in a 5.0.6 box that I have and
> ran mkdev hd, but it would never show the partitions on the drive (I
> have since put the drive back in the old box and it boots fine.).
>
> When the old server boots, it does show /usr mounting as S51K
>
> Any ideas on how to get this to work? Do I need to mkdev hd first or
> can I just access the filesystem directly somehow?
>
> I'm lost.
>
> Thanks!
>
> jf


Does the antique drive have *ANY* networking on its OS? Can you transfer the
data over the network, via rcp or tar over an rlogin or somehting?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-01-2008, 11:19 AM
Bill Campbell
 
Posts: n/a
Default Re: Access a SCO 3.0 drive from 5.0.6?

On Fri, Feb 29, 2008, jfranks1970@gmail.com wrote:
>I have an old machine with SCO 3.0 and no networking. I need the data
>off the IDE drive. I put this drive in a 5.0.6 box that I have and
>ran mkdev hd, but it would never show the partitions on the drive (I
>have since put the drive back in the old box and it boots fine.).


What is SCO 3.0??? Perhaps you mean Xenix something or other?

If you want to see Xenix drives on OSR 5.0.x, you need to first
run ``mkdev xenix'' to enable Xenix file systems.

>When the old server boots, it does show /usr mounting as S51K
>
>Any ideas on how to get this to work? Do I need to mkdev hd first or
>can I just access the filesystem directly somehow?
>


After running ``mkdev xenix'' with a full rebuild of all devices,
you then have to run ``mkdev hd'' twice, the first time to enable
the additional drive, the second time to run divvy to create
device names for the partitions in the Xenix slice (SCO is more
like FreeBSD in the way it handles disk partitioning than like
Linux).

Bill
--
INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676

Windows is a computer virus with a user interface!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-01-2008, 11:19 AM
Bela Lubkin
 
Posts: n/a
Default Re: Access a SCO 3.0 drive from 5.0.6?

<jfranks1970@gmail.com> wrote:

> I have an old machine with SCO 3.0 and no networking. I need the data
> off the IDE drive. I put this drive in a 5.0.6 box that I have and
> ran mkdev hd, but it would never show the partitions on the drive (I
> have since put the drive back in the old box and it boots fine.).
>
> When the old server boots, it does show /usr mounting as S51K
>
> Any ideas on how to get this to work? Do I need to mkdev hd first or
> can I just access the filesystem directly somehow?
>
> I'm lost.


Boot the old machine, run:

# dparam /dev/rhd00 `dparam /dev/rhd00`

Shut down, insert drive into OSR506 box, see if it plays any better.

The command "stamps" the drive's partition table with the geometry being
used by the kernel on the old system. Without such a stamp, the kernel
figures out a geometry every time it boots. Many factors go into the
calculation, and the results can come out different on a different
machine. If you stamp the results onto the partition table, the other
machine will no longer have to guess & calculate, it'll just use the
right geometry.

>Bela<

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-01-2008, 11:19 AM
Steve M. Fabac, Jr.
 
Posts: n/a
Default Re: Access a SCO 3.0 drive from 5.0.6?

jfranks1970@gmail.com wrote:
> I have an old machine with SCO 3.0 and no networking. I need the data
> off the IDE drive. I put this drive in a 5.0.6 box that I have and
> ran mkdev hd, but it would never show the partitions on the drive (I
> have since put the drive back in the old box and it boots fine.).
>
> When the old server boots, it does show /usr mounting as S51K


Left unsaid is what type drive do you have in the 5.0.6 box?

If it is SCSI, then you've a problem as SCO booted from a SCSI drive
will not mount an IDE drive. You can boot from IDE and mount a
SCSI drive as long as the SCSI controller is configured into the
kernel (mkdev hd the first time).

If this is a SCSI vs IDE problem, then you should be able to set
the new box to boot from IDE and boot the old drive in the new
system. Then you can run mkdev hd and configure the 5.0.6 drive
into the 3.0 kernel, reboot and run divvy /dev/hd10 and
name the division for the 5.0.6 as boot, nswap, nroot, and
nu (if you have a u file system) in that order.

Until you name the file systems, you can't mount them. Divvy writes
the name of the file system in /dev on the root file system of the
booted disk where you already have root, rroot, u, and ru.

You can't use the names already used for the 3.0 disk
(root, u, etc.). Note that Open server 3.0 does not have a boot
file system. That disk will start with root and then swap and then
u (if used). mount the 5.0.6 drive and then copy your data.

Caution: Don't run mkdev hd a second time as that is only needed to
run the commands to initialize the hard disk partition and devision
tables. See Bela's post on stamping the drive geometry.

It would be safer to run fdisk -r /dev/rhd10 to view the partition
table. If fdisk shows you reasonable information, then carefully
run divvy /dev/hd10 to see if you can see the division table.
The 3.0 version may choke on the 5.0.6 division table. Even so, it
should be safe to use it to name a target division as naming does
not write to the division table and only creates the nodes in /dev.

>
> Any ideas on how to get this to work? Do I need to mkdev hd first or
> can I just access the filesystem directly somehow?
>
> I'm lost.
>
> Thanks!
>
> jf
>
>


--
Steve Fabac
S.M. Fabac & Associates
816/765-1670
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-01-2008, 11:19 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: Access a SCO 3.0 drive from 5.0.6?

Steve M. Fabac, Jr. wrote:
> jfranks1970@gmail.com wrote:
>> I have an old machine with SCO 3.0 and no networking. I need the data
>> off the IDE drive. I put this drive in a 5.0.6 box that I have and
>> ran mkdev hd, but it would never show the partitions on the drive (I
>> have since put the drive back in the old box and it boots fine.).
>>
>> When the old server boots, it does show /usr mounting as S51K

>
> Left unsaid is what type drive do you have in the 5.0.6 box?
>
> If it is SCSI, then you've a problem as SCO booted from a SCSI drive
> will not mount an IDE drive. You can boot from IDE and mount a
> SCSI drive as long as the SCSI controller is configured into the
> kernel (mkdev hd the first time).
>
> If this is a SCSI vs IDE problem, then you should be able to set
> the new box to boot from IDE and boot the old drive in the new
> system. Then you can run mkdev hd and configure the 5.0.6 drive
> into the 3.0 kernel, reboot and run divvy /dev/hd10 and
> name the division for the 5.0.6 as boot, nswap, nroot, and
> nu (if you have a u file system) in that order.
>
> Until you name the file systems, you can't mount them. Divvy writes
> the name of the file system in /dev on the root file system of the
> booted disk where you already have root, rroot, u, and ru.
>
> You can't use the names already used for the 3.0 disk
> (root, u, etc.). Note that Open server 3.0 does not have a boot
> file system. That disk will start with root and then swap and then
> u (if used). mount the 5.0.6 drive and then copy your data.
>
> Caution: Don't run mkdev hd a second time as that is only needed to
> run the commands to initialize the hard disk partition and devision
> tables. See Bela's post on stamping the drive geometry.
>
> It would be safer to run fdisk -r /dev/rhd10 to view the partition
> table. If fdisk shows you reasonable information, then carefully
> run divvy /dev/hd10 to see if you can see the division table.
> The 3.0 version may choke on the 5.0.6 division table. Even so, it
> should be safe to use it to name a target division as naming does
> not write to the division table and only creates the nodes in /dev.


Hmmm. You know......

Have you played with virtualization at all? Do you have a Linux box floating
around? While the file systems used in the SCO systems I've dealt with aren't
really readable by anyone else, it's pretty straightforward to virtualize a
licensed SCO installation, and with that running you could blow a disk image
from your old drive into a mountable disk image for your virtualization.

If you want to avoid possibly corrupting your antique drive, I'd consider
pulling this stunt with a modern RHEL or similar system. I'm doing just this
sort of stunt right now, to move good quality server iron into a usable OS and
keeping freshly installed copies of the old OS around for access to old
software and data formats.

Nico Kadel-Garcia
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-01-2008, 01:28 PM
Tony Lawrence
 
Posts: n/a
Default Re: Access a SCO 3.0 drive from 5.0.6?

On Feb 29, 3:52*pm, jfranks1...@gmail.com wrote:
> I have an old machine with SCO 3.0 and no networking. *I need the data
> off the IDE drive. *I put this drive in a 5.0.6 box that I have and
> ran mkdev hd, but it would never show the partitions on the drive (I
> have since put the drive back in the old box and it boots fine.).
>
> When the old server boots, it does show /usr mounting as S51K
>
> Any ideas on how to get this to work? *Do I need to mkdev hd first or
> can I just access the filesystem directly somehow?


http://aplawrence.com/SCOFAQ/FAQ_sco...overdrive.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-04-2008, 06:22 AM
jerry
 
Posts: n/a
Default Re: Access a SCO 3.0 drive from 5.0.6?


Uzytkownik <jfranks1970@gmail.com> napisal w wiadomosci
news:7d432477-cef7-42d3-9b02-101e1f2c176b@h25g2000hsf.googlegroups.com...
>I have an old machine with SCO 3.0 and no networking. I need the data
> off the IDE drive. I put this drive in a 5.0.6 box that I have and
> ran mkdev hd, but it would never show the partitions on the drive (I
> have since put the drive back in the old box and it boots fine.).
>
> When the old server boots, it does show /usr mounting as S51K
>
> Any ideas on how to get this to work? Do I need to mkdev hd first or
> can I just access the filesystem directly somehow?
>


I don't know haw was it on SCO 3.0, but on 3.2v4.2 and 5.0.5 system don't
mount partitions - only divisions. And I'm not shure, it is posiible to use
2 disks witch the same names of divisions.?

Jerry


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-04-2008, 06:22 AM
Bela Lubkin
 
Posts: n/a
Default Re: Access a SCO 3.0 drive from 5.0.6?

"jerry" wrote:

> Uzytkownik <jfranks1970@gmail.com> napisal w wiadomosci
> news:7d432477-cef7-42d3-9b02-101e1f2c176b@h25g2000hsf.googlegroups.com...
> >I have an old machine with SCO 3.0 and no networking. I need the data
> > off the IDE drive. I put this drive in a 5.0.6 box that I have and
> > ran mkdev hd, but it would never show the partitions on the drive (I
> > have since put the drive back in the old box and it boots fine.).
> >
> > When the old server boots, it does show /usr mounting as S51K
> >
> > Any ideas on how to get this to work? Do I need to mkdev hd first or
> > can I just access the filesystem directly somehow?

>
> I don't know haw was it on SCO 3.0, but on 3.2v4.2 and 5.0.5 system don't
> mount partitions - only divisions. And I'm not shure, it is posiible to use
> 2 disks witch the same names of divisions.?


Division names are not stored in the division table. Names are
associated with divisions by the existence of device nodes in /dev with
the right major/minor numbers. So if you add an old root drive to an
existing system (no longer the root drive), all the minor numbers will
have changed and its divisions appear "nameless".

Recent versions of `divvy` will show you the embedded filesystem names
(as written by `fsname` and/or `labelit`), and sufficiently new systems
will even have had those stamps put in automatically. Definitely not
3.2v4.2, ODT 3.0 (which was 3.2v4.2-based), nor even OSR505. A drive
from one of those OSes will just appear to have no names, you must
assign new ones in `divvy`.

>Bela<

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 03-06-2008, 02:02 PM
jfranks1970@gmail.com
 
Posts: n/a
Default Re: Access a SCO 3.0 drive from 5.0.6?

Thanks for all the replies....trying to answer everyones questions....

"What is SCO 3.0???" - I don't know what it's supposed to be called,
but a 'uname -a' gives 'V/386 mp386 3.0e1U 3 80386' So, maybe it's
something else?

"Run # dparam /dev/...." - When I run this command, I get "dparam:
not found" I did a search of the system for a file called dparam and
found nothing.

"SCSI or IDE" - Both drives are IDE. The old drive AND the new 5.0.6
drive. I put the old drive on the secondary IDE controller as the
Master drive.


Thanks for all the ideas! so far, no joy. I have limited memory of
SCO setups. I "teethed" on SCO back in the early 90's (around the
time this box was built), but I can't remember crap about it! Thanks
again!

jf

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com