Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System Restore Problem

Status
Not open for further replies.

jeffycli

IS-IT--Management
Nov 28, 2001
10
0
0
HK
HI,

I've a problem when restoring Solaris 2.6 to Sun E250.

I've backup the system with ufsdump to a tape, which inlcudes:
/
/usr
/var
/export/home

Then I follow the procedures as suggested by Sun's document to restore:
1) boot cdrom -s
2). newfs /dev/rdsk/c0t0d0s0
3). mount /dev/dsk/c0t0d0s0 /a
4). cd /a
5). ufsrestore rf /dev/rmt/0n
6). rm restoresymtable
7). cd /ust/platform/sun4u/lib/fs/ufs
8). installboot bootblk /dev/rdsk/c0t0d0s0
9). cd /
10).umount /a
11). fsck /dev/rdsk/c0t0d0s0
12). init 6

It is smooth with each of the steps, however, when it start to boot up, a error message "no a valid ELM file" appears, and I can't do any furhter.

Any experts can help.

Thanks in advance.

 
try to do :

> ufsrestore if /dev/rmt/0n
then u`ll get the ufsrestore promt:
ufsrestore> what (this way you can check if the current partition is the one u want)
ufsrestore> add (rebuilding the backed-up structure back on the disk)
ufsrestore> extract
ufsrestore> vol num? 1

**than do the installboot bootblk /dev/rdsk/c0t0d0s0.
now the system should boot just fine.

***if u want to restore more tham one partition you just do:
>ufsrestore ifs /dev/rmt/0n #
(the # refers to the order you backed-up the partition on the ufsdump.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top