Can not run any program after awake on a new hard disk

  • Hello! I met a problem.


    Two hard drives, the only difference is the interface speed and capacity, one is 160GB another is 1TB.


    In a small hard disk can sleep and wake up, wake up on the large hard disk can not run any program, including shutdown, restart, log off.


    Using the same one interface, the same one data line, the same installation media and drivers, the same EFI folder.


    Tried to fully initialize the large hard drive and then reinstall the system, or through the disk tool to restore the system on small disk to the large hard disk. Can not solve the problem.


    My position is wrong when I awake the computer ? How can i solve the problem?


    Thank you very much!


    I'm posting through Google Translate,grammar may be wrong.

  • Hi and welcome to the forum... :)

    Please add details of your hardware either in your signature or in your profile, within the section "About me".


    In regards to your wake issue:
    - check your hibernationmode with the command

    Code
    1. pmset -g


    If it's anything else than "hibenatemode 0" use the following commands:


    Set sleep mode in shell:

    Code
    1. sudo pmset -a hibernatemode 0


    Remove the image:

    Code
    1. sudo rm /var/vm/sleepimage


    Create a blanked file:

    Code
    1. sudo touch /var/vm/sleepimage


    Make file immutable:

    Code
    1. sudo chflags uchg /var/vm/sleepimage

    Gruß
    Al6042

    Keine Unterstützung per PN oder Pinnwand... Eure Anfragen gehören ins Forum, nicht in mein Postfach!

  • OK,I have updated the hardware information, and I will try the solution you gave. Thanks ! @al6042



    -------------------------------------


    update:


    I have tried your solution, the result is "hibernatemode 0". The result of the translation may be different from the meaning of my mother tongue,or, I don't know how to describe the problem.You can understand that I changed a new hard disk, restore the system to the new hard disk, wake up the system can not do anything.


    /dev/disk0 (internal, physical):
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *1.0 TB disk0
    1: EFI EFI 209.7 MB disk0s1
    2: Apple_HFS Mac OS X 199.7 GB disk0s2
    3: Apple_Boot Recovery HD 650.0 MB disk0s3
    4: Apple_HFS Backup 100.1 GB disk0s4
    5: Apple_HFS windata 699.3 GB disk0s5


    /dev/disk1 (external, physical):
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *160.0 GB disk1
    1: EFI EFI 209.7 MB disk1s1
    2: Apple_HFS Mac OS X 30.0 GB disk1s2
    3: Apple_Boot Recovery HD 650.0 MB disk1s3
    4: Apple_HFS 111 129.0 GB disk1s4

  • griven

    Hat das Label Erledigt hinzugefügt