免费注册 查看新帖 |

Chinaunix

广告
  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1268 | 回复: 0
打印 上一主题 下一主题

Solaris10 Virtual Machine Can't Find 64-Bit Kerner [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-10 13:50 |只看该作者 |倒序浏览
************************
Details
************************
On virtual machines installed with Solaris 10 update 1 and 2, cold migrating from a 32-bit host to a 64-bit host can result in the following message at power on:
Panic: cannot open kernel/amd64/unix
************************
Solution
************************
To work around this issue:
Force the virtual machine to boot in 32-bit mode. For instructions, see "x86: How to Modify the Solaris Boot Behavior by Editing the GRUB Menu"
Run the following command to force the boot ramdisk to be rebuilt to include 64-bit modules:
bootadm update-archive -f
Note: This issue is fixed in Solaris 10 update 3.
****************************************************************************************
x86: How to Modify the Solaris Boot Behavior by Editing the GRUB Menu
****************************************************************************************
This procedure shows how to modify the Solaris boot behavior in the GRUB menu. Changes that you make persist until the next time the system is booted.
1.If the system displays the Press any key to reboot prompt, press any key to reboot the system.
You can also use the Reset button at this prompt. If the system is shut down, turn the system on with the power switch.
When the boot sequence begins, the GRUB main menu is displayed.
2.To access the GRUB edit menu, type e.
3.Use the arrow keys to select the second line in the menu.
GNU GRUB  version 0.95  (631K lower / 2095488K upper memory)
+-------------------------------------------------------------------------+
| root (hd0,2,a)                                                          |
| kernel /platform/i86pc/multiboot                                        |
| module /platform/i86pc/boot_archive                                     |
|                                                                         |
|                                                                         |
|                                                                         |
+-------------------------------------------------------------------------+
The second line in the GRUB menu includes the kernel command, which is used to specify Solaris boot options.
4.Type e again to edit the kernel /platform/i86pc/multiboot line.
5.Type the appropriate information for the boot parameter that you want to specify.
+-------------------------------------------------------------------------+
|kernel /platform/i86pc/multiboot/ [kernel-name] [-afsrvxk]               |
|-m [smf-options] [-i atinit] [-B prop=value[,prop=value]...]             |
+-------------------------------------------------------------------------+
For example, to boot a 64-bit capable x86 based system in 32-bit mode, you would type:
+-------------------------------------------------------------------------+
|grub edit> kernel /platform/i86pc/multiboot kernel/unix                  |
+-------------------------------------------------------------------------+
See x86: Using the kernel Command for a description of all the kernel command options.
6.Return to the GRUB main menu, by pressing Enter.
___________________________________________________________________________________________________
Note –
Pressing Enter saves your changes and returns you to the GRUB main menu. Pressing the Escape key returns you to the GRUB main menu without saving your changes.
___________________________________________________________________________________________________
7.To boot the system, type b.
Changes that you made take affect when the system is booted.










本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/5370/showart_274846.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP