- 论坛徽章:
- 0
|
请教大虾:我在vmware下安装了solaris x86 Update6用来做镜像盘启动实验,按照下述的步骤操作后不能从镜像盘启动,想请教下该如何解决这个问题。我做的操作如下:
1.bash-3.00# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0d0 <DEFAULT cyl 1302 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
1. c0d1 <DEFAULT cyl 1302 alt 2 hd 255 sec 63>
/pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0
Specify disk (enter its number): ^D
2.系统盘用的c0d0,安装完毕后
3.bash-3.00# prtvtoc /dev/rdsk/c0d0s0 | fmthard -s - /dev/rdsk/c0d1s2
4.bash-3.00# fdisk -b /usr/lib/fs/ufs/mboot /dev/rdsk/c0d1p0
Total disk size is 1305 cylinders
Cylinder size is 16065 (512 byte) blocks
Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Active Solaris2 1 1304 1304 100
SELECT ONE OF THE FOLLOWING:
1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Change between Solaris and Solaris2 Partition IDs
5. Exit (update disk configuration and exit)
6. Cancel (exit without updating disk configuration)
Enter Selection: 5
5.bash-3.00# /sbin/installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0d1s
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 265 sectors starting at 50 (abs 16115)
6.为两块盘做好镜像并同步完后,编辑menu.lst文件,让系统从镜像盘启动
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Solaris 10 10/08 s10x_u6wos_07b X86
findroot (rootfs1,0,a)
kernel /platform/i86pc/multiboot
module /platform/i86pc/boot_archive
#---------------------END BOOTADM--------------------
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Solaris failsafe
findroot (rootfs1,0,a)
kernel /boot/multiboot kernel/unix -s
module /boot/x86.miniroot-safe
#---------------------END BOOTADM--------------------
7.重新启动系统,发现进不了系统。
请各位指教!!!! |
|