You are not logged in.

#1 2025-03-30 01:45:38

Mona5
Member
Registered: 2023-07-24
Posts: 42

[SOLVED]Bootable usb/media make me to install and reconfigure Grub

Hello,
there is a problem always bugging me i have to use

grub-mkconfig

and in rare cases use

grub-install

to repair my grub and to be able to boot in it.

it always happen when i (forgot to remove) arch installation media after rebooting my laptop say there is no bootable partition. and i have to reconfigure grub again  to be able boot with grub.

is there a way exist to make sure that never happen and if i forgot to remove any bootable media it at least don't make me install and configure grub again.

is it my laptop problem that make it like that? and i only have arch in my laptop no other OS exist and used.

Last edited by Mona5 (2025-04-09 05:25:43)

Offline

#2 2025-03-30 02:13:30

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

Re: [SOLVED]Bootable usb/media make me to install and reconfigure Grub

I would guess you're running into the same thing as https://bbs.archlinux.org/viewtopic.php?id=304408

Offline

#3 2025-03-30 02:39:25

Mona5
Member
Registered: 2023-07-24
Posts: 42

Re: [SOLVED]Bootable usb/media make me to install and reconfigure Grub

yes i think i have the same problem but what "grub-install --removable" actually do? and other arch users aren't effected by this?

i read about --removable tag its say that

      --removable            the installation device is removable. This option
                             is only available on EFI.

is this correct?

Offline

#4 2025-03-30 02:44:14

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

Re: [SOLVED]Bootable usb/media make me to install and reconfigure Grub

It installs the bootloader to the default loader location. Other users don't have the problem because this is your system firmware being stupid.

Offline

#5 2025-03-30 02:54:26

Mona5
Member
Registered: 2023-07-24
Posts: 42

Re: [SOLVED]Bootable usb/media make me to install and reconfigure Grub

Thank you very much @Scimmia for explain it to me.
i have to check it tomorrow because today i need my system in ready state for my job but tomorrow i can test this method.
thank you.

Last edited by Mona5 (2025-03-30 02:55:07)

Offline

#6 2025-04-09 05:25:23

Mona5
Member
Registered: 2023-07-24
Posts: 42

Re: [SOLVED]Bootable usb/media make me to install and reconfigure Grub

Thanks for @Scimmia i was able to test it and didn't have problem.
Sorry it take to long.
Using --removable in grub-install solved my problem.
you just need to add it with other option you used while installing grub.

Offline

Board footer

Powered by FluxBB