#[SOLVED] My computer don't start on GRUB and says "Reboot and select proper Boot device"

148 messages · Page 1 of 1 (latest)

thorn wren
#

I follow the arch installation guide and then this tutorial : https://www.youtube.com/watch?v=DPLnBPM4DhI.
And for the both installation I made, my computer tells me that on startup.

"I run Arch!" You hear everyone else saying it, now you can say it too! In this video, we'll go through the process of setting up Arch Linux from scratch. It'll start at the command-line, and we'll build the installation all the way up to a full desktop environment! The GNOME, Xfce, Plasma, and MATE desktop environments are all covered. In addit...

▶ Play video
#

Is it possible to start on grub ?

proven grove
#

Did you install grub for BIOS on a UEFI system or vice versa? Also, in the future, follow the guide on the wiki. Other guides can be outdated or broken, like this one might be.

thorn wren
#

I install grub for UEFI on a UEFI system

#

I also follow the guide on the wiki, and i got the same problem

proven grove
#

Exactly what did you do to install GRUB

#

Also do fdisk -l

thorn wren
#

I follow the video instruction :
-I install those packages : grub efibootmgr dosfstools os-prober mtools
-I create the directory /boot/EFI
-I mount /dev/sda1 (my efi boot partition) to /boot/EFI
-I execute this command : grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck (the first time I execute this command, I got an error. But I execute this command a second time and I didn't get an error)
-I copy /usr/share/locale/en@quot/LC_MESSAGES/grub.mo to /boot/grub/locale/en.mo
-I ran this command : grub-mkconfig -o /boot/grub/grub.cfg

crisp lotus
#

-I mount /dev/sda1 (my efi boot partition) to /boot/EFI
-I ran this command : grub-mkconfig -o /boot/grub/grub.cfg
why are you mounting to /boot/EFI ?

thorn wren
#

I have a boot partition and a root partition

crisp lotus
#

you did the config to the wrong place; it never went to the boot partition.

#

your grub-install command is also missing the --efi-directory

thorn wren
crisp lotus
#

I suggest following archwiki rather than the video.
watching installation videos is nice if you feel like a complete beginner, to get an idea of what to expect and how to do things on the commandline.
but then, I recommend just following the archwiki Installation Guide. It is not really difficult.

#

Still, we can fix your boot

#

And hope everything else with your installation is fine (:

#

Do you have another OS on your system that you wish to dual-boot?

thorn wren
crisp lotus
#

OK. If you'd like, let's just check your disk setup and make sure /boot is fine and try booting

crisp lotus
#

lsblk -f : to check your disk setup

thorn wren
#

My actual disk setup with the video guide

crisp lotus
#

mount /dev/mapper/volgroup0-lv_root /mnt

#

ls -alt /mnt/boot

#

do not mount the boot partition yet

thorn wren
#

I have this

crisp lotus
#

ok you installed everything in root, not the boot partition

#

rm -r /mnt/boot/*

thorn wren
#

ok, I remove the files

crisp lotus
#

mount /dev/sda1 /mnt/boot

#

ls -alt /mnt/boot

thorn wren
crisp lotus
#

ls -alt /mnt/boot/EFI

thorn wren
crisp lotus
#

ok let's clear it and reinstall the kernel images and grub properly

#

rm -r /mnt/boot/*

thorn wren
#

ok

crisp lotus
#

arch-chroot /mnt

#

mkinitcpio -P

#

ls -alt /boot : to make sure it worked

thorn wren
proven grove
crisp lotus
#

ah yeah, if it's only that, no problem.

thorn wren
#

it seems ok

crisp lotus
#

uhmm not really :D

#

did you want and install linux-lts?

#

rather than regular linux?

thorn wren
proven grove
crisp lotus
#

ok

proven grove
crisp lotus
#

so, forget about linux-lts.

#

pacman -Rns linux-lts
pacman -S linux

thorn wren
#

ok

crisp lotus
#

when installing linux, it does mkinitcpio automatically.
does it show the same errors again?

#

wait... we did not connect to the internet right?

thorn wren
#

It seems good, this time, I only have warning

proven grove
#

Looks good

thorn wren
crisp lotus
#

nice

#

it installed from pacman cache

#

no worries

#

now let's do grub

thorn wren
#

ok, I'm now connected to the internet

crisp lotus
#

are you still in arch-chroot?

proven grove
#

Looks like they are

crisp lotus
thorn wren
crisp lotus
#

ok

#

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

#

If no errors,
grub-mkconfig -o /boot/grub/grub.cfg

#

tree /boot

thorn wren
crisp lotus
#

probably fine

thorn wren
#

Does I execute the command again ?

crisp lotus
#

ls -alt /boot

#

do grub-mkconfig too first

#

you can install tree if you wish, and get the whole directory structure using tree /boot

#

it should be bootable now, unless your /etc/default/grub needs more configuration

#

also let's check fstab

#

cat /etc/fstab

#

we have /boot now rather than /boot/EFI, so may need to regenerate it.

thorn wren
crisp lotus
#

ok :D

#

if there were no errors with grub-mkconfig, it should be fine

#

i just have the habit of checking everything

#

ls -alt /home : should be empty

proven grove
thorn wren
crisp lotus
#

nope

#

ok.
exit : exit chroot
mount /dev/mapper/volgroup0-lv_home /mnt/home
genfstab -U /mnt > /mnt/etc/fstab
cat /mnt/etc/fstab : to check
then can reboot and try it.

crisp lotus
#

looks good :)

#

🙏 for boot

thorn wren
#

ok, I reboot 🤞

#

... it doesn't work, it doesn't boot on grub

pine furnaceBOT
crisp lotus
#

but you got to grub?

thorn wren
#

and if I start with my USB, it boots on my USB

crisp lotus
#

do you have a key to get into the boot selection when turning the pc on?

#

like f12

crisp lotus
#

does selecting the disk there do the same?

thorn wren
crisp lotus
#

The "Could not delete variable" warning in grub-install might be related

thorn wren
crisp lotus
#

do you have efibootmgr installed?

thorn wren
#

yes

crisp lotus
#

:/

#

ls /sys/firmware/efi/efivars/

#

in archiso USB

#

what's the laptop model? there might be a specific issue.
BIOS is not detecting the bootloader.

thorn wren
crisp lotus
#

ok

thorn wren
crisp lotus
#

fdisk -l /dev/sda

#

sda1 should show "EFI System"

thorn wren
#

yes, it's that

crisp lotus
#

everything looks fine.

thorn wren
#

Do I have to configure my bios ?

crisp lotus
#

I mean, you can check it.
Check the boot order.

#

but even with the boot menu selecting the disk, it does not load grub

#

Satellite C50-B032; this is mentioned as working fine (albeit in 2016) in archwiki

thorn wren
#

My boot order has the disk on first

crisp lotus
#

look around, if there is secure boot or fast boot or similar stuff, disable them

#

but I have no idea why it isn't working :(
still, your boot partition had issues, at least that should not be a problem anymore.

thorn wren
#

secure boot is already disable

thorn wren
crisp lotus
#

nope

#

we can try systemd-boot too.

thorn wren
#

ok

crisp lotus
#

but I'm gonna go out

thorn wren
#

ok, no problem

thorn wren
rare sageBOT
#

Gozenka received a thank you cookie!

thorn wren
#

[SOLVED] My computer don't start on GRUB and says "Reboot and select proper Boot device"

thorn wren
#

... close