SUMMARY:Reboot from Backup Disk

From: Lau, Victoria H (vlau@msmail2.hac.com)
Date: Thu Mar 20 1997 - 15:10:16 CST


Thank you, once again, for everyone's help, especially:

- James Wendling
- Tim Evans
- Tim Carlson

======================================================================
Original question:
=================
I have duplicated a Solaris 2.5.1 system disk, using ufsdump command
on each file system from /dev/dsk/c0t0d0 (Ultra 2) to /dev/dsk/c0t1d0.
I wrote a boot block to /dev/rdsk/c0t1d0s0, then changed /etc/vfstab
on disk 1 to reflect the disk change (and I had double-checked that the
mount points all pointing to disk1).

When I rebooted the system with:
  ok boot disk1

The system cannot mount /usr. What changes should I do to
/etc/path_to_inst to make this work? Here is the output of
the boot:
....
Configuring network insterfaces: hme0
Hostname: sol251m
mount: mount-poing /usr does not exist.
/sbin/swapadd: expr: not found
/sbin/swapadd: /usr/sbin/swap: not found

WARNING - /usr/sbin/fsck not found. Most likely the mount of
/usr failed or the /usr file system is badly damaged.

======================================================================
James was right in telling me about the missing /usr mount:

  The error says that the /usr mount point does not exist - did you
  check to see if the directory /usr is really in /? I have had this
  happen when I copied a filesystem that had mounted directories that
  I didn't want to traverse during the copy and I had to manually
  create those directories.

I must have used the wrong cpio command to back up the root file system
(like using -xdev or something). I re-duplicated the root partition:

  ufsdump 0f - /dev/rdsk/c0t1d0s0 | (cd /new_root && ufsrestore rf -)

As suggested by both Tims, I wrote a boot block to it, changed /etc/vfstab,
and rebooted the system with "boot -r disk1."

Thank you, for your time and precious info.

Sincerely,
Vicky Lau
vlau@msmail2.hac.com



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