Mok.c issue causes slow down during boot (2 minutes) on SF113-31-C5AY. How can I fix it?

Options
Maccer
Maccer Member Posts: 4 New User
edited June 23 in Swift and Spin Series

Whenever I reboot or turn on my computer it takes about 2 minutes to start.

In the screen I see a lot of text referring to mok.c (I understand is the code of a c++ script) and it seems to be checking something about secure boot or some EFI files.

My laptop is SF113-31-C5AY

How can I fix this?

[Edited the thread to add model name to the title]

Answers

  • Maccer
    Maccer Member Posts: 4 New User
    Screenshot_20250623-125711.png

    Please find attached a picture of the text I see during boot for context.

  • billsey
    billsey ACE Posts: 36,285 Trailblazer

    What OS are you running? That looks like some of the security messages that can be generated by some Linux installs.

    Click on "Like" if you find my answer useful or click on "Yes" if it answers your question.
  • Axxo
    Axxo Member, Ally Posts: 2,060

    The "Mok.c" issue causing a two-minute boot slowdown on the Acer SF113-31-C5AY is likely related to the system's Secure Boot configuration and potentially a misconfiguration or error within the Mok (Machine Owner Key) management system. To resolve this, you can try disabling Secure Boot in the BIOS settings, or if that's not desired, you may need to update the BIOS or re-enroll the Machine Owner Key.
    Here's a more detailed breakdown:-

    Understanding the Issue:
    Secure Boot:
    This is a security feature in the BIOS that verifies the digital signature of the operating system and other boot components before allowing them to load. This helps prevent malware from hijacking the boot process.
    Mok (Machine Owner Key):
    This is a key used to manage and verify certificates used for Secure Boot. A problem with the Mok or its enrollment can cause delays during the boot process as the system attempts to validate the keys.
    SF113-31-C5AY:
    This specific model of Acer laptop is known to have had some issues with Secure Boot and Mok management, which can lead to boot slowdowns.

    Troubleshooting Steps:
    1. Access BIOS:
    Restart your laptop and repeatedly press the F2 key (or possibly the Delete key, or another function key depending on your specific model) as soon as the Acer logo appears. This should take you to the BIOS settings.
    2. Disable Secure Boot (Temporary):
    In the BIOS, navigate to the Security or Boot section.
    Locate the Secure Boot option and change it to Disabled.
    Save the changes and exit the BIOS. The laptop should now boot faster.
    Note: Disabling Secure Boot weakens your system's security. It's recommended to re-enable it after troubleshooting.
    3. Re-enroll the Mok:
    If disabling Secure Boot fixes the problem, it suggests an issue with the Mok enrollment. You may need to re-enroll the key. This process involves booting from a USB drive with a special tool, navigating to the Mok management section in the BIOS, and following the on-screen instructions to re-enroll the key.

    4. Update BIOS:
    Check the Acer support website for your specific model for a BIOS update. BIOS updates can sometimes include fixes for Secure Boot and Mok-related issues.
    Follow the instructions provided by Acer for flashing the BIOS.
    5. Check for Malware:
    Run a full scan with your antivirus software to rule out malware as a potential cause of the slow boot.
    Important Notes:
    Backup Data: Before making significant changes to your BIOS or performing a BIOS update, it's crucial to back up your important data.
    Consult Acer Support: If you're uncomfortable with any of these steps, consult with Acer support or a qualified technician for assistance.

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

    If this answers your question and solved your query please "Click on Yes" or "Click on Like" if you find my answer useful.