You are not logged in.

#1 2021-03-02 18:48:06

czequeira
Member
Registered: 2021-03-02
Posts: 7

fresh install do not boot

I had installed arch using a live cd of manjaro but when i install grub and reboot the sysetem only see in the grub the old manjaro system an do not boot becouse I errase that and install arch

Offline

#2 2021-03-02 19:15:53

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 5,844
Website

Re: fresh install do not boot

Check the UEFI boot entries with the efibootmgr command. See https://wiki.archlinux.org/index.php/GR … _boot_path for a possible solution.

If that doesn't work then post back with a list of the exact commands you used when installing Arch.

Offline

#3 2021-03-02 19:40:46

czequeira
Member
Registered: 2021-03-02
Posts: 7

Re: fresh install do not boot

I run this comand
```
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --removable
```
and on reboot don't open the grub

Offline

#4 2021-03-02 19:49:23

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 5,844
Website

Re: fresh install do not boot

You need to run other commands before that one. If you did that then please post them here.

Did you try manually copying grubx64.efi to /EFI/BOOT/BOOTX64.EFI on the EFI system partition?

Did you check the boot entries?

Why have you not posted the commands used to install Arch?

Offline

#5 2021-03-02 19:55:08

czequeira
Member
Registered: 2021-03-02
Posts: 7

Re: fresh install do not boot

this is the list of commands that i used
fdisk /dev/sda
and then create a new gpt partition table, with a litle one of 512M to efi, other of 40G to / and other of 8G to swap

then i run 
mkfs.ext4 /dev/sda2
mkswap /dev/sda3
mount /dev/sda2 /mnt
swapon /dev/sda3
mkdir /mnt/boot/efi
mount /dev/sda1 /mnt/boot/efi

then installed arch-install-scripts becouse the iso of manjaro do not included and then
pacstrap /mnt base linux linux-firmware
pacstrap /mnt networkmanager
pacstrap /mnt grub  efibootmgr

genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt

once inside of the system i follow the steps of the install guide and
end run this commands

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg

and them reboot but the system do not boot

Offline

#6 2021-03-02 19:57:46

czequeira
Member
Registered: 2021-03-02
Posts: 7

Re: fresh install do not boot

yes I try but only that

mv /boot/efi/EFI/grub /boot/efi/EFI/BOOT

Head_on_a_Stick wrote:

You need to run other commands before that one. If you did that then please post them here.

Did you try manually copying grubx64.efi to /EFI/BOOT/BOOTX64.EFI on the EFI system partition?

Did you check the boot entries?

Why have you not posted the commands used to install Arch?

Offline

#7 2021-03-02 20:28:07

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 5,844
Website

Re: fresh install do not boot

From the live ISO image:

# mount /dev/sda1 /mnt
# cp /mnt/EFI/grub/grubx64.efi /mnt/EFI/BOOT/BOOTX64.EFI
# reboot

^ That presumes the EFI system partition is on /dev/sda1, correct as needed.

If that doesn't fix things then please post the full output of

efibootmgr -v

Offline

#8 2021-03-02 20:42:10

czequeira
Member
Registered: 2021-03-02
Posts: 7

Re: fresh install do not boot

the file /mnt/EFI/grub/grubx64.efi not exist but /mnt/EFI/BOOT/BOOTx64.EFI has there and then y copy that to /mnt/EFI/grub/grubx64.efi and now the grub appears but de screen remains in black when i enter

Offline

#9 2021-03-02 20:51:45

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 5,844
Website

Re: fresh install do not boot

*sighs*

czequeira wrote:

the file /mnt/EFI/grub/grubx64.efi not exist

Well what does exist then?

# mount /dev/sda1 /mnt
tree /mnt # needs the tree package
czequeira wrote:

/mnt/EFI/BOOT/BOOTx64.EFI has there and then y copy that to /mnt/EFI/grub/grubx64.efi

Why did you do that? hmm

Also:

I wrote:

If that doesn't fix things then please post the full output of

efibootmgr -v

Offline

#10 2021-03-02 21:17:36

czequeira
Member
Registered: 2021-03-02
Posts: 7

Re: fresh install do not boot

i can copy the output becouse is in a diferent pc but let try to whrite here the result

tree /mnt
/mnt
|----BOOT
|     |-----GRUB
|             |-----grubx64.efi
|
|---EFI
      |----BOOT
      |      |------BOOTx64.EFI
      |
      |-----grub
               |------grubx64.efi

Offline

#11 2021-03-02 21:25:09

czequeira
Member
Registered: 2021-03-02
Posts: 7

Re: fresh install do not boot

efibootmgr -v

BootCurrent: 000B
Timeout: 0 seconds
BootOrder: 0009,0007,0006,0002,0000,000B,0005,0004,0003
Boot0000* Windows Boot Manager
Boot0001* ubuntu
Boot0002* USB Floppy/CD
Boot0004* Realtek PXE B03 D00
Boot0005* Realtek
Boot0006* Pop!_OS
Boot0007* manjaro
Boot0009* GRUB HD(1, GPT, <some-id>, 0x6100800, 0x100000)/File(\EFI\GRUB\grubx64.efi)
Boot000B* SandDisk

Offline

#12 2021-03-03 19:27:14

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 5,844
Website

Re: fresh install do not boot

To share command output here use a pastebin client and post the returned URL: https://wiki.archlinux.org/index.php/Li … in_clients

I think the best course of action would be to delete Boot0009 and the /BOOT/GRUB directory on the EFI system partition and then re-create GRUB for Arch.

As there appears to be a language barrier it's probably best if I just post the commands directly.

So from the live ISO image:

# efibootmgr -b 9 -B
# mkdir /{esp,main}
# mount /dev/sda1 /esp
# mount /dev/sda2 /main
# rm -r /esp/BOOT
# grub-install --target=x86_64-efi --efi-directory=/esp --boot-directory=/main/boot --bootloader-id=arch

Then check the boot entries again and make sure that "arch" is set as first in the BootOrder before rebooting.

Offline

Board footer

Powered by FluxBB