You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu安装失败求助:U盘安装时出现soft lockup-CPU#1 stuck报错

Troubleshooting "soft lockup- CPU#1 stuck for 22s" During Ubuntu USB Installation

Hey there, fellow Linux newbie! I’ve dealt with this exact error many times, so let’s walk through the most common fixes step by step—no confusing jargon, just actionable steps you can try right away.

1. First, Verify Your USB Installation Media

This is the most frequent culprit, so start here:

  • Re-download the Ubuntu ISO & check its hash: Corrupted or incomplete downloads happen all the time. Grab the ISO from the official Ubuntu site, then use the provided hash value to confirm it’s intact (most OSes have built-in tools for this—just search "verify ISO hash" for your current system).
  • Use a reliable tool to make the bootable USB: Skip copying files manually. Tools like Rufus (works on Windows/macOS/Linux) or Ubuntu’s own Startup Disk Creator (if you’re on a Linux system already) handle the bootloader setup correctly. Double-check you select the right USB drive (match the size/drive letter to avoid wiping the wrong disk!).

2. Tweak Your BIOS/UEFI Settings

Your motherboard’s firmware might be blocking the installation. Restart your computer and press the key to enter BIOS/UEFI (usually F2, F10, Del, or Esc—look for the prompt on boot). Then try these:

  • Disable Secure Boot: This feature blocks uncertified operating systems. Find the "Secure Boot" option (usually under "Security" or "Boot" tabs) and set it to Disabled.
  • Turn off CPU overclocking/energy-saving features: Options like C-states, SpeedStep, or any manual overclocking can cause conflicts during installation. Disable these temporarily, install Ubuntu, then re-enable them later if needed.
  • Switch boot modes: If you’re using UEFI mode, try switching to Legacy BIOS (or vice versa). When making your USB drive, match the partition scheme: GPT for UEFI, MBR for Legacy.

3. Adjust Kernel Boot Parameters

Sometimes the default kernel settings clash with your hardware. Here’s how to tweak them:

  1. When your USB boots to the GRUB menu (the screen with "Install Ubuntu" and "Try Ubuntu"), highlight "Install Ubuntu" and press e to edit the boot command.
  2. Find the line starting with linux—it’ll end with something like quiet splash.
  3. Add one of these parameters at the end of that line (try them one by one):
    • nomodeset: Disables automatic graphics driver loading (fixes issues with incompatible GPUs, especially NVIDIA cards).
    • irqpoll: Changes how the kernel handles hardware interrupts, which can resolve CPU lockups from conflicting devices.
    • nosoftlockup: Temporarily disables the soft lockup detection, letting the installation proceed even if the CPU hits a temporary stall.
  4. Press F10 to start the installation with the modified settings.

4. Check for Hardware Issues

If none of the above works, it might be a hardware problem:

  • Test your RAM: Use the "Check disk for defects" option in the Ubuntu USB boot menu, or run your motherboard’s built-in memory diagnostic tool (found in BIOS/UEFI). Bad RAM can cause random lockups.
  • Disconnect unnecessary peripherals: Unplug extra USB devices (printers, external drives, gaming controllers) except your keyboard and mouse. Sometimes conflicting devices trigger CPU lockups.

Start with the first two steps—they fix 90% of cases. If you’re still stuck, try the kernel parameters next. You’ve got this!

内容的提问来源于stack exchange,提问作者Nicholas

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 10:33:03