+ Responder ao Tópico



  1. #1

    Talking kernel - solaris

    Ola pessoal,

    to tentando abrir uma imagem pronta do Solaris 10 para vmware...
    porem quando inicia to recebendo o erro:


    panic: cannot open kernel/amd64/unix
    Press any key to reboot


    Interessante que consegui abrir a mesma imagem numa outra maquina.. na empresa...

    Alguem tem alguma ideia?


    Obrigada

  2. #2

    Padrão

    o micro que você está usando para abrir esta imagem tem processador de 64 bits?

  3. #3

    Thumbs up

    Pessoal...

    depois de muito procurar...
    acho q encontrei uma forma de contornar o problema...

    caso interesse pra alguem... segue solucao abaixo...

    --------------------------
    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.


    Restou uma duvida..... toda vez eu terei q editar manualmente o GRUB???

    Thanks!!

  4. #4

    Padrão

    Creio que tem um arquivo chamado grub.lst, algo parecido no /etc.

    Nao tenho certeza...

  5. #5

    Padrão

    configurações do grub é em /boot/grub/menu.lst

  6. #6

    Padrão

    Sim tem que fazer se nao quiser sempre forçar a maquina rodar em 64bits. Fiquei ate preocupado quando vi o topic sobre kernel do solaris xD depois que vi q era opensolaris rsrs to mais acostumado com a arquitetura sparc.

    Fica ligado no lance de 32 bits e 64 bits, sempre mantem redondo as versões. Faça tudo que esta na solução ou então atualiza para o Update 3 que nao precisa mecher no grub.