Emergency boot floppy - second hard disk not seen

OS = Openserver 5.0.5

Ran 'mkdev fd' and made emergency boot floppy (boot and root). Choose custom kernel, not generic.

However kernel on the 1.44 floppy did not see both hard disks, it only saw the first one (SCSI id 0), and not SCSI id 1 (second disk)

Q. Is this a limitation of emergency boot floppy or can something be done so both hard disks are seen when booting from floppy.

When you say that it doesn't "see" the second hard disk, what do you mean?

It's been a long time since I used SCO in anger but from what I remember the boot&root floppy set just lands you in a shell where you can start disaster recovery from. With SCO you can boot the O/S once the root filesystem is recovered (and you don't need other filesystems to be there initially; you can recover them afterwards). So you only need access to the first HD.

However, I do remember:

mount /dev/hd0root /mnt

and then manually creating directories under /mnt and mounting other HD based filesystems in order to do a full system restore from tape.

(Have you looked for a /dev/hd1root on the boot&root set???)

1 Like

ok, I see what your saying, I'll give it a shot

thanks

Okay, give it a try.

I remember that for a disaster recovery kit I would periodically backup (find|cpio) just the root filesystem (in maintenance mode) and then store that tape with the boot&root set in the safe. If the root filesystem became damaged and the system unable to boot then I would use the boot&root and then:

 
mount /dev/hd0root /mnt
cd /mnt
cpio -ivudlm -I /dev/rct0

to restore the root filesystem. (perhaps also need to re-write the MBR)

Once system was booted I could sort the other filesystems.

Only then, with non-root filesystems mounted, would I use last nights backup tape to restore the whole system (which would include the very latest root filesystem (which would overwrite).

Hope that helps.

Hope that helps.

I basically tried to do this, but I think I should have booted off the floppy and then run cpio to backup root, stand, and u. I tried to backup to /dev/d1250 (second hard drive) in lieu of using a tape.

Do you have a cli sample for cpio doing the restore? Does it restore to a mount filesystem or the /dev/devicename?

The /dev/stand filesystem is mounted on /stand on the root filesystem.
Therefore if you boot into single user mode and then backup, you would automatically take /stand in addition to the root (/) filesystem.

Assuming a tape drive on /dev/rct0 (the default config):

find . -depth -print|cpio -ov -O /dev/rct0

You might also want to use -C and -K switches for block size and media capacity.

To restore in a DR situation..........

Boot from boot&root set (to # prompt) then

mount /dev/hd0root /mnt
cd /mnt
cpio -ivudlm -I /dev/rct0that being the current directory.

Yes, the backup is restored to /mnt

Having mounted /dev/d1250 on a directory you could specify a file, eg

 
mkdir /backup
mount /dev/d1250 /backup
 

You could then specify a file as the backup destination remembering to use the exclude switch to ensure the cpio does not try to backup the output file itself.