You are not logged in.

#1 2018-07-04 20:43:19

solarpear
Member
Registered: 2018-07-04
Posts: 4

[SOLVED] Grub doesnt appear in UEFI Bios

Hello, when I install Arch it doesnt appear in my bios boot options. I installed it two days ago with windows 10 without a problem. However I decided to completely switch to linux, but now that I have to create my own boot efi esp it doesnt work. Here's how I installed it:

Created partitions on /dev/sda and /dev/sdb with gdisk

/dev/sda1 550M EFI System
/dev/sda2 8G Linux Swap
/dev/sda3 103.3G Linux filesystem (this is my root)

/dev/sdb1 931.5G Linux filesystem (this is my home on seperate hdd)

I formatted the partitions

mkfs.ext4 /dev/sda3
mkfs.ext4 /dev/sdb1
mkswap /dev/sda2
swapon /dev/sda2
mkfs.fat -FAT32 /dev/sda1

I then mounted the partitions

mount /dev/sda3 /mnt
mkdir /mnt/boot
mkdir /mnt/home
mount /dev/sda1 /mnt/boot
mount /dev/sdb1 /mnt/home

I installed base

pacstrap /mnt base

I generated an fstab file

/dev/sda3
UUID=c8d4f81f-1bc6-4398-8132-62cfae7e4929 / ext4 rw,relatime 0 1

/dev/sda1
UUID=90E0-8F3C /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 2

/dev/sdb1
UUID=0139ca22-643b-4781-af61-44480fe1dc81 /home ext4 rw,relatime 0 2

Then arch chroot

arch-chroot /mnt

I did timezone locale and hwclock hostname and passwd according to wiki.

Then I downloaded intel-ucode, grub and efibootmgr
Then i installed and configured grub

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB

grub-mkconfig -o /boot/grub/grub.cfg

I didnt get any errors.
Then i reboot and its nowhere to be found:
https://i.imgur.com/4N6IgETr.jpg
Thanks for reading

Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code

Last edited by solarpear (2018-07-04 21:38:15)

Offline

#2 2018-07-04 20:55:26

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Grub doesnt appear in UEFI Bios

Welcome to the arch linux forums solarpear.  Thank you for the detailed post.  Please boot the installation media again and check the output of `efibootgr` does it contain an entry for grub?

Offline

#3 2018-07-04 21:00:26

solarpear
Member
Registered: 2018-07-04
Posts: 4

Re: [SOLVED] Grub doesnt appear in UEFI Bios

loqs wrote:

Welcome to the arch linux forums solarpear.  Thank you for the detailed post.  Please boot the installation media again and check the output of `efibootgr` does it contain an entry for grub?

Thanks! No it does not have an entry fro grub.

Offline

#4 2018-07-04 21:06:16

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Grub doesnt appear in UEFI Bios

Offline

#5 2018-07-04 21:18:12

solarpear
Member
Registered: 2018-07-04
Posts: 4

Re: [SOLVED] Grub doesnt appear in UEFI Bios

Thank you so much, this works! I really should read the wiki better! But it in the while loading it said the swap partition failed, any idea why this happened? https://i.imgur.com/43eLCMq.jpg

Offline

#6 2018-07-04 21:21:00

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] Grub doesnt appear in UEFI Bios

I would first try Persistent_block_device_naming

Offline

#7 2018-07-04 21:37:13

solarpear
Member
Registered: 2018-07-04
Posts: 4

Re: [SOLVED] Grub doesnt appear in UEFI Bios

loqs wrote:

Thanks for everything! I redid mkswap and it works now. Ill mark this as solved.

Offline

Board footer

Powered by FluxBB