Thanks for quick and correct answer from some many people. Most people give me
following answers:
1. Try "boot -r" --- it did not fix problem
2. Sparc 5 and 20 are different architecture and can not do it. -- both acturally
are same structure (sun4m)
3. The device tree are different and need extra work. -- it work, see
attachment.
my original post:
>
> I have two SUN Sparc computers, I tried to move file system from one
> computer to another computer. The procedure are following:
>
>
> ----------- -------------------
> | | | |
> | SPARC | | Sparc 5 |
> | 20 | | |
> | | =========> | |
> | Solrais | | |
> | 2.3 | | |
> ----------- -------------------
>
> 1. Ufsdump /, /usr 1. Boot from Solarsi 2.3 CD (boot cdrom -sw)
> /var, /opt to
> tape 2. Partition bootable HD same size like
> SPARC 20
> 3. mount /dev/dsk/c0t3d0s0 /a
> 4. cd /a
> 5. ufsrestore rvf TAPE
> 6. repeat same procedure for /usr, /var, /opt
> 7. check /a/etc/vfstab, make sure it correct
> 8. umount /a and subdirectories
> 9. Install boot block
> cd /usr/lib/fs/ufs
> installboot bootblk /dev/rdsk/c0t3d0s0
>
>
>
>
> After Reboot the Sparc 5, I got infinite loop automatic reboot. The
> message are:
>
>
> Boot device: ......
> SUN OS Release 5.3 version Generic 103181-31 ...
> Hostname: XXXX
> mount: /dev/dsk/c0t3d0s6 no such device
> /sbin/swapadd: expr: not found
> /sbin/swapadd: /usr/sbin/swap not found
> the / file system (/dev/rdsk/c0t3d0s0) is being checked
> /sbin/rcS: /usr/sbin/fsck: not found
> ***** System will REBOOT AUTOMATICALLY *******
> syncing file systems .... done
> rebooting
>
>
> I don't know why system can not mount /dev/dsk/c0t3d0s6 (/usr). If I
> reboot to Solaris 2.3 CD (boot cdrom -sw), I can mount without problem
> (mount /dev/dsk/c0t3d0s6 /a/usr).
>
>
> Can anyone give me a hint?
>
>
> Thank you.
>
-----
Message-ID: <DFA56F55726AD111839A0000F820FB780B44C2@ram-exch-nl5.ramstein.af.mil>
From: Gary.White@ramstein.af.mil
To: darren.greene@ramstein.af.mil, Ivan.Smith@ramstein.af.mil,
Edward.Lisowski@ramstein.af.mil
Subject: FW: Changing from Sparc5 to Sparc20 or vice versa
Date: Tue, 2 Dec 1997 17:09:51 +0200
X-Mailer: Internet Mail Service (5.5.1960.3)
> Quite often the need to move a disk from a 5 to a 20 or vice
> versa arises. You cannot just plug it in and have it work. There is
> however a procedure for doing this. The problem is the device trees on
> these two system are different even though the architectures are the same.
> When the system is built if copies the devices for the system which is
> connected to it from the cd onto the disk therefore setting itself up for
> that type of system. A person needs to connect the disk to the new system
> and boot from the cdrom of the same OS and version which is on the disk.
> The system will put the devices for the system in /tmp and boot from the
> cdrom using them. Now you need to mount up the root partition and copy
> the devices from /tmp to the drive. After this is done halt the system
> and reboot is using the -r option to reconfigure the devices. Below is
> the step by step procedure for doing this.
>
>
>
> put Sol 2.x cd in cdrom drive
>
> boot cdrom -s
> mount /dev/dsk/c0t?d0s0 /a <<<<<< Target will depend on
> your boot drive
> cd /tmp/dev
> tar cvfp - . | (cd /a/dev; tar xvfp - )
> cd /tmp/devices
> tar cvfp - . | ( cd /a/devices; tar xvfp - )
> cd /tmp/root/etc
> cp path_to_inst /a/etc/path_to_inst
> halt
> boot -rv
>
> If system will not boot ensure your boot-device variable is
> set correctly for the target of the disk you added.
>
> Hope this help some of you and you all don't already know
> this.
>
>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:40 CDT