Ubuntu 16.04无法启动求助:联想Legion Y520加载BIOS默认值后故障
解决Ubuntu 16.04加载BIOS默认值后无法启动的问题
Hey there, let's work through this boot issue together—your important files are safe as long as we take the right steps, so don't stress too much!
第一步:先排查BIOS设置问题
Since you loaded BIOS defaults, some settings that Ubuntu relies on might have been reset. Let's fix those first:
- Reboot your Legion Y520 and press F2 (that's the usual key for Lenovo BIOS) to enter the setup screen.
- Look for Secure Boot—Ubuntu 16.04 often has trouble with this enabled, so switch it to Disabled.
- Check the SATA Mode option: Lenovo laptops often default to RAID, but Ubuntu needs AHCI to recognize the hard drive properly. Switch this to AHCI.
- Double-check the boot order to make sure your main hard drive is listed as the first boot device.
第二步:先备份你的重要文件(Critical Step!)
Before we try any repairs, let's make sure your files are safe. Here's how:
- Grab an empty USB drive (at least 4GB) and create an Ubuntu 16.04 Live USB on another computer (using the same Ubuntu version as your installed system works best).
- Plug the USB into your Legion, reboot, and press F12 to bring up the boot menu. Select the USB drive to boot from.
- Choose "Try Ubuntu without installing" when prompted—this lets you access your system without making changes to it.
- Open the file manager, find your installed Ubuntu partition (it'll be labeled as an ext4 filesystem), navigate to
/home/[your-username], and copy all your important files to the USB or an external hard drive.
第三步:修复GRUB引导
If your files are backed up, let's fix the bootloader:
- In the Live Ubuntu system, open a terminal (press Ctrl+Alt+T).
- Identify your Ubuntu partition by running:
Look for the entry labeled "Linux filesystem"—it might be something likesudo fdisk -l/dev/sda2. - Mount that partition to the Live system:
(Replacesudo mount /dev/sda2 /mnt/dev/sda2with the partition you found.) - Bind the necessary system directories to access your installed system:
sudo mount --bind /dev /mnt/dev sudo mount --bind /proc /mnt/proc sudo mount --bind /sys /mnt/sys - Switch to your installed system's environment:
sudo chroot /mnt - Update the GRUB configuration:
sudo update-grub - Reinstall GRUB to your hard drive's MBR:
(Note:sudo grub-install /dev/sda/dev/sdais your entire hard drive, not a partition—don't add a number here.) - Exit the chroot environment and reboot:
Remove the USB drive when prompted, and see if Ubuntu boots normally.exit sudo reboot
第四步:修复文件系统错误
If the bootloader fix didn't work, your partition might have filesystem errors from the BIOS change:
- Back in the Live Ubuntu system, run this command to check and repair your Ubuntu partition:
(Again, replacesudo fsck /dev/sda2/dev/sda2with your actual partition.) - When prompted to fix errors, type
yand press Enter. Let the process finish, then reboot and test.
If you hit any specific error messages (like being stuck on a black screen, or seeing GRUB errors), let me know the details and we can troubleshoot further!
内容的提问来源于stack exchange,提问作者Nico
相关产品推荐
相关产品推荐

