Ubuntu on external hard drive not booting












0














I'm new to ask ubuntu so I apologize if this question has already been asked or if it's in the wrong thread.



I had a question regarding my external hard drive, with Ubuntu installed in it, not being recognized by my computer.



Some background:
I downloaded Ubuntu using a Mac on a USB flashdrive a few weeks ago, then using that USB, I used it to boot my Mac and use the USB to install Ubuntu permanently on an external hard drive I bought. It all went really well and I was able to get Ubuntu working. However, the external hard drive only works on that specific computer. If I boot my Mac with the external hard drive connected, I can choose either iOS or Ubuntu. But, if I connect the external hard drive to a Windows based computer, like my HP Notebook, the computer will either not even display the external hard drive or it'll say "selected boot device failed." I've tried changing the BIOS settings but nothing really works and I'm scared I may change settings and ruin my computer or files.



I was under the impression that it didn't matter what computer you use to install Ubuntu, it should be bootable on any device. But, it seems like my hard drive is only bootable on my Mac. I'd like to be able to boot the external hard drive on any computer. Do you guys think I might have messed up the installation? How could I fix this issue?



I would truly appreciate any advice/help.



Thank you!



-Juan










share|improve this question







New contributor




jnm8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Yes, you messed up the installation. Sorry, Every OS needs a bootloader, a piece of code that tells the computer where to start loading the kernel and OS. From your description, your bootloader is on the Mac instead of on the external drive. Portable installs of Ubuntu can be tricky because the installer defaults are not designed for that particular use case. This means that new users make a lot of mistakes. One option for a portable install is to physically disconnect the internal drives to ensure the bootloader gets written to the correct drive.
    – user535733
    2 days ago












  • With UEFI, you have to have an ESP - efi system partition on your external drive with boot files for UEFI boot. Easiest was is to disconnect or turn off in UEFI the internal drive so only external seen by installer. Otherwise you must manually partition.askubuntu.com/questions/743095/… If you have both drives connected, grub will default to first drive, normally internal drive. You can copy /EFI/ubuntu to external drive & then copy again to /EFI/Boot & rename shimx64.efi to bootx64.efi. UEFI only boots bootx64.efi from exteranl drives.
    – oldfred
    2 days ago
















0














I'm new to ask ubuntu so I apologize if this question has already been asked or if it's in the wrong thread.



I had a question regarding my external hard drive, with Ubuntu installed in it, not being recognized by my computer.



Some background:
I downloaded Ubuntu using a Mac on a USB flashdrive a few weeks ago, then using that USB, I used it to boot my Mac and use the USB to install Ubuntu permanently on an external hard drive I bought. It all went really well and I was able to get Ubuntu working. However, the external hard drive only works on that specific computer. If I boot my Mac with the external hard drive connected, I can choose either iOS or Ubuntu. But, if I connect the external hard drive to a Windows based computer, like my HP Notebook, the computer will either not even display the external hard drive or it'll say "selected boot device failed." I've tried changing the BIOS settings but nothing really works and I'm scared I may change settings and ruin my computer or files.



I was under the impression that it didn't matter what computer you use to install Ubuntu, it should be bootable on any device. But, it seems like my hard drive is only bootable on my Mac. I'd like to be able to boot the external hard drive on any computer. Do you guys think I might have messed up the installation? How could I fix this issue?



I would truly appreciate any advice/help.



Thank you!



-Juan










share|improve this question







New contributor




jnm8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    Yes, you messed up the installation. Sorry, Every OS needs a bootloader, a piece of code that tells the computer where to start loading the kernel and OS. From your description, your bootloader is on the Mac instead of on the external drive. Portable installs of Ubuntu can be tricky because the installer defaults are not designed for that particular use case. This means that new users make a lot of mistakes. One option for a portable install is to physically disconnect the internal drives to ensure the bootloader gets written to the correct drive.
    – user535733
    2 days ago












  • With UEFI, you have to have an ESP - efi system partition on your external drive with boot files for UEFI boot. Easiest was is to disconnect or turn off in UEFI the internal drive so only external seen by installer. Otherwise you must manually partition.askubuntu.com/questions/743095/… If you have both drives connected, grub will default to first drive, normally internal drive. You can copy /EFI/ubuntu to external drive & then copy again to /EFI/Boot & rename shimx64.efi to bootx64.efi. UEFI only boots bootx64.efi from exteranl drives.
    – oldfred
    2 days ago














0












0








0







I'm new to ask ubuntu so I apologize if this question has already been asked or if it's in the wrong thread.



I had a question regarding my external hard drive, with Ubuntu installed in it, not being recognized by my computer.



Some background:
I downloaded Ubuntu using a Mac on a USB flashdrive a few weeks ago, then using that USB, I used it to boot my Mac and use the USB to install Ubuntu permanently on an external hard drive I bought. It all went really well and I was able to get Ubuntu working. However, the external hard drive only works on that specific computer. If I boot my Mac with the external hard drive connected, I can choose either iOS or Ubuntu. But, if I connect the external hard drive to a Windows based computer, like my HP Notebook, the computer will either not even display the external hard drive or it'll say "selected boot device failed." I've tried changing the BIOS settings but nothing really works and I'm scared I may change settings and ruin my computer or files.



I was under the impression that it didn't matter what computer you use to install Ubuntu, it should be bootable on any device. But, it seems like my hard drive is only bootable on my Mac. I'd like to be able to boot the external hard drive on any computer. Do you guys think I might have messed up the installation? How could I fix this issue?



I would truly appreciate any advice/help.



Thank you!



-Juan










share|improve this question







New contributor




jnm8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I'm new to ask ubuntu so I apologize if this question has already been asked or if it's in the wrong thread.



