You are not logged in.

#1 2015-11-10 17:07:31

rea
Member
Registered: 2014-03-21
Posts: 21

After installing Arch (in UEFI mode), my HDD is not under UEFI!

After 2 days, I can't still run archlinux at all! It's not recognized as a UEFI entry!

#cgdisk /dev/sda --> https://ptpb.pw/2JOt <-- `lsblk -f`

I created a 512-MB fat32 partition as sda1 for efi with ef00 hex code.
           40-GB sda2 for /
           a 8-GB sda4 as swap
           And sda5 if dedicated for /home as a separated partition

I mounted sda2 within /mnt
I mounted sda1 under /mnt/boot/efi and sda3 under /mnt/home
And then, I followed installation process to arrived to the installing grub step:
1. grub-install --target=x86_64-efi --efi-directory=/boot/efi --boot-directory=/boot/efi/EFI --recheck --verbose --> https://ptpb.pw/eGLw
2.  mkconfig -o  /boot/efi/EFI/grub/grub.cfg --> There was an odd problem lvmetad.socket that I solved it by following: http://unix.stackexchange.com/a/152277

More details:
efibootmgr -v --> http://paste.ubuntu.com/13216319
tree /boot ---> https://ptpb.pw/xZJB
tree -d /boot --> https://ptpb.pw/zlBM
ls -R /boot --> https://ptpb.pw/-DH-
fdisk -l --> https://ptpb.pw/Xchg

The HDD is not under UEFI BOOT entry: https://www.filepicker.io/api/file/91xiE7j3RF224pEQxRpu
Anyway, if I press on HDD, it can not find any bootable partition!

Offline

#2 2015-11-10 17:27:19

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: After installing Arch (in UEFI mode), my HDD is not under UEFI!

rea wrote:

I mounted sda1 under /mnt/boot/efi

The recommended setup is to mount your ESP partition at /boot, not /boot/efi.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2015-11-10 17:39:23

rea
Member
Registered: 2014-03-21
Posts: 21

Re: After installing Arch (in UEFI mode), my HDD is not under UEFI!

slithery wrote:

The recommended setup is to mount your ESP partition at /boot, not /boot/efi.

Is that problem because of this?! Should I do everything from scratch by a new gpt table or just 'mkfs.vfat -F32 /dev/sda1/' and mount it at /mnt/boot?
Guys on irc told me: for multibooting (arch on sda2 and another linux on sda3), it's better to have /boot/efi to avoid kernels conflict by their names!

Offline

#4 2015-11-10 17:48:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,418

Re: After installing Arch (in UEFI mode), my HDD is not under UEFI!

Kernel name conflicts are mostly theoretical. Unless you're installing the same basic distro twice, it shouldn't be an issue. That will not cause this, though.

You seem to have grub installed twice? What is "--boot-directory=/boot/efi/EFI"?

Last edited by Scimmia (2015-11-10 17:48:28)

Offline

#5 2015-11-10 17:56:25

rea
Member
Registered: 2014-03-21
Posts: 21

Re: After installing Arch (in UEFI mode), my HDD is not under UEFI!

Scimmia wrote:

You seem to have grub installed twice? What is "--boot-directory=/boot/efi/EFI"?

huh? grub-mkconfig didn't work without --boot-directory=/boot/efi/EFI in grub-install! I don't remmeber the error!

Anyway, you mean: /boot and a new gpt table finally?

Last edited by rea (2015-11-10 17:56:54)

Offline

#6 2015-11-10 21:13:03

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: After installing Arch (in UEFI mode), my HDD is not under UEFI!

rea wrote:

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

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

wink


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB