For various silly reasons, I was asked to ufsrestore
a root filesystem backup from an E3500 to an E3000.
Yes, yes, I know...but I left /etc/vfstab intact.
The OS version on these particular servers is 2.5.1.
So I booted from a CD, mounted the rootslice and read
the image in from tape.
Rebooting with command: boot -r
boot: cannot open kernel/unix
Enter filename [kernel/unix]:
Now, it dawned on me that the reconfiguration boot only builds /dev and
/devices as loopback mounts on miniroots' /tmp, so I did the following:
boot cdrom -s
mount /dev/dsk/c0t10d0s0 /mnt
rm -rf dev/
rm -rf devices/
drvconfig -r /mnt
disks -r /mnt
tapes -r /mnt
devlinks -r /mnt
installboot /mnt/usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t10d0s0
fsck /dev/rdsk/c0t10d0s0 [fixed superblock]
...same thing. I don't rightly know how to proceed at this point.
Am I perchance being spectacularly dense here?
Noel R. Nihill
UNIX? platform development