elementary / installer

Installer front-end for Linux-based OSes
https://elementary.io
GNU General Public License v3.0
173 stars 50 forks source link

Installer fails with "error: out of memory" #542

Open carniz opened 3 years ago

carniz commented 3 years ago

Describe the bug When I try to boot the elementaryos-6.0-daily.20210503 installer on my Dell Precision 5510 (with BIOS/firmware version 1.11.2), it fails with "error: out of memory". The laptop is currently installed with Hera/5.1 in UEFI mode and full disk encryption.

To Reproduce Steps to reproduce the behavior:

  1. Boot the elementaryos-6.0-daily.20210503 installer in UEFI mode
  2. Press enter to start (or let the countdown timeout)
  3. The installer fails with "error: out of memory"

Expected behavior The installer lets you install the OS (or try the demo mode)

Screenshots DSC_0016 DSC_0017 DSC_0020 (Yes, the screen is dirty ;-))

Additional context I assume this is not the same issue as https://github.com/elementary/installer/issues/457 since I don't even get to start the installer.

carniz commented 3 years ago

I now updated the Dell firmware to the latest version (1.16.1) and after the update the "out of memory" message + Kernel panic went away. Instead, the screen just goes black and nothing happens - I let it run for 10+ minutes to be sure that it wasn't just loading slowly.

carniz commented 3 years ago

Update: the public beta installer (elementaryos-6.0-daily.20210430) properly boots in legacy mode (i.e. non-UEFI mode).

carniz commented 2 years ago

I am seeing this again with elementaryos-7.0-daily.20220127.

carniz commented 2 years ago

...and the fix (with elementaryos-7.0-daily.20220127) is to use Unetbootin to write the ISO to a USB drive, and change set gfxmode=auto to set gfxmode=800x600 in /boot/grub/grub.cfg

thel1ghtbr1nger commented 2 years ago

...and the fix (with elementaryos-7.0-daily.20220127) is to use Unetbootin to write the ISO to a USB drive, and change set gfxmode=auto to set gfxmode=800x600 in /boot/grub/grub.cfg

Trying now, if it works, I love you

peteruithoven commented 1 year ago

I'm running into the same issue with elementary OS 7

I don't really think this is an installer specific issue, I've opened a new discussion: https://github.com/orgs/elementary/discussions/170 And: https://elementaryos.stackexchange.com/questions/30135/kernel-panic-when-booting-from-usb-stick-to-install-7

I tried to use Unetbootin to write the ISO to a USB drive, but afterwards doesn't appear in the Boot Sequence options. I don't understand how to edit grub.cfg, after flashing to the usb this file is unwritable. After editing the ISO with PowerISO Etcher is warning that it's not bootable.

Building the ISO based on this PR following these instructions, flashing that to an USB stick and then booting from it seems to work!

BugFixesAndPerformanceImprovements commented 1 year ago

I had the same error message installing the elementaryos-7.0-stable.20230129rc ISO. Got it to install by selecting the grub2 option (don't know if it made any difference) and then chose safe mode. Installed like a charm.