AnarchyLinux / installer

Anarchy Linux - A simple and intuitive Arch Linux installer. https://anarchyinstaller.org/
GNU General Public License v2.0
1.23k stars 157 forks source link

Installed system won't Boot (T470 NVMe SSD, no error) #356

Closed ftes closed 7 years ago

ftes commented 7 years ago

After installation on a Thinkpad T470 the system won't boot.

Workaround: select EFISTUB boot loader

ftes commented 7 years ago

Also, thanks for the great installer!

ftes commented 7 years ago

I submitted pull request #357 that adds an EFISTUB boot loader option.

This gives users a workaround.

deadhead420 commented 7 years ago

Thanks for your contributions!

ilazaridis commented 7 years ago

I 've just got a T470p. Installation is completed successfully. Arch Linux shows up in the boot menu, but nothing happens (it goes back to the same menu). Any ideas ? @ftes @deadhead420

ftes commented 7 years ago

@ilazaridis Did you install in UEFI or BIOS/legacy mode? An easy way to tell the difference: In BIOS mode the arch anywhere installer starts with a nice menu UI (some images in the background). In UEFI mode the menu is plain text.

ilazaridis commented 7 years ago

UEFI. Shall I try BIOS mode?

ftes commented 7 years ago

No, that's fine. Did you select the EFISTUB boot manager option?

If so, can you boot from the stick again and copy the output of efibootmgr -v?

If that's too much of a hassle, try to re-do what the installer is trying to do for you (if you selected EFISTUB). Maybe there's a bug in the installer, and we can get it to work manually.

  1. Delete the old Arch Linux entry in the efi boot manager
  2. Add a new (hopefully now correct) entry
# 1. delete the old `Arch Linux` entry
# Replace `0` with the number of the `Arch Linux` entry you found by the `efibootmgr -v`
efibootmgr -b 0 -B

# 2. Create new entry
# Make sure /dev/nvme0n1p1 is the partition where your EFISTUB system partition lives (https://wiki.archlinux.org/index.php/EFISTUB#efibootmgr)

# EITHER 2a. For LVM LUKS encryption
efibootmgr -d /dev/nvme0n1 -p 1 -c -L "Arch Linux" -l \vmlinuz-linux -u "cryptdevice=/dev/lvm/lvroot:root root=/dev/mapper/root rw initrd=/initramfs-linux.img"

# OR 2b. Non-encrypted, set correct <linux-root-partition> (https://wiki.archlinux.org/index.php/EFISTUB#efibootmgr)
efibootmgr -d /dev/nvme0n1 -p 1 -c -L "Arch Linux" -l \vmlinuz-linux -u "root=<linux-root-partition> rw initrd=/initramfs-linux.img"