SUMMARY Restoring Boot Disk after hard drive crash

From: Kamalan Govender <>
Date: Sat Apr 06 2002 - 04:26:03 EST
Many thanks to the following for all the help and advice given.

The sequence that brought up the machine is as follows.
1	"stop + a"
2 	Boot with cdrom and command "boot cdrom -sw"
3	type "format"
4	select damaged disk
5	print partition table
6	power-off and remove damaged disk and replace with new disk
7	boot with cdrom and command "boot cdrom -sw"
8	type "format"
9	recreate old partitions from old drive
10	name, label and save
11	type newfs /dev/rdsk/c0t0d0s0
12	mount /dev/dsk/c0t0d0s0 /a   (note the change from rdsk to dsk,
	took a while to figure out)
13	cd /a
14	ufsresote -I /dev/rmt/0n 
15	add * (change as per you requirement and also what you backed up
	your tape)
16	extract
17	more /a/etc/vfstab (verfity that is what your system should look
18	init 6

This successfully brought up our machine (as you can see as I am using
my e-mail address to send the summary)

Once again thanks to everyone.
Kamalan Govender
Computer & Network Services
University of the Witwatersrand
Tel:         +27 11 717 1671
Fax:         +27 11 339 1225

-----Original Message-----
 Subject: Restoring Boot Disk after hard drive crash

Hi all. We have a SPARC server 1000 with Solaris 7. The hard drive from
which the OS boots crashed and has since been replaced. We has created
the needed partitions for the drive and want to restore from tape the
data that was there. On the drive were the files for /root and /usr and
swap. We are able to bring the machine up from cdrom with the command
"boot cdrom -sw". When we try to make the directory /root from / it
the error "mkdir: Failed to make directory "/root"; Read-only file
system". We are able to see the drive using the format command. Once we
make the /root directory we were going to try to add the files from tape
in to the directory. using ufsrestore -i /dev/rmt/0 to read the files
them to the directory.  Any help or suggestions will we greatly
appreciated. thanks in advance

sunmanagers mailing list
Received on Sat Apr 6 03:19:21 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:39 EST