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)
- Open the "Disks" app from the Live USB's application menu.
- Locate your internal Ubuntu partition (it’ll likely be labeled with your username or show an
ext4filesystem type). - 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.
- 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)
- Open a terminal and run
lsblkto list all drives/partitions. Identify your Ubuntu partition (look forext4in theTYPEcolumn, usually something like/dev/sda2). - Create a mount point:
sudo mkdir /mnt/ubuntu_drive - Mount the partition:
sudo mount /dev/sdXn /mnt/ubuntu_drive(replace/dev/sdXnwith your actual partition path, e.g.,/dev/sda2) - 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 withsudo mount /dev/mapper/encrypted_drive /mnt/ubuntu_drive - Once mounted, go to
/mnt/ubuntu_drive/home/your_usernameto access personal files and copy them to external storage.
- Open a terminal and run
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 toEnabled(notSoftware ControlledorDisabled) and save BIOS changes before rebooting. - Inspect Boot Logs
When booting from the USB (or trying to boot your installed system), pressEscduring 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 errorspoint 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:- Open terminal and run:
sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt update sudo apt install boot-repair boot-repair - Follow the on-screen prompts for the recommended repair—it fixes common bootloader issues that might be causing the freeze.
- Open terminal and run:
- 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
相关产品推荐
相关产品推荐

