SUMMARY: how to make a copy/second bootdisk

From: Jan Plu (jan.plu@dolmen.be)
Date: Tue Jun 10 1997 - 01:29:03 CDT


SUMMARY

>> How to make a copy/second bootdisk on a SunOS 4.1.3_U1 ? <<

Solutions provided by uhostmaster@hcmc.geoquest.slb.com (Sundaram.r)
                                jwbarth@sandia.gov
                                bern@penthesilea.Uni-Trier.DE
An alternative was given by robbo@box.net.au. (see bottom)
Thanks to all of them.

1) Connect both disks to the system. Reboot (single user).

2) Format, label and create new filesystem on the new disk
    according to the original boot disk.
                   /usr/etc/newfs /dev/rsdxa

3) Copy over the data to the new disk. This must be done
    for all the partitions and verify.
                   /usr/etc/mount /dev/rsdxa /mnt
                   cd /mnt
                   /usr/etc/dump 0f - /dev/sd0y | /usr/etc/restore rf -
                   /bin/rm /mnt/restoresymtable
                   cd /
                   /usr/etc/umount /mnt
                   /usr/etc/fsck /dev/rsdxy

4) Run installboot on the new disk.
                   installboot -vlt /mnt/boot bootsd /dev/rsdxa

An alternative was given by robbo@box.net.au.
                   dd if=/dev/rsd0a of=/dev/rsdxa
                   change SCSI id of new disk to that of the original
                         and replace the disks.

Jan Plu, System Engineer
EMAIL: jan.plu@dolmen.be
Dolmen Computer Applications (http://www.dolmen.be)
Edingensesteenweg 196, B-1500 Halle - Belgium
Tel.: +32 2 360 10 40 Fax.: +32 2 360 02 07



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:56 CDT