Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
edited tags
Link
Kusalananda
  • 356.1k
  • 42
  • 737
  • 1.1k
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 628 characters in body
Source Link
AzerSD
  • 11
  • 1
  • 1
  • 5

EDIT:

I reinstalled grub bootloader and regenerated the grub Configuration with the same commands in steps 12 and 13

before rebooting my computer the output of efibootmgr -v is

BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0000,0001 Boot0000* grub_uefi HD(1,GPT,d20bff6e-6f1e-c549-9f1b-505a302fd42c,0x800,0x100000)/File(\EFI\grub_uefi\grubx64.efi) Boot0001* UEFI: Generic Flash Disk 8.07, Partition 1 ...Gibberish..BO 

but After reboot the output is:

BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0001 Boot0001* UEFI: Generic Flash Disk 8.07, Partition 1 ...Gibberish..BO 

EDIT:

I reinstalled grub bootloader and regenerated the grub Configuration with the same commands in steps 12 and 13

before rebooting my computer the output of efibootmgr -v is

BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0000,0001 Boot0000* grub_uefi HD(1,GPT,d20bff6e-6f1e-c549-9f1b-505a302fd42c,0x800,0x100000)/File(\EFI\grub_uefi\grubx64.efi) Boot0001* UEFI: Generic Flash Disk 8.07, Partition 1 ...Gibberish..BO 

but After reboot the output is:

BootCurrent: 0001 Timeout: 0 seconds BootOrder: 0001 Boot0001* UEFI: Generic Flash Disk 8.07, Partition 1 ...Gibberish..BO 
Source Link
AzerSD
  • 11
  • 1
  • 1
  • 5

can't boot into arch linux after fresh installation

So I just tried to install archlinux a bunch of time without being able to boot to it, I searched my problem and found a lot of people having the same problem and I tried a bunch of things but unfortunately I didn't succeed. Asking about my problem here is my last resort so I hope somebody can help me and I hope I learn a thing or two after solving my problem.
(sorry for my bad english).
So I'll start with sharing the steps I did to install archLinux:

  1. Boot up the live system with usb drive

  2. Verify that I'm booted in EFI mode with this command ls /sys/firmware/efi/efivars (this gives me a bunch of gibberish which means I'm in efi mode as said in arch's official installation guide)

  3. Partitioning the disk with fdisk /dev/nvme0n1:

    • Create a GPT partition table with option g
    • 512M: EFI partition----->(/dev/nvme0n1p1)
    • 4G: swap partition------>(/dev/nvme0n1p2)
    • rest: root partition------->(/dev/nvme0n1p3)
    • writing changes to disk
  4. formatting created partitions with the following commands:

    • mkfs.fat -F32 /dev/nvme0n1p1
    • mkswap /dev/nvme0n1p2
    • mkfs.ext4 /dev/nvme0n1p3
  5. Mount the partitions:

    • mount /dev/nvme0n1p3 /mnt
    • swapon /dev/nvme0n1p2
  6. Install essential packages on /mnt: pacstrap /mnt base linux linux-firmware

  7. Generate fstab file: genfstab -U /mnt >> /mnt/etc/fstab

  8. Chroot into /mnt: arch-chroot /mnt

  9. Generate initramfs: mkinitcpio -P

  10. Installing grub and some other packages: pacman -S grub efibootmgr os-prober base-devel mtools dosfstools...

  11. Create EFI boot directory and mount it: mkdir /boot/EFI && mount /dev/nvme0n1p1 /boot/EFI

  12. Install Grub bootloader: grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck

  13. Generate Grub Config: grub-mkconfig -o /boot/grub/grub.cfg

  14. Exit chroot, Unmount partitions umount -a, reboot

! All commands were prompted successfully without an error

Note: some steps are skipped like setting timezone, hostname, hosts, adding user etc.

after reboot arch doesn't boot up and the uefi menu has only enter setup which will get me to the bios.

Am I missing something here??? or am I doing something wrongggg??? Help Please!!!

andddd thanks in advanceee <3