I had a question regarding my external hard drive, with Ubuntu installed in it, not being recognized by my computer.



Some background:
I downloaded Ubuntu using a Mac on a USB flashdrive a few weeks ago, then using that USB, I used it to boot my Mac and use the USB to install Ubuntu permanently on an external hard drive I bought. It all went really well and I was able to get Ubuntu working. However, the external hard drive only works on that specific computer. If I boot my Mac with the external hard drive connected, I can choose either iOS or Ubuntu. But, if I connect the external hard drive to a Windows based computer, like my HP Notebook, the computer will either not even display the external hard drive or it'll say "selected boot device failed." I've tried changing the BIOS settings but nothing really works and I'm scared I may change settings and ruin my computer or files.



I was under the impression that it didn't matter what computer you use to install Ubuntu, it should be bootable on any device. But, it seems like my hard drive is only bootable on my Mac. I'd like to be able to boot the external hard drive on any computer. Do you guys think I might have messed up the installation? How could I fix this issue?



I would truly appreciate any advice/help.



Thank you!



-Juan







boot hard-drive external-hdd






share|improve this question







New contributor




jnm8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




jnm8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




jnm8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









jnm8

11




11




New contributor




jnm8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





jnm8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






jnm8 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1




    Yes, you messed up the installation. Sorry, Every OS needs a bootloader, a piece of code that tells the computer where to start loading the kernel and OS. From your description, your bootloader is on the Mac instead of on the external drive. Portable installs of Ubuntu can be tricky because the installer defaults are not designed for that particular use case. This means that new users make a lot of mistakes. One option for a portable install is to physically disconnect the internal drives to ensure the bootloader gets written to the correct drive.
    – user535733
    2 days ago












  • With UEFI, you have to have an ESP - efi system partition on your external drive with boot files for UEFI boot. Easiest was is to disconnect or turn off in UEFI the internal drive so only external seen by installer. Otherwise you must manually partition.askubuntu.com/questions/743095/… If you have both drives connected, grub will default to first drive, normally internal drive. You can copy /EFI/ubuntu to external drive & then copy again to /EFI/Boot & rename shimx64.efi to bootx64.efi. UEFI only boots bootx64.efi from exteranl drives.
    – oldfred
    2 days ago














  • 1




    Yes, you messed up the installation. Sorry, Every OS needs a bootloader, a piece of code that tells the computer where to start loading the kernel and OS. From your description, your bootloader is on the Mac instead of on the external drive. Portable installs of Ubuntu can be tricky because the installer defaults are not designed for that particular use case. This means that new users make a lot of mistakes. One option for a portable install is to physically disconnect the internal drives to ensure the bootloader gets written to the correct drive.
    – user535733
    2 days ago












  • With UEFI, you have to have an ESP - efi system partition on your external drive with boot files for UEFI boot. Easiest was is to disconnect or turn off in UEFI the internal drive so only external seen by installer. Otherwise you must manually partition.askubuntu.com/questions/743095/… If you have both drives connected, grub will default to first drive, normally internal drive. You can copy /EFI/ubuntu to external drive & then copy again to /EFI/Boot & rename shimx64.efi to bootx64.efi. UEFI only boots bootx64.efi from exteranl drives.
    – oldfred
    2 days ago








1




1




Yes, you messed up the installation. Sorry, Every OS needs a bootloader, a piece of code that tells the computer where to start loading the kernel and OS. From your description, your bootloader is on the Mac instead of on the external drive. Portable installs of Ubuntu can be tricky because the installer defaults are not designed for that particular use case. This means that new users make a lot of mistakes. One option for a portable install is to physically disconnect the internal drives to ensure the bootloader gets written to the correct drive.
– user535733
2 days ago






Yes, you messed up the installation. Sorry, Every OS needs a bootloader, a piece of code that tells the computer where to start loading the kernel and OS. From your description, your bootloader is on the Mac instead of on the external drive. Portable installs of Ubuntu can be tricky because the installer defaults are not designed for that particular use case. This means that new users make a lot of mistakes. One option for a portable install is to physically disconnect the internal drives to ensure the bootloader gets written to the correct drive.
– user535733
2 days ago














With UEFI, you have to have an ESP - efi system partition on your external drive with boot files for UEFI boot. Easiest was is to disconnect or turn off in UEFI the internal drive so only external seen by installer. Otherwise you must manually partition.askubuntu.com/questions/743095/… If you have both drives connected, grub will default to first drive, normally internal drive. You can copy /EFI/ubuntu to external drive & then copy again to /EFI/Boot & rename shimx64.efi to bootx64.efi. UEFI only boots bootx64.efi from exteranl drives.
– oldfred
2 days ago




With UEFI, you have to have an ESP - efi system partition on your external drive with boot files for UEFI boot. Easiest was is to disconnect or turn off in UEFI the internal drive so only external seen by installer. Otherwise you must manually partition.askubuntu.com/questions/743095/… If you have both drives connected, grub will default to first drive, normally internal drive. You can copy /EFI/ubuntu to external drive & then copy again to /EFI/Boot & rename shimx64.efi to bootx64.efi. UEFI only boots bootx64.efi from exteranl drives.
– oldfred
2 days ago










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
});


}
});






jnm8 is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1106965%2fubuntu-on-external-hard-drive-not-booting%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








jnm8 is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















jnm8 is a new contributor. Be nice, and check out our Code of Conduct.













jnm8 is a new contributor. Be nice, and check out our Code of Conduct.












jnm8 is a new contributor. Be nice, and check out our Code of Conduct.
















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f1106965%2fubuntu-on-external-hard-drive-not-booting%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 reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?