I've been working with SCO Unix for several years now but have never had to restore a system from a bare drive.
I have a bootable CD that contains what appears to be the correct files necessary to recover the boot and root filesystems.
I've got the BIOS setup such that the CD is the first boot device.
When the CD boots I type
defbootstr Srom=wd(0,0,0,0) link=cha
and I get an error telling that the floppy drive doesn't contain any media.
What steps do I need to take to get the system restore to a bare scsi hard drive?
There should be three filesystems, a root, boot and a u.
Here's what the space allocations look like on the original.
/ : Disk space: 2645.39 MB of 3906.25 MB available (67.72%).
/stand : Disk space: 16.28 MB of 29.29 MB available (55.60%).
/u : Disk space: 56215.66 MB of 62413.10 MB available (90.07%).
Any help is appreciated...
I'm a quick learner, but know that some of this stuff is so far over my head that it's hard to understand sometimes without help.
The diskette has the device driver for the SCSI host adapter.
You should be able to make one from the Compaq/HP Smartstart CD.
You will also need the serial number and activation key.
Does this system have RAID?. It seems to me that a two drive system, with one of 4 to 8gb and one of 72gb is rather unusual.
More likely the system has two 72gb drives in it that are mirrored.
Some RAID systems will only boot from drive 0 of a RAID 1 configuration, so it may appear that all data has been lost even though only one of the two drives has failed.
I strongly suggest that you find a local SCO reseller, or at least a local HP dealer in order to determine the exact system configuration before you do anything.
It's not an HP Computer it's a Dell PowerEdge 1800.
It's not a RAID System.
The three file systems are on one physically installed drive.
I believe the boot CD has the SCSI driver on it already.
I'll get more information regarding the boot CD and post that shortly.
It appears to me as if the emgboot.dd is the emergency boot floppy image and the emgroot.dd is the emgergency boot floppy image for the root directory.
Does anyone know how I can get all of this restored to my new hdd?
If the CD was made from the system, then you don't need to specify the boot string. Just press enter.
Then when you get the shell prompt run fdisk, divvy and restore the files using a program appropriate for the .bak files, (probably cpio or restore).
fdisk is straighforward.
divvy should be run in installation mode, this way swap will be created automatically, as well as /stand.
After creating the file systems, mount them relative to the CD before doing the restore.
There should be a /mnt directory that is empty. If not make one.
Then: #cd / #mount /dev/stand /mnt #cd mnt #restore stand.bak #cd / #umount /dev/stand #mount /dev/root /mnt #cd mnt #restore root.bak #cd / #umount /dev/root
Well, I tried to mount the stand and root systems.
I get two different errors when I do...
When I type: mount /dev/stand /mnt
I get the error " no such file or directory "
The /mnt directory is there... and nothing is mounted.
If I do an ls in the /dev directory, there is no stand in there.
If I try mount /dev/root /mnt I get the error... cannot stat '/dev/root'
Here's the steps I took..
I ran fdisk and used UNIX for the entire drive.
I activated the partition.
I then ran divvy and created the filesystems .
If I look at the filesystems configured I get the following:
+-------------------+------------+--------+---+-------------+------------+
| Name | Type | New FS | # | First Block | Last Block |
+-------------------+------------+--------+---+-------------+------------+
| boot | EAFS | no | 0 | 0| 29999|
| swap | NON FS | no | 1 | 30000| 1602219|
| root | HTFS | no | 2 | 1602220| 5602221|
| u | HTFS | no | 3 | 5602222| 71665954|
| | NOT USED | no | 4 | -| -|
| | NOT USED | no | 5 | -| -|
| recover | NON FS | no | 6 | 71665955| 71665964|
| hd0a | WHOLE DISK | no | 7 | 0| 711673965|
+-------------------+------------+--------+---+-------------+------------+
71665965 1K blocks for divisions, 8032 1K blocks reserved for the system
As expected, df -v shows no mounted filesystems...
Okay fellas, it's been about 2 years now and for the life of me I can't recall how I restored the files...
I've got another computer that has a toasted hard drive and now I've got to rebuild it. I've got this same system, with the same bootable CD.
I created the filesystems and are now trying to mount them so that I can restore the rootsys.bak and standsys.bak files.
I've got the /mnt directory and I've mounted the hard the root to it using the command:
mount /dev/hd0root /mnt
I tried cpio and that didn't work. I don't have a restore file on the CD so I don't recall if I used restore to put the files on there.
Any ideas on what to do next?
There's data on some tapes that I need to restore for the client to get his 1st Quarter '09 reports out.