External Hard Drive Causes System to Boot Into Emergency Mode?












0















This is the entry in fstab for my external hard drive that causes the system to boot into emergency mode:



#UUID=0f834b1e-78a4-4b8b-9528-3b6c3f5ae37b /media/sarah/ELYSIUM btrfs defaults,space_cache,compress=zstd,autodefrag 0   0


What exactly causes this, and how can I auto-mount the drive with the specified options when I plug in the drive without booting into emergency mode?



I've read and understand the formatting of fstab from posts such as (How to make partitions mount at startup?) and their answers.



Should I have an entry for a removable drive in fstab, or is this only for drives to mount at boot and all others need to be mounted using mount?



System: Kubuntu 18.04.01 LTS










share|improve this question

























  • You show a space after the comma after defaults, no spaces allowed. I do not mount external drives with fstab, but typically label every partition so mounted with label. I have seen where you should have the autofs or noauto option for external drives, in case drive is not available when rebooting. Often external drives do not come up to speed as fast as Ubuntu boots.

    – oldfred
    Feb 10 at 21:26













  • @oldfred My bad, that wasn't there in the file. So should I use autofs or noauto?

    – Sarah Szabo
    Feb 10 at 21:48











  • I have not used either one, but others have posted to use autofs, often used with nfs but also suggested for any drive not permanently mounted. unix.stackexchange.com/questions/266196/… I think noauto will just not mount, but you have to mount it yourself. superuser.com/questions/1038136/… I believe defaults includes auto, so that may be a conflict. see man mount and man fstab

    – oldfred
    Feb 10 at 22:50


















0















This is the entry in fstab for my external hard drive that causes the system to boot into emergency mode:



#UUID=0f834b1e-78a4-4b8b-9528-3b6c3f5ae37b /media/sarah/ELYSIUM btrfs defaults,space_cache,compress=zstd,autodefrag 0   0


What exactly causes this, and how can I auto-mount the drive with the specified options when I plug in the drive without booting into emergency mode?



I've read and understand the formatting of fstab from posts such as (How to make partitions mount at startup?) and their answers.



Should I have an entry for a removable drive in fstab, or is this only for drives to mount at boot and all others need to be mounted using mount?



System: Kubuntu 18.04.01 LTS










share|improve this question

























  • You show a space after the comma after defaults, no spaces allowed. I do not mount external drives with fstab, but typically label every partition so mounted with label. I have seen where you should have the autofs or noauto option for external drives, in case drive is not available when rebooting. Often external drives do not come up to speed as fast as Ubuntu boots.

    – oldfred
    Feb 10 at 21:26













  • @oldfred My bad, that wasn't there in the file. So should I use autofs or noauto?

    – Sarah Szabo
    Feb 10 at 21:48











  • I have not used either one, but others have posted to use autofs, often used with nfs but also suggested for any drive not permanently mounted. unix.stackexchange.com/questions/266196/… I think noauto will just not mount, but you have to mount it yourself. superuser.com/questions/1038136/… I believe defaults includes auto, so that may be a conflict. see man mount and man fstab

    – oldfred
    Feb 10 at 22:50
















0












0








0








This is the entry in fstab for my external hard drive that causes the system to boot into emergency mode:



#UUID=0f834b1e-78a4-4b8b-9528-3b6c3f5ae37b /media/sarah/ELYSIUM btrfs defaults,space_cache,compress=zstd,autodefrag 0   0


What exactly causes this, and how can I auto-mount the drive with the specified options when I plug in the drive without booting into emergency mode?



I've read and understand the formatting of fstab from posts such as (How to make partitions mount at startup?) and their answers.



Should I have an entry for a removable drive in fstab, or is this only for drives to mount at boot and all others need to be mounted using mount?



System: Kubuntu 18.04.01 LTS










share|improve this question
















This is the entry in fstab for my external hard drive that causes the system to boot into emergency mode:



#UUID=0f834b1e-78a4-4b8b-9528-3b6c3f5ae37b /media/sarah/ELYSIUM btrfs defaults,space_cache,compress=zstd,autodefrag 0   0


What exactly causes this, and how can I auto-mount the drive with the specified options when I plug in the drive without booting into emergency mode?



