- 论坛徽章:
- 0
|
************************
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 |
|