USB Bootloader Dual-Boot
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
My goal: try to install Ubuntu on a separate partition of my laptop's HDD which would only be bootable with an inserted USB drive. This drive would contain GRUB and additional ext4 storage, without it the laptop will boot into w8.1 regularly.
My problem: constant installation failure. I've maxed the available space to 20gb on HDD, 16gb on USB. I reckon it could be that my HDD is bitlocker encrypted but I have yet to decrypt it and try again. I am booting with UEFI hybrid with CSM.
I'd like to know whether there's a problem with my concept or if there are some crucial technical details I'm missing.
dual-boot grub2 usb windows-8 bootloader
add a comment |
My goal: try to install Ubuntu on a separate partition of my laptop's HDD which would only be bootable with an inserted USB drive. This drive would contain GRUB and additional ext4 storage, without it the laptop will boot into w8.1 regularly.
My problem: constant installation failure. I've maxed the available space to 20gb on HDD, 16gb on USB. I reckon it could be that my HDD is bitlocker encrypted but I have yet to decrypt it and try again. I am booting with UEFI hybrid with CSM.
I'd like to know whether there's a problem with my concept or if there are some crucial technical details I'm missing.
dual-boot grub2 usb windows-8 bootloader
add a comment |
My goal: try to install Ubuntu on a separate partition of my laptop's HDD which would only be bootable with an inserted USB drive. This drive would contain GRUB and additional ext4 storage, without it the laptop will boot into w8.1 regularly.
My problem: constant installation failure. I've maxed the available space to 20gb on HDD, 16gb on USB. I reckon it could be that my HDD is bitlocker encrypted but I have yet to decrypt it and try again. I am booting with UEFI hybrid with CSM.
I'd like to know whether there's a problem with my concept or if there are some crucial technical details I'm missing.
dual-boot grub2 usb windows-8 bootloader
My goal: try to install Ubuntu on a separate partition of my laptop's HDD which would only be bootable with an inserted USB drive. This drive would contain GRUB and additional ext4 storage, without it the laptop will boot into w8.1 regularly.
My problem: constant installation failure. I've maxed the available space to 20gb on HDD, 16gb on USB. I reckon it could be that my HDD is bitlocker encrypted but I have yet to decrypt it and try again. I am booting with UEFI hybrid with CSM.
I'd like to know whether there's a problem with my concept or if there are some crucial technical details I'm missing.
dual-boot grub2 usb windows-8 bootloader
dual-boot grub2 usb windows-8 bootloader
edited Apr 3 at 13:37
turboburger
asked Apr 3 at 10:05
turboburgerturboburger
32
32
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
In linux and open source world, almost everything is possible 😁
bitlocker is supposed to encrypt a partition, not the whole HDD; so this should not be a problem.
So, assuming you are booting using UEFI (please specify that in your question by editing it), you can create an ESP on your USB drive alongside the ext4 partition. This means you need to reformat it using a GPT header, not MBR.
Just use gparted from the Live USB to format your USB drive:
- Choose to create a new partition table with GPT
- Create a vfat partition and add the boot flag and esp on it (this turn it into an ESP)
- Create the ext4 partition
Then, during the installation, you point GRuB to be instaled on your USB ESP. I have not tested this.
When you boot your laptop, choose to boot from the USB, and this should boot straight away into ubuntu.
While grub in BIOS mode will install to drive you specify, in UEFI mode it only installs to first ESP, usually your Windows ESP. Backup ESP before install as grub will probably overwrite /EFI/Boot/bootx64.efi which is a fallback boot. It is a copy of Windows, but grub will make it a copy of shimx64.efi. After install you can then copy boot files to ESP on flash drive(not installer) and remove /EFI/ubuntu folder from ESP and restore /EFI/Boot file(s). You will only be able to boot from UEFI boot menu. And UEFI only boots flash drive from /EFI/Boot/bootx64.efi, but grub's shim needs /EFI/ubuntu.
– oldfred
Apr 3 at 14:22
Just tested it - It works!!
– turboburger
Apr 3 at 14:52
@turboburger it works as I said or you needed to use the trick of oldfred ? Please mark it as a answer by ticking the check mark. Thanks
– solsTiCe
Apr 3 at 14:54
@solsTiCe Apologies, very new to the platform. I've followed your instructions but was met with the same troubles mentioned in this question I've added a customized boot path which references oldfred solution, it points to the EFIubuntushimx64.efi file present on the USB drive, his solution might also work but I'm settling for what I have now. I set boot priority to custom boot > USB > OS and it all works without a hassle! With the drive unplugged w8.1 boots and with it I go straight to Ubuntu! Many thanks!
– turboburger
Apr 3 at 15:03
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1130868%2fusb-bootloader-dual-boot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In linux and open source world, almost everything is possible 😁
bitlocker is supposed to encrypt a partition, not the whole HDD; so this should not be a problem.
So, assuming you are booting using UEFI (please specify that in your question by editing it), you can create an ESP on your USB drive alongside the ext4 partition. This means you need to reformat it using a GPT header, not MBR.
Just use gparted from the Live USB to format your USB drive:
- Choose to create a new partition table with GPT
- Create a vfat partition and add the boot flag and esp on it (this turn it into an ESP)
- Create the ext4 partition
Then, during the installation, you point GRuB to be instaled on your USB ESP. I have not tested this.
When you boot your laptop, choose to boot from the USB, and this should boot straight away into ubuntu.
While grub in BIOS mode will install to drive you specify, in UEFI mode it only installs to first ESP, usually your Windows ESP. Backup ESP before install as grub will probably overwrite /EFI/Boot/bootx64.efi which is a fallback boot. It is a copy of Windows, but grub will make it a copy of shimx64.efi. After install you can then copy boot files to ESP on flash drive(not installer) and remove /EFI/ubuntu folder from ESP and restore /EFI/Boot file(s). You will only be able to boot from UEFI boot menu. And UEFI only boots flash drive from /EFI/Boot/bootx64.efi, but grub's shim needs /EFI/ubuntu.
– oldfred
Apr 3 at 14:22
Just tested it - It works!!
– turboburger
Apr 3 at 14:52
@turboburger it works as I said or you needed to use the trick of oldfred ? Please mark it as a answer by ticking the check mark. Thanks
– solsTiCe
Apr 3 at 14:54
@solsTiCe Apologies, very new to the platform. I've followed your instructions but was met with the same troubles mentioned in this question I've added a customized boot path which references oldfred solution, it points to the EFIubuntushimx64.efi file present on the USB drive, his solution might also work but I'm settling for what I have now. I set boot priority to custom boot > USB > OS and it all works without a hassle! With the drive unplugged w8.1 boots and with it I go straight to Ubuntu! Many thanks!
– turboburger
Apr 3 at 15:03
add a comment |
In linux and open source world, almost everything is possible 😁
bitlocker is supposed to encrypt a partition, not the whole HDD; so this should not be a problem.
So, assuming you are booting using UEFI (please specify that in your question by editing it), you can create an ESP on your USB drive alongside the ext4 partition. This means you need to reformat it using a GPT header, not MBR.
Just use gparted from the Live USB to format your USB drive:
- Choose to create a new partition table with GPT
- Create a vfat partition and add the boot flag and esp on it (this turn it into an ESP)
- Create the ext4 partition
Then, during the installation, you point GRuB to be instaled on your USB ESP. I have not tested this.
When you boot your laptop, choose to boot from the USB, and this should boot straight away into ubuntu.
While grub in BIOS mode will install to drive you specify, in UEFI mode it only installs to first ESP, usually your Windows ESP. Backup ESP before install as grub will probably overwrite /EFI/Boot/bootx64.efi which is a fallback boot. It is a copy of Windows, but grub will make it a copy of shimx64.efi. After install you can then copy boot files to ESP on flash drive(not installer) and remove /EFI/ubuntu folder from ESP and restore /EFI/Boot file(s). You will only be able to boot from UEFI boot menu. And UEFI only boots flash drive from /EFI/Boot/bootx64.efi, but grub's shim needs /EFI/ubuntu.
– oldfred
Apr 3 at 14:22
Just tested it - It works!!
– turboburger
Apr 3 at 14:52
@turboburger it works as I said or you needed to use the trick of oldfred ? Please mark it as a answer by ticking the check mark. Thanks
– solsTiCe
Apr 3 at 14:54
@solsTiCe Apologies, very new to the platform. I've followed your instructions but was met with the same troubles mentioned in this question I've added a customized boot path which references oldfred solution, it points to the EFIubuntushimx64.efi file present on the USB drive, his solution might also work but I'm settling for what I have now. I set boot priority to custom boot > USB > OS and it all works without a hassle! With the drive unplugged w8.1 boots and with it I go straight to Ubuntu! Many thanks!
– turboburger
Apr 3 at 15:03
add a comment |
In linux and open source world, almost everything is possible 😁
bitlocker is supposed to encrypt a partition, not the whole HDD; so this should not be a problem.
So, assuming you are booting using UEFI (please specify that in your question by editing it), you can create an ESP on your USB drive alongside the ext4 partition. This means you need to reformat it using a GPT header, not MBR.
Just use gparted from the Live USB to format your USB drive:
- Choose to create a new partition table with GPT
- Create a vfat partition and add the boot flag and esp on it (this turn it into an ESP)
- Create the ext4 partition
Then, during the installation, you point GRuB to be instaled on your USB ESP. I have not tested this.
When you boot your laptop, choose to boot from the USB, and this should boot straight away into ubuntu.
In linux and open source world, almost everything is possible 😁
bitlocker is supposed to encrypt a partition, not the whole HDD; so this should not be a problem.
So, assuming you are booting using UEFI (please specify that in your question by editing it), you can create an ESP on your USB drive alongside the ext4 partition. This means you need to reformat it using a GPT header, not MBR.
Just use gparted from the Live USB to format your USB drive:
- Choose to create a new partition table with GPT
- Create a vfat partition and add the boot flag and esp on it (this turn it into an ESP)
- Create the ext4 partition
Then, during the installation, you point GRuB to be instaled on your USB ESP. I have not tested this.
When you boot your laptop, choose to boot from the USB, and this should boot straight away into ubuntu.
answered Apr 3 at 10:41
solsTiCesolsTiCe
6,49132050
6,49132050
While grub in BIOS mode will install to drive you specify, in UEFI mode it only installs to first ESP, usually your Windows ESP. Backup ESP before install as grub will probably overwrite /EFI/Boot/bootx64.efi which is a fallback boot. It is a copy of Windows, but grub will make it a copy of shimx64.efi. After install you can then copy boot files to ESP on flash drive(not installer) and remove /EFI/ubuntu folder from ESP and restore /EFI/Boot file(s). You will only be able to boot from UEFI boot menu. And UEFI only boots flash drive from /EFI/Boot/bootx64.efi, but grub's shim needs /EFI/ubuntu.
– oldfred
Apr 3 at 14:22
Just tested it - It works!!
– turboburger
Apr 3 at 14:52
@turboburger it works as I said or you needed to use the trick of oldfred ? Please mark it as a answer by ticking the check mark. Thanks
– solsTiCe
Apr 3 at 14:54
@solsTiCe Apologies, very new to the platform. I've followed your instructions but was met with the same troubles mentioned in this question I've added a customized boot path which references oldfred solution, it points to the EFIubuntushimx64.efi file present on the USB drive, his solution might also work but I'm settling for what I have now. I set boot priority to custom boot > USB > OS and it all works without a hassle! With the drive unplugged w8.1 boots and with it I go straight to Ubuntu! Many thanks!
– turboburger
Apr 3 at 15:03
add a comment |
While grub in BIOS mode will install to drive you specify, in UEFI mode it only installs to first ESP, usually your Windows ESP. Backup ESP before install as grub will probably overwrite /EFI/Boot/bootx64.efi which is a fallback boot. It is a copy of Windows, but grub will make it a copy of shimx64.efi. After install you can then copy boot files to ESP on flash drive(not installer) and remove /EFI/ubuntu folder from ESP and restore /EFI/Boot file(s). You will only be able to boot from UEFI boot menu. And UEFI only boots flash drive from /EFI/Boot/bootx64.efi, but grub's shim needs /EFI/ubuntu.
– oldfred
Apr 3 at 14:22
Just tested it - It works!!
– turboburger
Apr 3 at 14:52
@turboburger it works as I said or you needed to use the trick of oldfred ? Please mark it as a answer by ticking the check mark. Thanks
– solsTiCe
Apr 3 at 14:54
@solsTiCe Apologies, very new to the platform. I've followed your instructions but was met with the same troubles mentioned in this question I've added a customized boot path which references oldfred solution, it points to the EFIubuntushimx64.efi file present on the USB drive, his solution might also work but I'm settling for what I have now. I set boot priority to custom boot > USB > OS and it all works without a hassle! With the drive unplugged w8.1 boots and with it I go straight to Ubuntu! Many thanks!
– turboburger
Apr 3 at 15:03
While grub in BIOS mode will install to drive you specify, in UEFI mode it only installs to first ESP, usually your Windows ESP. Backup ESP before install as grub will probably overwrite /EFI/Boot/bootx64.efi which is a fallback boot. It is a copy of Windows, but grub will make it a copy of shimx64.efi. After install you can then copy boot files to ESP on flash drive(not installer) and remove /EFI/ubuntu folder from ESP and restore /EFI/Boot file(s). You will only be able to boot from UEFI boot menu. And UEFI only boots flash drive from /EFI/Boot/bootx64.efi, but grub's shim needs /EFI/ubuntu.
– oldfred
Apr 3 at 14:22
While grub in BIOS mode will install to drive you specify, in UEFI mode it only installs to first ESP, usually your Windows ESP. Backup ESP before install as grub will probably overwrite /EFI/Boot/bootx64.efi which is a fallback boot. It is a copy of Windows, but grub will make it a copy of shimx64.efi. After install you can then copy boot files to ESP on flash drive(not installer) and remove /EFI/ubuntu folder from ESP and restore /EFI/Boot file(s). You will only be able to boot from UEFI boot menu. And UEFI only boots flash drive from /EFI/Boot/bootx64.efi, but grub's shim needs /EFI/ubuntu.
– oldfred
Apr 3 at 14:22
Just tested it - It works!!
– turboburger
Apr 3 at 14:52
Just tested it - It works!!
– turboburger
Apr 3 at 14:52
@turboburger it works as I said or you needed to use the trick of oldfred ? Please mark it as a answer by ticking the check mark. Thanks
– solsTiCe
Apr 3 at 14:54
@turboburger it works as I said or you needed to use the trick of oldfred ? Please mark it as a answer by ticking the check mark. Thanks
– solsTiCe
Apr 3 at 14:54
@solsTiCe Apologies, very new to the platform. I've followed your instructions but was met with the same troubles mentioned in this question I've added a customized boot path which references oldfred solution, it points to the EFIubuntushimx64.efi file present on the USB drive, his solution might also work but I'm settling for what I have now. I set boot priority to custom boot > USB > OS and it all works without a hassle! With the drive unplugged w8.1 boots and with it I go straight to Ubuntu! Many thanks!
– turboburger
Apr 3 at 15:03
@solsTiCe Apologies, very new to the platform. I've followed your instructions but was met with the same troubles mentioned in this question I've added a customized boot path which references oldfred solution, it points to the EFIubuntushimx64.efi file present on the USB drive, his solution might also work but I'm settling for what I have now. I set boot priority to custom boot > USB > OS and it all works without a hassle! With the drive unplugged w8.1 boots and with it I go straight to Ubuntu! Many thanks!
– turboburger
Apr 3 at 15:03
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1130868%2fusb-bootloader-dual-boot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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