AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1277405
Accepted
Egor Ship
Egor Ship
Asked: 2020-09-25 00:17:47 +0800 CST2020-09-25 00:17:47 +0800 CST 2020-09-25 00:17:47 +0800 CST

在 Acer 笔记本电脑上安装 Ubuntu 时出现问题

  • 772

我在我的设备上安装 Ubuntu 时遇到问题。我的Acer Aspire 3 A315-23-R4B9笔记本电脑显然在支持 Linux 系统方面存在问题,但我希望可以解决这个问题。从 USB 驱动器启动时,Ubuntu 总是挂在 Splash 启动屏幕上。

注意:我的笔记本电脑上预装了 Windows。我想卸载 Windows 并安装 Ubuntu。

我还检查了 ISO。

检查 ISO

宏碁卡住时的闪屏:

在此处输入图像描述

我禁用了 BIOS 中所有可能的项目,尝试了不同的 ISO 映像,但都无济于事。Ubuntu 安装启动并在 Acer 初始屏幕上冻结。我认为问题在于不在我的硬件的 Ubuntu 内核中的驱动程序。

在此处输入图像描述

BIOS:

在此处输入图像描述 在此处输入图像描述 在此处输入图像描述 在此处输入图像描述 在此处输入图像描述 在此处输入图像描述

开机画面:

我的 Linux 启动

没有飞溅的启动也会卡住:

在此处输入图像描述

Also my BIOS does not support Legacy, the item with the boot mode selection is inactive:

在此处输入图像描述

Ok guys, I have good news (or not). I just decided to boot with the ssd drive of my laptop disabled, namely in the Advanced tab in the BIOS, in the Storage Device Configuration I disabled HDD1 and Live USB Ubuntu booted without problems, I checked all the functions and absolutely all the sound works, adjusting the brightness of the screen keyboard touchpad and etc. no errors, everything is in order with the drivers. It turns out it's only about my SSD, but when it is disabled in the BIOS, I certainly cannot install anything and this is a problem that I did not solve.

在此处输入图像描述

system-installation live-usb acer bios uefi
  • 9 9 个回答
  • 8166 Views

