I just restored my root partation and now I cannot boot.
What is wrong?
What is wrong?
You probably need to run installboot. Under Solaris 1, boot
from cdrom, boot the miniroot, mount the root filesystem on
/mnt, and reinstall the boot block:
cd /usr/kvm/mdec # note - miniroot's usr, not sd0's
installboot -vlt /mnt/boot bootsd /dev/rsd0a
For Solaris 2, the equivalent command, which may also live
outside the miniroot, would be:
/usr/sbin/installboot /usr/lib/fs/ufs/bootblk \
/dev/rdsk/c0t0d0s0
Under Solaris 1, if only your /vmunix is bad, you may not need
to restore anything from tape. Before running installboot:
cp /mnt/usr/kvm/sys///vmunix /mnt/vmunix
Go to the index
previous
next