2

(http://paste.ubuntu.com/p/6P8bhRK5Gr/)

I am working on a Acer Aspire ES17 which previously had windows 10 installed. I want to remove windows 10 completely and use Ubuntu.

Using Rufus i made a bootable Ubuntu USB, Booted it and tried to install Ubuntu. The screen freezes at "Installing Grub 2" and Boot-repair freezes with "Reinstalling Grub 2". I left in on for a whole night yesterday and it was still frozen. Also tried boot-repair bootable usb. same thing.

I already tried to make an 1mb partition with bios_grub flag. Boot-repair returns with make a EFI partition and flag it as boot.

In BIOS i have EUFI, i cannot choose anything different like Legacy. Secure boot is turn OFF.

I have set Secure boot ON and set a password to enable Trust and add a file to the EFI. However i never see the option to add a trusted file.

Right now i am trying boot-repair again it comes with. "Please enable a repository containing the [grub-efi-amd64-signed] packages in the software sources of Ubuntu 18.04.1 LTS (sda2). Then try again." I don't know what to do? And if it will fix my issue.

Hopefully someone can help. Thank you in advance.

Update: ls/boot/efi shows: EFI FSCK0001.REC FSCK0003.REC FSCK0005.REC FSCK0000.REC FSCK0002.REC FSCK0004.REC boot. What are those files??? i used this page:https://www.rodsbooks.com/refind/installing.html#linux On the following line: On a UEFI-based system, type efibootmgr -c -l \EFI\refind\refind_x64.efi -L rEFInd to add rEFInd to your EFI's list of available boot loaders, which it stores in NVRAM. My pc crashed.... So everytime grub2 or anything else tries to add or adjust efi files it crashes. Is NVRAM broken? something must be broken? i can't find any other threads with a similar problem.

Update2: I recreated all partitions and did refind-install, PC froze but recovered after 10min. Showed internal error Title : systemd-logind crashed with SIGABRT in epoll_wait(). PC booted showing "no bootable device", no trust settings, tried installing ubuntu again it failed with unable to install efi. Tried boot-repair again, pc crashes when "Installing for x86_64-efi platform.

Update 3 and last: Took the laptop to a expert. Not possible to install Ubuntu due to some security on the BIOS/UEFI.

savda
  • 21
  • If you have Internet wired or wireless working and are using the same installer, the repository should already be enabled. It is more when using one installer for a different install that you actually need that. It looks like install is complete. But you have old UEFI entry for both Ubuntu & Debian, which you should delete first. And with Acer you need to enable trust. https://askubuntu.com/questions/429610/uninstall-grub-and-use-windows-bootloader/497720#497720 & https://askubuntu.com/questions/908854/installed-ubuntu-17-04-and-now-cant-boot-at-all-failed-to-open-efi-boot-grubx/909238#909238 – oldfred Feb 04 '19 at 19:10
  • Thanks for the reply, i am trying to delete boot0002-0003 ubuntu and debian but everytime is use sudo efibootmgr -b 0002(or any other) -B the laptop freezes. I also can't get the "Select an UEFI file as trusted for executing" line to show up in the BIOS. Supervisor password = set, password on boot = enabled, secure boot = enabled. hit f10 to try again still nothing. Is it maybe because the installation i did never finished. I know grub2 package never completed installation it always crashed. – savda Feb 04 '19 at 20:18
  • Have you updated UEFI from Acer? Many with those issues needed the UEFI update. Some very old threads may show downgrading UEFI to an older version, but all the newer threads say the update to new UEFI works. Acer Very latest UEFI/BIOS works, downgrade not required if no trust screens, you must now upgrade: http://ubuntuforums.org/showthread.php?t=2298380&p=13419141#post13419141 – oldfred Feb 04 '19 at 21:28
  • I used Hiren's BootCD to download an install the latest BIOS update v1.18. Retried to get the Select an UEFI file... to show up but it didn't. I tried boot-repair again same message, i tried installing Ubuntu again and again it fails at Installing 'grub2'package.. I have run out of ideas. Try old BIOS? – savda Feb 05 '19 at 22:18
  • If you are forcing a reboot with power switch, you may be corrupting or did corrupt file system. I would run fsck on every ext4 partition and dosfsck on ESP. http://askubuntu.com/questions/862724/grub2-failed-to-install/865872#865872 & https://askubuntu.com/questions/642504/ubuntu-14-04-is-not-booting-normaly-after-a-manual-hard-boot/642789#642789 – oldfred Feb 05 '19 at 22:45
  • Only dosfsck shows errors for being unmounted incorrectly, when fixed nothing changes. No UEFI trusted file, still freezes at grub2 installing. Also freezes when i tried to install and check use secure boot option with password. On "next" it freezes.

    I tried the whole setup from this link: https://askubuntu.com/questions/743095/how-to-prepare-a-disk-on-an-efi-based-pc-for-ubuntu/743098#743098 With internet connected and again screen freezes at "installing the 'grub2'package..."

    – savda Feb 06 '19 at 18:58
  • Run an update to the Summary report and post link. Not sure it will show anything different. Did you run this? sudo dosfsck -t -a -w /dev/sda1 The -a seems to help in clearing dirty bit – oldfred Feb 06 '19 at 19:44
  • Hey thanks a lot for helping. I did use your command everytime i booted and sometimes it shows "0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt. Automatically removing dirty bit. When i run it again it shows no errors. I just tried some more commands or fixes found on askubuntu. nothing helped so far. I updated the intel driver from acer. Just can't understand why it keeps freezing on so much. I also went trough so many AskUbuntu threads feels like this is hopeless. http://paste.ubuntu.com/p/9Xz2kN6JQ9/ – savda Feb 06 '19 at 20:43
  • The stopping of grub install, must then be setting the dirty bit on the ESP. Not sure then why grub will not install. And usually if issues during install, Boot-Repair then works. If you run the dosfsck and then go into UEFI, and with Secure boot on, can you see the trust settings? – oldfred Feb 06 '19 at 22:14
  • I will try right now. I have just tried rEFInd. Everything went well it found the efi files knew secure boot everything was on i told it to install and again. laptop froze. – savda Feb 06 '19 at 22:25
  • Can't see the trust settings. It did put my Hdd password to Frozen. i had just reset it. – savda Feb 06 '19 at 22:28
  • Can you boot with rEFInd? I have used that when nothing else worked. – oldfred Feb 06 '19 at 23:29
  • i will update the original post – savda Feb 08 '19 at 00:14
  • The fsck files are corrupted files that the dosfsck tried to save. They may or may not have valid old data. But that shows you have or had issues with your ESP partition. Some have had to fully back it up, erase it, recreate a new FAT32 partition with boot flag. Then reinstall boot loaders in UEFI boot mode. – oldfred Feb 08 '19 at 03:45

0 Answers0