GRUB lost after unplugging SATA HDD












-1















GRUB lost after shutting down, unplugging the drive and power on. Fixed GRUB using the Debian installer and reinstalling GRUB on /dev/sda.



CMOS battery is ok, SATA cable works fine. I have experienced this a couple of times already.



How can I avoid losing GRUB after unplugging it's SATA cable? Except for not unplugging it though.










share|improve this question























  • The way to avoid it to NOT unplug the driver where the bootloader is, be it the old BIOS -> MBR (master boot record) or the new UEFI -> ESP (EFI System Partition).

    – GabrielaGarcia
    Feb 8 at 19:52











  • Can you explain why it persists across shutdowns/reboots and no power but not after unplugging the drive?

    – sudo
    Feb 8 at 19:56











  • Can you elaborate on that statement? At first glance it's nonsensical. And you need to learn how the boot process works. You wouldn't be asking this if you already knew. Learning about the hardware and firmware (BIOS or UEFI) is part of the basics/essentials.

    – GabrielaGarcia
    Feb 8 at 20:00











  • @sudo I'm gonna go out on a limb and say maybe it's because GRUB is being installed on the drive. In my experience, data stored on a drive tends to stick around across shutdowns and power loss, but tends to become unavailable when unplugging the drive. Seems similar to your description of its behavior.

    – 8bittree
    Feb 8 at 21:48
















-1















GRUB lost after shutting down, unplugging the drive and power on. Fixed GRUB using the Debian installer and reinstalling GRUB on /dev/sda.



CMOS battery is ok, SATA cable works fine. I have experienced this a couple of times already.



How can I avoid losing GRUB after unplugging it's SATA cable? Except for not unplugging it though.










share|improve this question























  • The way to avoid it to NOT unplug the driver where the bootloader is, be it the old BIOS -> MBR (master boot record) or the new UEFI -> ESP (EFI System Partition).

    – GabrielaGarcia
    Feb 8 at 19:52











  • Can you explain why it persists across shutdowns/reboots and no power but not after unplugging the drive?

    – sudo
    Feb 8 at 19:56











  • Can you elaborate on that statement? At first glance it's nonsensical. And you need to learn how the boot process works. You wouldn't be asking this if you already knew. Learning about the hardware and firmware (BIOS or UEFI) is part of the basics/essentials.

    – GabrielaGarcia
    Feb 8 at 20:00











  • @sudo I'm gonna go out on a limb and say maybe it's because GRUB is being installed on the drive. In my experience, data stored on a drive tends to stick around across shutdowns and power loss, but tends to become unavailable when unplugging the drive. Seems similar to your description of its behavior.

    – 8bittree
    Feb 8 at 21:48














-1












-1








-1








GRUB lost after shutting down, unplugging the drive and power on. Fixed GRUB using the Debian installer and reinstalling GRUB on /dev/sda.



CMOS battery is ok, SATA cable works fine. I have experienced this a couple of times already.



How can I avoid losing GRUB after unplugging it's SATA cable? Except for not unplugging it though.










share|improve this question














GRUB lost after shutting down, unplugging the drive and power on. Fixed GRUB using the Debian installer and reinstalling GRUB on /dev/sda.



CMOS battery is ok, SATA cable works fine. I have experienced this a couple of times already.



How can I avoid losing GRUB after unplugging it's SATA cable? Except for not unplugging it though.







debian grub debian-stretch






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 8 at 19:49









sudosudo

1646




1646













  • The way to avoid it to NOT unplug the driver where the bootloader is, be it the old BIOS -> MBR (master boot record) or the new UEFI -> ESP (EFI System Partition).

    – GabrielaGarcia
    Feb 8 at 19:52











  • Can you explain why it persists across shutdowns/reboots and no power but not after unplugging the drive?

    – sudo
    Feb 8 at 19:56











  • Can you elaborate on that statement? At first glance it's nonsensical. And you need to learn how the boot process works. You wouldn't be asking this if you already knew. Learning about the hardware and firmware (BIOS or UEFI) is part of the basics/essentials.

    – GabrielaGarcia
    Feb 8 at 20:00











  • @sudo I'm gonna go out on a limb and say maybe it's because GRUB is being installed on the drive. In my experience, data stored on a drive tends to stick around across shutdowns and power loss, but tends to become unavailable when unplugging the drive. Seems similar to your description of its behavior.

    – 8bittree
    Feb 8 at 21:48



















  • The way to avoid it to NOT unplug the driver where the bootloader is, be it the old BIOS -> MBR (master boot record) or the new UEFI -> ESP (EFI System Partition).

    – GabrielaGarcia
    Feb 8 at 19:52











  • Can you explain why it persists across shutdowns/reboots and no power but not after unplugging the drive?

    – sudo
    Feb 8 at 19:56











  • Can you elaborate on that statement? At first glance it's nonsensical. And you need to learn how the boot process works. You wouldn't be asking this if you already knew. Learning about the hardware and firmware (BIOS or UEFI) is part of the basics/essentials.

    – GabrielaGarcia
    Feb 8 at 20:00











  • @sudo I'm gonna go out on a limb and say maybe it's because GRUB is being installed on the drive. In my experience, data stored on a drive tends to stick around across shutdowns and power loss, but tends to become unavailable when unplugging the drive. Seems similar to your description of its behavior.

    – 8bittree
    Feb 8 at 21:48

















The way to avoid it to NOT unplug the driver where the bootloader is, be it the old BIOS -> MBR (master boot record) or the new UEFI -> ESP (EFI System Partition).

– GabrielaGarcia
Feb 8 at 19:52





The way to avoid it to NOT unplug the driver where the bootloader is, be it the old BIOS -> MBR (master boot record) or the new UEFI -> ESP (EFI System Partition).

– GabrielaGarcia
Feb 8 at 19:52













Can you explain why it persists across shutdowns/reboots and no power but not after unplugging the drive?

– sudo
Feb 8 at 19:56





Can you explain why it persists across shutdowns/reboots and no power but not after unplugging the drive?

– sudo
Feb 8 at 19:56













Can you elaborate on that statement? At first glance it's nonsensical. And you need to learn how the boot process works. You wouldn't be asking this if you already knew. Learning about the hardware and firmware (BIOS or UEFI) is part of the basics/essentials.

– GabrielaGarcia
Feb 8 at 20:00





Can you elaborate on that statement? At first glance it's nonsensical. And you need to learn how the boot process works. You wouldn't be asking this if you already knew. Learning about the hardware and firmware (BIOS or UEFI) is part of the basics/essentials.

– GabrielaGarcia
Feb 8 at 20:00













@sudo I'm gonna go out on a limb and say maybe it's because GRUB is being installed on the drive. In my experience, data stored on a drive tends to stick around across shutdowns and power loss, but tends to become unavailable when unplugging the drive. Seems similar to your description of its behavior.

– 8bittree
Feb 8 at 21:48





@sudo I'm gonna go out on a limb and say maybe it's because GRUB is being installed on the drive. In my experience, data stored on a drive tends to stick around across shutdowns and power loss, but tends to become unavailable when unplugging the drive. Seems similar to your description of its behavior.

– 8bittree
Feb 8 at 21:48










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403657%2fgrub-lost-after-unplugging-sata-hdd%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1403657%2fgrub-lost-after-unplugging-sata-hdd%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Index of /

Tribalistas

Listed building