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

Ubuntu 22.04冻结后无法启动且USB引导无法访问数据的问题咨询

Ubuntu 22.04冻结后无法启动且USB引导无法访问数据的问题咨询

Hi there, sorry to hear you're stuck with this frustrating boot issue and can't access your data—let's break this down step by step to get you sorted, starting with the most urgent part: retrieving your files.

First: Accessing Your Data to Backup

Since you're already booting from a USB, here are reliable ways to mount your system drive and grab your important files:

  • Use the Disks Utility (GUI)
    1. Open the "Disks" app from the Live USB's application menu.
    2. Locate your internal Ubuntu partition (it’ll likely be labeled with your username or show an ext4 filesystem type).
    3. Click the play button (mount) icon. If it mounts successfully, navigate to it via the file manager and copy your files to an external drive.
    4. If mounting fails with a filesystem error, use the "Check Filesystem" option (gear icon) to run a repair—this often fixes minor corruption caused by the freeze.
  • Use Terminal Commands (if GUI fails)
    1. Open a terminal and run lsblk to list all drives/partitions. Identify your Ubuntu partition (look for ext4 in the TYPE column, usually something like /dev/sda2).
    2. Create a mount point: sudo mkdir /mnt/ubuntu_drive
    3. Mount the partition: sudo mount /dev/sdXn /mnt/ubuntu_drive (replace /dev/sdXn with your actual partition path, e.g., /dev/sda2)
    4. If your drive is encrypted, unlock it first: run sudo cryptsetup luksOpen /dev/sdXn encrypted_drive, enter your encryption password, then mount the unlocked partition with sudo mount /dev/mapper/encrypted_drive /mnt/ubuntu_drive
    5. Once mounted, go to /mnt/ubuntu_drive/home/your_username to access personal files and copy them to external storage.

Troubleshooting the Boot & SGX Issue

Now let’s dig into why the boot (and SGX toggle) isn’t working:

  • Check Secure Boot & BIOS Settings
    SGX might not be the root problem here. First, verify if Secure Boot is disabled in your BIOS—many Ubuntu boot issues come from Secure Block interfering with kernel modules. Also, double-check that SGX is set to Enabled (not Software Controlled or Disabled) and save BIOS changes before rebooting.
  • Inspect Boot Logs
    When booting from the USB (or trying to boot your installed system), press Esc during startup to show detailed boot logs. Note the last few error messages—common culprits include filesystem corruption, kernel panics, or faulty hardware drivers. For example, disk I/O errors point to potential hard drive issues.
  • Run Hardware Diagnostics
    Use the Live USB’s Disks utility to check your drive’s SMART status (gear icon > SMART Data & Self-Tests). This will tell you if your hard drive has bad sectors or is failing—hardware issues can cause freezes and boot failures that SGX settings won’t fix.
  • Try Boot Repair Tool
    From the Live USB, install and run the Boot Repair tool:
    1. Open terminal and run:
      sudo add-apt-repository ppa:yannubuntu/boot-repair
      sudo apt update
      sudo apt install boot-repair
      boot-repair
      
    2. Follow the on-screen prompts for the recommended repair—it fixes common bootloader issues that might be causing the freeze.
  • SGX Specific Checks
    If you still suspect SGX is involved, some motherboards require a BIOS update to properly support SGX. Check your manufacturer’s website for the latest BIOS version (note: this is advanced, so make sure you have backups first).

Once you’ve backed up your data, you can either try the repair steps above to fix the installed system, or proceed with a clean reinstall if issues persist.

备注:内容来源于stack exchange,提问作者laketax

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.04.23 07:29:32