You are not logged in.

#1 2021-04-07 06:52:49

Lyralei
Member
Registered: 2021-04-07
Posts: 5

[SOLVED] Need to install GRUB every time I hot-swap My arch SSD

Whenever I hot-swap my arch SSD with my windows SSD, and switch back to Arch SSD, I see black screen with blinking cursor. I have to boot into live CD and follow steps to config grub. Then is works fine, until I hotswap the SSDs again.

   I have modified my laptop to have an internal HDD to store data. And the drive that has operating system can be hotswapped. I have two SSDs, one for Windows and another one for linux. I decided to switch to Arch. The installation went good. I could boot into arch linux. Shutdown and rebooting into system works fine.

   However, the problem arrives when I hotswap my arch SSD with my windows SSD, and switch back to Arch SSD. I install grub on the Arch SSD, not on any other device.

I never had this problem with Neon, Kubuntu and Manjaro.

Last edited by Lyralei (2021-04-07 08:34:24)

Offline

#2 2021-04-07 06:57:14

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] Need to install GRUB every time I hot-swap My arch SSD

So, is windows wiping every other ESP now?
I can safely guess fast boot has been disabled no?

Very weird, but why don’t you provide data on the ESP after this issue’s replication, better, how is grub.cfg when it breaks and if the modules, kernel and initramfs are healthy.


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2021-04-07 08:00:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,343

Re: [SOLVED] Need to install GRUB every time I hot-swap My arch SSD

Hotswapping disks will lead to the relevant NVRAM entries being removed on most motherboard UEFI implementations. Install GRUB with the --removable flag so the fallback UEFI path is populated that every UEFI should boot from regardless.

Offline

#4 2021-04-07 08:31:15

Lyralei
Member
Registered: 2021-04-07
Posts: 5

Re: [SOLVED] Need to install GRUB every time I hot-swap My arch SSD

V1del wrote:

Hotswapping disks will lead to the relevant NVRAM entries being removed on most motherboard UEFI implementations. Install GRUB with the --removable flag so the fallback UEFI path is populated that every UEFI should boot from regardless.

Thank you for the reply. Adding --removable during grub-install seems to have fixed the problem.

Offline

Board footer

Powered by FluxBB