- 論壇徽章:
- 0
|
請教大蝦:我在vmware下安裝了solaris x86 Update6用來做鏡像盤啟動實(shí)驗(yàn),按照下述的步驟操作后不能從鏡像盤啟動,想請教下該如何解決這個(gè)問題。我做的操作如下:
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.系統(tǒng)盤用的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文件,讓系統(tǒng)從鏡像盤啟動
#---------- 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.重新啟動系統(tǒng),發(fā)現(xiàn)進(jìn)不了系統(tǒng)。
請各位指教。。! |
|