一共是两个问题
1 是备份硬盘后引导硬盘启动
# fdisk -b /usr/lib/fs/ufs/mboot -n /dev/rdsk/c0d0p0
# fdisk /dev/rdsk/c0d0p0
Total disk size is 38772 cylinders
Cylinder size is 2016 (512 byte) blocks
Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Active X86boot
2 Solaris
3 BIGDOS
SELECT ONE OF THE FOLLOWING:
1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Exit (update disk configuration and exit)
5. Cancel (exit without updating disk configuration)
Enter Selection: 5
退出fdisk然后执行:
#cd /usr/platform/i86pc/lib/fs/ufs
#installboot pboot bootblk /dev/rdsk/c0d0p0
#reboot
重起后solaris终于出现了solaris 的boot manager
出现引导界面:
active x86 boot 1 10m
solaris 2
我选择1,
提示:
boot the default active partition
CANNOT FIND BOOT.BIN
还是不能引导成功
选2,自动退回到引导界面