I've read and understand the formatting of fstab from posts such as (How to make partitions mount at startup?) and their answers.



Should I have an entry for a removable drive in fstab, or is this only for drives to mount at boot and all others need to be mounted using mount?



System: Kubuntu 18.04.01 LTS







boot hard-drive fstab






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 10 at 21:46







Sarah Szabo

















asked Feb 10 at 21:07









Sarah SzaboSarah Szabo

401921




401921













  • You show a space after the comma after defaults, no spaces allowed. I do not mount external drives with fstab, but typically label every partition so mounted with label. I have seen where you should have the autofs or noauto option for external drives, in case drive is not available when rebooting. Often external drives do not come up to speed as fast as Ubuntu boots.

    – oldfred
    Feb 10 at 21:26













  • @oldfred My bad, that wasn't there in the file. So should I use autofs or noauto?

    – Sarah Szabo
    Feb 10 at 21:48











  • I have not used either one, but others have posted to use autofs, often used with nfs but also suggested for any drive not permanently mounted. unix.stackexchange.com/questions/266196/… I think noauto will just not mount, but you have to mount it yourself. superuser.com/questions/1038136/… I believe defaults includes auto, so that may be a conflict. see man mount and man fstab

    – oldfred
    Feb 10 at 22:50





















  • You show a space after the comma after defaults, no spaces allowed. I do not mount external drives with fstab, but typically label every partition so mounted with label. I have seen where you should have the autofs or noauto option for external drives, in case drive is not available when rebooting. Often external drives do not come up to speed as fast as Ubuntu boots.

    – oldfred
    Feb 10 at 21:26













  • @oldfred My bad, that wasn't there in the file. So should I use autofs or noauto?

    – Sarah Szabo
    Feb 10 at 21:48











  • I have not used either one, but others have posted to use autofs, often used with nfs but also suggested for any drive not permanently mounted. unix.stackexchange.com/questions/266196/… I think noauto will just not mount, but you have to mount it yourself. superuser.com/questions/1038136/… I believe defaults includes auto, so that may be a conflict. see man mount and man fstab

    – oldfred
    Feb 10 at 22:50



















You show a space after the comma after defaults, no spaces allowed. I do not mount external drives with fstab, but typically label every partition so mounted with label. I have seen where you should have the autofs or noauto option for external drives, in case drive is not available when rebooting. Often external drives do not come up to speed as fast as Ubuntu boots.

– oldfred
Feb 10 at 21:26







You show a space after the comma after defaults, no spaces allowed. I do not mount external drives with fstab, but typically label every partition so mounted with label. I have seen where you should have the autofs or noauto option for external drives, in case drive is not available when rebooting. Often external drives do not come up to speed as fast as Ubuntu boots.

– oldfred
Feb 10 at 21:26















@oldfred My bad, that wasn't there in the file. So should I use autofs or noauto?

– Sarah Szabo
Feb 10 at 21:48





@oldfred My bad, that wasn't there in the file. So should I use autofs or noauto?

– Sarah Szabo
Feb 10 at 21:48













I have not used either one, but others have posted to use autofs, often used with nfs but also suggested for any drive not permanently mounted. unix.stackexchange.com/questions/266196/… I think noauto will just not mount, but you have to mount it yourself. superuser.com/questions/1038136/… I believe defaults includes auto, so that may be a conflict. see man mount and man fstab

– oldfred
Feb 10 at 22:50







I have not used either one, but others have posted to use autofs, often used with nfs but also suggested for any drive not permanently mounted. unix.stackexchange.com/questions/266196/… I think noauto will just not mount, but you have to mount it yourself. superuser.com/questions/1038136/… I believe defaults includes auto, so that may be a conflict. see man mount and man fstab

– oldfred
Feb 10 at 22:50












0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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%2faskubuntu.com%2fquestions%2f1117212%2fexternal-hard-drive-causes-system-to-boot-into-emergency-mode%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 Ask Ubuntu!


  • 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%2faskubuntu.com%2fquestions%2f1117212%2fexternal-hard-drive-causes-system-to-boot-into-emergency-mode%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

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