You are not logged in.

#1 2023-12-18 17:09:36

andysh
Member
Registered: 2023-12-18
Posts: 4

[Solved] Error on boot only after live usb

Good evening, I'm Andrea. I'm new to the forum, and I apologize in advance for any inaccuracies in my English.

Here's my issue.
For a few days, I've been facing a problem on my Dell laptop with Arch Linux installed. I don't know if this beaver is due to the last upgrade or not.

If I boot with a live USB (either Arch Linux or Manjaro), I can access to the live system without any issues. There are no errors or problems. However, when I shut down or restart the system to access my "normal" environment, the laptop no longer boots correctly. Bios does not find the GRUB for the OS boot. The dell diagnostic start and it ends with no disk suitable for boot present. To regain access, I have to use the live USB again and reinstall GRUB. After that, I can access my computer normally. Does anyone have an explanation for this behavior? This happen everytime I access to a live usb. Thanks in advance to everyone. Andrea

Last edited by andysh (2023-12-19 09:17:07)

Offline

#2 2023-12-18 17:12:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: [Solved] Error on boot only after live usb

There are some firmwares that will delete any non-Windows entries once you've booted something else. You can try using grub's --removable option to install to the default loader location, your firmware might pick that up and be able to boot it.

Offline

#3 2023-12-18 17:22:17

andysh
Member
Registered: 2023-12-18
Posts: 4

Re: [Solved] Error on boot only after live usb

Scimmia wrote:

There are some firmwares that will delete any non-Windows entries once you've booted something else. You can try using grub's --removable option to install to the default loader location, your firmware might pick that up and be able to boot it.

Thank you Scimmia,

so you mean, when I re-install the grub, I have to use the --removable options? in this way:

grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB --removable

Offline

#4 2023-12-18 17:27:36

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [Solved] Error on boot only after live usb

Moving to Newbie Corner.

Offline

#5 2023-12-18 17:30:13

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [Solved] Error on boot only after live usb

@OP: Yes, that's right. Or just copy /EFI/grub/grubx64.efi to /EFI/Boot/bootx64.efi manually (paths relative to the EFI system partition).

More here (along with other potential solutions): https://wiki.archlinux.org/title/Unifie … mware_menu

Last edited by Head_on_a_Stick (2023-12-18 17:30:23)


Jin, Jîyan, Azadî

Offline

#6 2023-12-18 17:34:29

andysh
Member
Registered: 2023-12-18
Posts: 4

Re: [Solved] Error on boot only after live usb

Ok, thanks for your suggestions and for to move my post in the correct section.

Tomorrow I will try and I will you know.

Andrea

Offline

#7 2023-12-19 09:12:25

andysh
Member
Registered: 2023-12-18
Posts: 4

Re: [Solved] Error on boot only after live usb

Hi to everyone,
I  confirm that the option --removable works for me.

Thank you for your time,
Andrea

Offline

Board footer

Powered by FluxBB