Ask Your Question

GRUB dissapears eveytime i remove my hdd.

asked 2018-06-30 11:20:14 -0500

humbug gravatar image

Hi, eveytime my hdd get's removed, either because i need to change it for another one, or just because i need to dissassemble the laptop, grub dissapears and i can't boot into fedora, i get no option on the bios to do so, how can i fix this and make sure it doesn't happen again?

edit retag flag offensive close merge delete



grub files are usually stored on the hdd. Are you booting efi or legacy mbr.

SteveEbey73701 gravatar imageSteveEbey73701 ( 2018-06-30 18:06:57 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2018-07-01 05:54:14 -0500

masteroman gravatar image

Description of the issue would indicate that you have grub installed only on the drive you're removing. While having multi-boot system with multiple drives that you switch often it is recommended to have grub installed on all of the drives, that way, when you yank the drive out another drive will have grub installed in MBR.

When your computer boots it looks for first 512bytes of the each drive in order specified in boot order in BIOS. First 512b contain stage 1 bootloader which then points to stage 1.5 or 2 bootloader which then can assemble things etc. Without this first sector computer is not seeing anything to boot from.

Note that I talk about "Legacy boot" and not EFI.

edit flag offensive delete link more

answered 2018-06-30 20:57:08 -0500

abadrinath gravatar image

It should appear in your BIOS Boot Manager after a reboot. The GRUB entry exists on the hard disk; that's why it disappears. If you do a df -h, there'll be a partition for it.

Make sure the drive that you insert is the sda drive as well...

edit flag offensive delete link more

Question Tools


Asked: 2018-06-30 11:20:14 -0500

Seen: 51 times

Last updated: Jul 01 '18