9 个回答

  • Voted
  1. Best Answer
    Adam N
    2020-10-22T23:25:33+08:002020-10-22T23:25:33+08:00

    I bought A315-23 laptop a few days back, and stumbled upon the same problem. Long story short, solution is to set nvme_core.default_ps_max_latency_us=5500 kernel option at boot. Then installation works out-of-box. After installing the same option needs to be added to grub (edit /etc/default/grub followed with update-grub).

    Longer story, how I found solution: As described, we both can initiate a boot but a hang happens along the way. I had little hope the problem being connected to UEFI, still tried to play a little with fast-boot and secure-boot options without success. Given Egor reported system boots correctly after disabling SSD (which was an excellent hint), I tried to follow this path. The laptop has WD 2018/PC SN520 NVMe SSD. I found a suggestion how to fix the problem at https://community.wd.com/t/linux-support-for-wd-black-nvme-2018/225446/7.

    1. In the GRUB boot menu, press e to edit startup parameter. Add nvme_core.default_ps_max_latency_us=5500 after the end of "quiet splash"
      Ctrl-x to boot up, the installer should detect this disk in partition step.
    2. 安装完成后,开机按shift再次进入GRUB,添加相同的内核参数 nvme_core.default_ps_max_latency_us=5500,Ctrl-x开机。
    3. 你会看到 Ubuntu 启动成功,再次编辑/etc/default/grub,添加parameter nvme_core.default_ps_max_latency_us=5500,执行sudo update-grub,这样每次启动都会在 grub 中自动包含这个参数,不需要更多的手动编辑。
    • 5
  2. Steve Crowe
    2020-10-09T03:21:42+08:002020-10-09T03:21:42+08:00

    Acer machines appear to all have boot code which automatically looks for a Windows boot directory. I've found you can fool them into thinking they're running Windows, whereas they're actually running Ubuntu simply by a directory copy & one file rename.

    This is how I did it,

    1. Make Ubuntu installation USB

    2. Boot from installation USB & install Ubuntu (given choices I prefer to scrub the whole of the hard drive and do minimal install). At this point you'll probably find you get boot fails if you try to re-boot from hard drive

    3. Boot once again from your Ubuntu installation USB and run a Live (Try) Ubuntu session

    4. Open a terminal, then go through these steps to copy the Ubuntu boot directory into Microsoft boot directory space

      sudo mount /dev/mmcblk0p1 /mnt
      cd /mnt
      ls
      cd EFI
      ls
      sudo mkdir Microsoft
      cd Microsoft
      sudo mkdir Boot
      cd Boot
      sudo cp -r /mnt/EFI/ubuntu/* .
      sudo mv shimx64.efi bootmgfw.efi
      

    and hey presto! it boots, and the 'Windows Boot Manager' magically puts 'Windows Boot' (which is now actually Ubuntu 20.04) to the top of the list in the F2 boot menu.

    Note: I've got an Acer ES1-132 but suspect most Acer machines are the same

    Warning: You may need to run through steps 3) & 4) again if the boot directory changes in the future, but this can be done without loss of data or any need to re-install Ubuntu. This happened to me once in last 4 years.

    • 3
  3. Carles Mateo
    2020-10-05T03:09:27+08:002020-10-05T03:09:27+08:00

    In some laptops I found problems booting with USB 3, and I had to use USB 2.0. In some others, I had problems booting with all USB sticks but I had not problems booting from a USB DVD player/recorder, so that's the last resource, to toast one DVD with the ISO and boot from an external USB DVD drive.

    Also the last line of your screenshot said that the job have been running for 14 seconds of a max of 3 minutes. Can you provide a screenshot of the final outcome, after having waited at least 5 minutes?.

    Also try to disable in BIOS any power saving features and disconnect any external device (external monitor, other USBs except the one using for booting ofc) before starting.

    • 1
  4. Crighton
    2020-10-06T14:27:29+08:002020-10-06T14:27:29+08:00

    To switch BIOS between UEFI and legacy you may need to set a BIOS password (you do not have to enable BIOS locking though). Don't forget to keep a note as recovering a BIOS password is uncomfortable.

    https://uk.answers.acer.com/app/answers/list/search/1/kw/UEFi%20to%20legacy/suggested/1

    • 1
  5. WU-TANG
    2020-10-06T18:59:40+08:002020-10-06T18:59:40+08:00

    Although I believe the right combination of UEFI settings will allow the install (but my experience with that UEFI was with a much earlier version and sounds like it may be a bit different)....

    This is a workaround to get your install done. Power down the machine and one of the machines that you said you don't have a problem installing on.

    Remove the drives from those machines. Place your target drive in the non-problematic machine and complete your install (without secure boot or any type of security). Put it back in your troublesome laptop and boot it up.

    Caveat.... Now, I will say... my experience(with that UEFI) when I WAS able to install in legacy mode, the install finished, but the boot problems were plentiful... So I worked until I figured out the nuances of the UEFI(like i mentioned in the comments)... So their may be a chance that even when you get your drive installed and working on the other machine, you may very well have the same issue of being able to boot.

    I wish I could offer more, but without seeing all the options on your UEFI and how they react with each other, it's hard to say which way to go. There seem to be a lot of googling of "insydeh20 no legacy boot" with mixed results... I'd still try some of those solutions first. They may lead you to the proper answer.... But, anytime I have been defeated by UEFI/BIOS/LEGACY/SECURE/ETC problems, I have had success doing the solution that I suggested above.

    • 1
  6. Craig Hicks
    2020-10-13T10:07:42+08:002020-10-13T10:07:42+08:00

    I noticed on your security screen that "Secure Boot" was still enabled, although you said you disabled it. Some BIOS have a constraint that "Secure Boot" cannot be disabled unless the supervisor password is set.

    Therefore, you could try setting the supervisor password and then disable secure boot. If it still doesn't work, check that the secure boot is still disabled. If it isn't disabled, try "Erase all secure boot setting" and disable secure boot again. (You can always reset the default secure boot settings, so the action shouldn't be irrevocable.)

    • 1
  7. Raffles
    2020-10-13T10:58:19+08:002020-10-13T10:58:19+08:00

    Acer UEFI/BIOS has an extra step which has been addressed in a different way in one of the answers above (by Steve Crow). Follow these steps:

    They assume that you are installing Ubuntu, but might also be required for booting from a Live USB

    1. Make sure your UEFI is up to date.
    2. In UEFI, you must set a supervisor password. Once the supervisor password is set, some new menus are accessible.
    3. Enter the "Select an UEFI file as trusted for executing" menu. It will allow you to declare the newly installed Ubuntu boot image as trusted on your laptop.
    4. Select EMMC >> EFI >> Ubuntu and select the file shimx64.efi. You will be prompted to give it a name of your choice (which will appear in the F12 boot options).
    5. Type the name press Enter and then "Yes" should be highlighted.
    6. Press enter again. Restart the computer without any boot disk and tap F12 during the boot process.
    7. You should now get the boot option menu with the name you chose.
    8. You can change the boot order in UEFI now so that it boots directly to the Grub screen.
    9. Either disable the supervisor password, or save it in a secure place.
    • 1
  8. Andri Nic
    2020-09-25T01:45:53+08:002020-09-25T01:45:53+08:00

    i think i had same problem too, it may be about you system support only efi boot, or legacy boot, and you try to boot legacy on a efi. try booting in efi mode, changing the bios boot to efi and disable legacy mode. if that dont work try to enable legacy mode, and boot without efi..

    • 0
  9. Rakesh Chowdhury
    2020-09-25T03:03:02+08:002020-09-25T03:03:02+08:00

    Firstly please get a udev log by editing the line in your grub config. During boot up grub would allow you to edit the boot command (probably with Tab). Add udev.log_priority=debug to boot config and boot using the key displayed. (Usually enter if not displayed. Else try c).

    This looks like a systemd bug. Try booting into text based installer instead. If it doesn't work, try a newer version of the installer

    • 0

相关问题

  • 如何在 Windows 7 中运行 Ubuntu?

  • 您对台式机和家庭服务器的驱动器分区方案有什么建议?[关闭]

  • 如何使用 Mac 创建 Ubuntu live USB?

  • 安装时,我可以选择加密我的主文件夹——这是做什么的?

  • 在不使用标准升级系统的情况下升级有哪些替代方案?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve