I am trying to install ubuntu on an acer aspire a515-48m laptop with amd ryzen 5 processor (it is uefi only in bios, legacy option does not exist). It has only "free dos" (uefi shell) on it with the commands as specified at uefi.org, bios version 1.0, insydeH2O setup utility rev 5.0 is written at the top of the screen in bios.
The problem is that it refuses to boot from the usb. I can only get as far as the grub menu. Question - Is there anything I can do to boot the live ubuntu usb, so I can then install linux?
I know there are a lot of questions about this but many are 3+ years old and did not help. What I tried:
usb stick with 1 fat32 partition, live ubuntu 20.04.6 and 23.10.1 (each tried separately), installed with unetbootin
usb stick with 2 fat32 partitions, live ubuntu 20.04.6 and 23.10.1 (each tried separately), installed with unetbootin; the first partition is EFI; the EFI partition was populated with this command:
sudo grub-install --target=x86_64-efi --boot-directory=/media/user/EFI/EFI/BOOT/ --efi-directory=/media/user/EFI/ /dev/sda1 --verbose
(if this command does not work, may need to sudo apt install grub-efi
first; /dev/sda1 is the usb EFI partition)
- options 1 and 2 above, with msdos partition table on the usb stick (the laptop saw it), and with gpt partition table (the laptop did not see the stick in the bios at all); I tried with gpt partition table as well just in case, as I saw the ssd has gpt partitions, using ls in grub;
I have to mention that one or both of options 1 and 2 with msdos partition table work great on all other laptops I tried previously
in the case of options 1 and 2, the grub menu appears, and after selecting ubuntu, it says
EFI stub: loaded initrd
, then the screen goes blank and then it goes back to the acer splash screen;at the grub menu, I tried to press
c
, and then tried to load linux from grub:ls set root=(hd0,msdos1) linux /ubnkern initrd /ubninit boot
I also tried linux /ubnkern root=/dev/sda1
though it did not make any difference, and I have no way of knowing if the usb on that laptop would be /dev/sda1 or something else
when booting, the screen goes blank, and back to acer splash screen; the ubuntu logo does not even show up
I tried to disable the SSD in the bios (press F2 during boot to get into BIOS), but even so the usb does not boot; even if it had, I would not have been able to install with the SSD disabled; I also tried to press ctrl s in the Main tab in BIOS, and two more menu options appeared that did not help
the above was with secure boot disabled; I tried to enable secure boot and specifically select the efi file BOOTx64.EFI from the usb, no difference
in the EFI directory, I copied the boot efi as all 3 of these names (3 identical files) BOOTx64.EFI shimx64.efi bootmgfw.efi in case it looks for one of the other names
in the grub menu I also tried to press
e
and add this optionnvme_core.default_ps_max_latency_us=5500
and then press ctrl x to boot, which also didn't help; I also triednvme_core.default_ps_max_latency_us=9000
for good measureI also tried tried kali 2023.3, parrot 5.3 and gnoppix 23.12 and the grub menu locks up and beeps continuously until I shut it off holding down the power button for all of these
I tried opensuse, gentoo, mint, blackarch and altlinux rescue, they all fail the same, after efi stub starts loading initrd, the screen goes blank and back to acer splash. The exact message printed by ubuntu 23.10 is:
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path EFI stub: Measured initrd data into PCR 9
then blank and back to square one.
I tried to copy ubnkern and ubninit to the fs1:\EFI\BOOT directory (the live ubuntu usb) using the UEFI shell (so-called free dos) and renaming ubnkern to ubnkern.efi, which makes it an executable in UEFI shell, and then type its name to run it, and same thing, screen goes blank and back to acer splash;
Tried debian testing latest build iso and it locks up and beeps until it is shut off using the power button, so it doesn't look like this is fixed. The same happens if booting in uefi shell, and then going to fs1:\EFI\boot and running bootx64.efi
is there any way to get ubuntu/debian to print some debug when loading the kernel or initial ramdisk (initrd) or whatever it is doing after that in the blank screen, before returning to the acer splash, to at least give a hint of why it is not working?
what I did not try:
physically remove the ssd and put it in another laptop and try to install it that way, though I have no way to know whether that would work or not until I try
is that how linux is to be installed on acer laptops? or acer finally figured out how to make laptops unusuable for linux, and they should be avoided?
could it be hardwired to not run linux?