Install Grub when ssd is hd1
I have a Dell G3 17 3779 laptop.
It has sata HDD as hd0 and m.2 ssd as hd1. Both in GPT.
I deleted everything in the ssd and installed Windows 10.
I used 4 partitions:
- Windows recovery environment (499M) |
/dev/sdb1
- EFI System (100M) |
/dev/sdb2
- Microsoft reserved (MSR) (16M) |
/dev/sdb3
- Main Windows NTFS partition (70G) |
/dev/sdb4
Also I added for Arch Linux 2 partitions:
- For
/(47.7G) |/dev/sdb5
- For swap (980.3M) |
/dev/sdb6
HDD disk has 2 partitions:
- Microsoft reserved (MSR) (16M) |
/dev/sda1
- Some NTFS (900G) |
/dev/sda2
After Windows I installed arch linux from UEFI following the wiki manual.
GRUB was installed with the usual grub-install without keys
I tried to configure GRUB with manual config:
/boot/grub/grub.cfg
. $prefix/menu.cfg
/boot/grub/menu.cfg
set default=0
set timeout=10
menuentry "ArchLinux" {
linux /boot/vmlinuz-linux root=/dev/sdb4 rw
initrd /boot/initramfs-linux.img
}
menuentry "Windows" {
regexp -s root '((.+))' "$cmdpath"
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
After rebooting just started Windows 10 without any boot menus.
I installed os-prober and tried grub-mkconfig and get some warning like: WARNING: Failed to connect to lvmetad. Falling back to device scanning.
or WARNING: Device /dev/loop0 not initialized in udev database even after waiting 10000000 microseconds.
Instead /dev/loop0 was in all partitions.
And still booting only Windows.
May be it because my HDD is first in BIOS unlike SSD (hd0 vs hd1)?
How to fix this problem?
update: this answer https://askubuntu.com/a/816347/879272 allows me to open grub.
But why BIOS started EFI/Microsoft/Boot/bootmgfw.efi ignoring another boot loaders.
Can I disable this behavior?


grub2 dual-boot
add a comment |
I have a Dell G3 17 3779 laptop.
It has sata HDD as hd0 and m.2 ssd as hd1. Both in GPT.
I deleted everything in the ssd and installed Windows 10.
I used 4 partitions:
- Windows recovery environment (499M) |
/dev/sdb1
- EFI System (100M) |
/dev/sdb2
- Microsoft reserved (MSR) (16M) |
/dev/sdb3
- Main Windows NTFS partition (70G) |
/dev/sdb4
Also I added for Arch Linux 2 partitions:
- For
/(47.7G) |/dev/sdb5
- For swap (980.3M) |
/dev/sdb6
HDD disk has 2 partitions:
- Microsoft reserved (MSR) (16M) |
/dev/sda1
- Some NTFS (900G) |
/dev/sda2
After Windows I installed arch linux from UEFI following the wiki manual.
GRUB was installed with the usual grub-install without keys
I tried to configure GRUB with manual config:
/boot/grub/grub.cfg
. $prefix/menu.cfg
/boot/grub/menu.cfg
set default=0
set timeout=10
menuentry "ArchLinux" {
linux /boot/vmlinuz-linux root=/dev/sdb4 rw
initrd /boot/initramfs-linux.img
}
menuentry "Windows" {
regexp -s root '((.+))' "$cmdpath"
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
After rebooting just started Windows 10 without any boot menus.
I installed os-prober and tried grub-mkconfig and get some warning like: WARNING: Failed to connect to lvmetad. Falling back to device scanning.
or WARNING: Device /dev/loop0 not initialized in udev database even after waiting 10000000 microseconds.
Instead /dev/loop0 was in all partitions.
And still booting only Windows.
May be it because my HDD is first in BIOS unlike SSD (hd0 vs hd1)?
How to fix this problem?
update: this answer https://askubuntu.com/a/816347/879272 allows me to open grub.
But why BIOS started EFI/Microsoft/Boot/bootmgfw.efi ignoring another boot loaders.
Can I disable this behavior?


grub2 dual-boot
I don't see any information in this question about what you've tried changing in the BIOS. EFI allows you to install multiple bootloaders. Usually you set the boot priority in the BIOS.
– Philip Couling
Feb 12 at 18:05
add a comment |
I have a Dell G3 17 3779 laptop.
It has sata HDD as hd0 and m.2 ssd as hd1. Both in GPT.
I deleted everything in the ssd and installed Windows 10.
I used 4 partitions:
- Windows recovery environment (499M) |
/dev/sdb1
- EFI System (100M) |
/dev/sdb2
- Microsoft reserved (MSR) (16M) |
/dev/sdb3
- Main Windows NTFS partition (70G) |
/dev/sdb4
Also I added for Arch Linux 2 partitions:
- For
/(47.7G) |/dev/sdb5
- For swap (980.3M) |
/dev/sdb6
HDD disk has 2 partitions:
- Microsoft reserved (MSR) (16M) |
/dev/sda1
- Some NTFS (900G) |
/dev/sda2
After Windows I installed arch linux from UEFI following the wiki manual.
GRUB was installed with the usual grub-install without keys
I tried to configure GRUB with manual config:
/boot/grub/grub.cfg
. $prefix/menu.cfg
/boot/grub/menu.cfg
set default=0
set timeout=10
menuentry "ArchLinux" {
linux /boot/vmlinuz-linux root=/dev/sdb4 rw
initrd /boot/initramfs-linux.img
}
menuentry "Windows" {
regexp -s root '((.+))' "$cmdpath"
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
After rebooting just started Windows 10 without any boot menus.
I installed os-prober and tried grub-mkconfig and get some warning like: WARNING: Failed to connect to lvmetad. Falling back to device scanning.
or WARNING: Device /dev/loop0 not initialized in udev database even after waiting 10000000 microseconds.
Instead /dev/loop0 was in all partitions.
And still booting only Windows.
May be it because my HDD is first in BIOS unlike SSD (hd0 vs hd1)?
How to fix this problem?
update: this answer https://askubuntu.com/a/816347/879272 allows me to open grub.
But why BIOS started EFI/Microsoft/Boot/bootmgfw.efi ignoring another boot loaders.
Can I disable this behavior?


grub2 dual-boot
I have a Dell G3 17 3779 laptop.
It has sata HDD as hd0 and m.2 ssd as hd1. Both in GPT.
I deleted everything in the ssd and installed Windows 10.
I used 4 partitions:
- Windows recovery environment (499M) |
/dev/sdb1
- EFI System (100M) |
/dev/sdb2
- Microsoft reserved (MSR) (16M) |
/dev/sdb3
- Main Windows NTFS partition (70G) |
/dev/sdb4
Also I added for Arch Linux 2 partitions:
- For
/(47.7G) |/dev/sdb5
- For swap (980.3M) |
/dev/sdb6
HDD disk has 2 partitions:
- Microsoft reserved (MSR) (16M) |
/dev/sda1
- Some NTFS (900G) |
/dev/sda2
After Windows I installed arch linux from UEFI following the wiki manual.
GRUB was installed with the usual grub-install without keys
I tried to configure GRUB with manual config:
/boot/grub/grub.cfg
. $prefix/menu.cfg
/boot/grub/menu.cfg
set default=0
set timeout=10
menuentry "ArchLinux" {
linux /boot/vmlinuz-linux root=/dev/sdb4 rw
initrd /boot/initramfs-linux.img
}
menuentry "Windows" {
regexp -s root '((.+))' "$cmdpath"
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
After rebooting just started Windows 10 without any boot menus.
I installed os-prober and tried grub-mkconfig and get some warning like: WARNING: Failed to connect to lvmetad. Falling back to device scanning.
or WARNING: Device /dev/loop0 not initialized in udev database even after waiting 10000000 microseconds.
Instead /dev/loop0 was in all partitions.
And still booting only Windows.
May be it because my HDD is first in BIOS unlike SSD (hd0 vs hd1)?
How to fix this problem?
update: this answer https://askubuntu.com/a/816347/879272 allows me to open grub.
But why BIOS started EFI/Microsoft/Boot/bootmgfw.efi ignoring another boot loaders.
Can I disable this behavior?


grub2 dual-boot
grub2 dual-boot
edited Dec 25 '18 at 23:43
Rui F Ribeiro
40.6k1479137
40.6k1479137
asked Dec 23 '18 at 12:00
MrModestMrModest
992
992
I don't see any information in this question about what you've tried changing in the BIOS. EFI allows you to install multiple bootloaders. Usually you set the boot priority in the BIOS.
– Philip Couling
Feb 12 at 18:05
add a comment |
I don't see any information in this question about what you've tried changing in the BIOS. EFI allows you to install multiple bootloaders. Usually you set the boot priority in the BIOS.
– Philip Couling
Feb 12 at 18:05
I don't see any information in this question about what you've tried changing in the BIOS. EFI allows you to install multiple bootloaders. Usually you set the boot priority in the BIOS.
– Philip Couling
Feb 12 at 18:05
I don't see any information in this question about what you've tried changing in the BIOS. EFI allows you to install multiple bootloaders. Usually you set the boot priority in the BIOS.
– Philip Couling
Feb 12 at 18:05
add a comment |
4 Answers
4
active
oldest
votes
I think the BIOS is still telling the G3 to boot Windows.
The Dell BIOS has a good file browser to select the bootloader. Enter the BIOS setup (maybe F2 or F8) as soon as you see the Dell logo screen and before Windows starts. Next use the file browser to locate the bootloader grubx64.efi you want to boot and select. Then review the boot order and save the new settings to reboot to Grub.
F12, then choose Setup Bios. I saw boot menu and grubx64.efi was before than Windows Boot Manager in Boot Order
– MrModest
Dec 25 '18 at 20:25
Anyway, will try something again in weekend
– MrModest
Dec 25 '18 at 20:26
Now I tried again install arch and grub. After rebooting started Windows. When I open boot menu (F12) and choose arch started Support Assistent memory test
– MrModest
Dec 30 '18 at 14:23
Bios boot config: imgur.com/a/CVSabQ4
– MrModest
Dec 30 '18 at 15:41
Could you try to go into the BIOS and turn off the HDD in the SATA section leaving just the SSD to boot? If you can boot to Arch then maybe try to install another kernel and see if the pacman makes a good grubx64.efi automatically? You are very close now.
– beginner6789
Dec 30 '18 at 16:13
|
show 4 more comments
Several weeks ago I had the same problem on my laptop. It ignored my GRUB2 and start Windows directly. Here is how I solved this problem:
- Rename the directory
/boot/efi/EFI/MicrosofttoMicrosoft0
- Change the path in
chainloader /EFI/Microsoft/Boot/bootmgfw.efiaccordingly, to/EFI/Microsoft0/Boot/bootmgfw.efi
It seems that the BIOS in my laptop will always put Microsoft boot loader at the top of the list, no matter how you configure it. So, renaming the Microsoft directory in the EFI partition can fool the BIOS and it won't boot into Windows automatically.
Seems like this: askubuntu.com/a/816347/879272 :)
– MrModest
Jan 4 at 9:57
add a comment |
Maybe there is something wrong with the grubx64.efi bootloader. Here is an amazing utility that can boot anything anywhere without a bootloader:
SuperGrub2
EDIT: As an alternate, there is the excellent 'refind' boot manager and specializing in booting the EFI. The utility can be installed to a usb removable disk for allowing an emergency boot of an otherwise unbootable fixed disk or can be installed to the EFI system partition for regular use. The 'refind' can find a grub bootloader or boot the installed kernel directly if built with the UEFI bootloader stub as is frequently included with modern linux distributions.
refind
add a comment |
TBH I do not know the root cause of a similar issue I had dual booting with Win10 and Kali but I spent ages trying to get them to dual boot and failed. This is the hack I used to get it working.
- With Win installed
- Disable secureboot in bios
- Disable fastboot in bios
- Install Ubuntu. Because Ubuntu pays nicely with Win, it installs
grubin a way that Win 'likes' and the machine then successfully dual booted both Win and Ubuntu - Install other linux OS (in my case Kali) but without re-installing
grub
- Boot into Ubuntu and reconfigure
grubfrom Ubuntu (I used `grubcustomizer') to a triple boot - Uninstall Ubuntu
- Boot into your other OS and clean up
gruband set the boot priority to boot as desired (again I usedgrubcustomizer).
When I migrated to this (new) machine I just installed Arch and run windows from Virtualbox, copied the Win data to a folder and shared the folder between the Win VM and Arch. I can now have both machines running (Arch as the workhorse and Win as VM) and work on the shared data drive from whichever platform suits any particular task.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f490588%2finstall-grub-when-ssd-is-hd1%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think the BIOS is still telling the G3 to boot Windows.
The Dell BIOS has a good file browser to select the bootloader. Enter the BIOS setup (maybe F2 or F8) as soon as you see the Dell logo screen and before Windows starts. Next use the file browser to locate the bootloader grubx64.efi you want to boot and select. Then review the boot order and save the new settings to reboot to Grub.
F12, then choose Setup Bios. I saw boot menu and grubx64.efi was before than Windows Boot Manager in Boot Order
– MrModest
Dec 25 '18 at 20:25
Anyway, will try something again in weekend
– MrModest
Dec 25 '18 at 20:26
Now I tried again install arch and grub. After rebooting started Windows. When I open boot menu (F12) and choose arch started Support Assistent memory test
– MrModest
Dec 30 '18 at 14:23
Bios boot config: imgur.com/a/CVSabQ4
– MrModest
Dec 30 '18 at 15:41
Could you try to go into the BIOS and turn off the HDD in the SATA section leaving just the SSD to boot? If you can boot to Arch then maybe try to install another kernel and see if the pacman makes a good grubx64.efi automatically? You are very close now.
– beginner6789
Dec 30 '18 at 16:13
|
show 4 more comments
I think the BIOS is still telling the G3 to boot Windows.
The Dell BIOS has a good file browser to select the bootloader. Enter the BIOS setup (maybe F2 or F8) as soon as you see the Dell logo screen and before Windows starts. Next use the file browser to locate the bootloader grubx64.efi you want to boot and select. Then review the boot order and save the new settings to reboot to Grub.
F12, then choose Setup Bios. I saw boot menu and grubx64.efi was before than Windows Boot Manager in Boot Order
– MrModest
Dec 25 '18 at 20:25
Anyway, will try something again in weekend
– MrModest
Dec 25 '18 at 20:26
Now I tried again install arch and grub. After rebooting started Windows. When I open boot menu (F12) and choose arch started Support Assistent memory test
– MrModest
Dec 30 '18 at 14:23
Bios boot config: imgur.com/a/CVSabQ4
– MrModest
Dec 30 '18 at 15:41
Could you try to go into the BIOS and turn off the HDD in the SATA section leaving just the SSD to boot? If you can boot to Arch then maybe try to install another kernel and see if the pacman makes a good grubx64.efi automatically? You are very close now.
– beginner6789
Dec 30 '18 at 16:13
|
show 4 more comments
I think the BIOS is still telling the G3 to boot Windows.
The Dell BIOS has a good file browser to select the bootloader. Enter the BIOS setup (maybe F2 or F8) as soon as you see the Dell logo screen and before Windows starts. Next use the file browser to locate the bootloader grubx64.efi you want to boot and select. Then review the boot order and save the new settings to reboot to Grub.
I think the BIOS is still telling the G3 to boot Windows.
The Dell BIOS has a good file browser to select the bootloader. Enter the BIOS setup (maybe F2 or F8) as soon as you see the Dell logo screen and before Windows starts. Next use the file browser to locate the bootloader grubx64.efi you want to boot and select. Then review the boot order and save the new settings to reboot to Grub.
edited Dec 25 '18 at 23:44
Rui F Ribeiro
40.6k1479137
40.6k1479137
answered Dec 25 '18 at 11:56
beginner6789beginner6789
935
935
F12, then choose Setup Bios. I saw boot menu and grubx64.efi was before than Windows Boot Manager in Boot Order
– MrModest
Dec 25 '18 at 20:25
Anyway, will try something again in weekend
– MrModest
Dec 25 '18 at 20:26
Now I tried again install arch and grub. After rebooting started Windows. When I open boot menu (F12) and choose arch started Support Assistent memory test
– MrModest
Dec 30 '18 at 14:23
Bios boot config: imgur.com/a/CVSabQ4
– MrModest
Dec 30 '18 at 15:41
Could you try to go into the BIOS and turn off the HDD in the SATA section leaving just the SSD to boot? If you can boot to Arch then maybe try to install another kernel and see if the pacman makes a good grubx64.efi automatically? You are very close now.
– beginner6789
Dec 30 '18 at 16:13
|
show 4 more comments
F12, then choose Setup Bios. I saw boot menu and grubx64.efi was before than Windows Boot Manager in Boot Order
– MrModest
Dec 25 '18 at 20:25
Anyway, will try something again in weekend
– MrModest
Dec 25 '18 at 20:26
Now I tried again install arch and grub. After rebooting started Windows. When I open boot menu (F12) and choose arch started Support Assistent memory test
– MrModest
Dec 30 '18 at 14:23
Bios boot config: imgur.com/a/CVSabQ4
– MrModest
Dec 30 '18 at 15:41
Could you try to go into the BIOS and turn off the HDD in the SATA section leaving just the SSD to boot? If you can boot to Arch then maybe try to install another kernel and see if the pacman makes a good grubx64.efi automatically? You are very close now.
– beginner6789
Dec 30 '18 at 16:13
F12, then choose Setup Bios. I saw boot menu and grubx64.efi was before than Windows Boot Manager in Boot Order
– MrModest
Dec 25 '18 at 20:25
F12, then choose Setup Bios. I saw boot menu and grubx64.efi was before than Windows Boot Manager in Boot Order
– MrModest
Dec 25 '18 at 20:25
Anyway, will try something again in weekend
– MrModest
Dec 25 '18 at 20:26
Anyway, will try something again in weekend
– MrModest
Dec 25 '18 at 20:26
Now I tried again install arch and grub. After rebooting started Windows. When I open boot menu (F12) and choose arch started Support Assistent memory test
– MrModest
Dec 30 '18 at 14:23
Now I tried again install arch and grub. After rebooting started Windows. When I open boot menu (F12) and choose arch started Support Assistent memory test
– MrModest
Dec 30 '18 at 14:23
Bios boot config: imgur.com/a/CVSabQ4
– MrModest
Dec 30 '18 at 15:41
Bios boot config: imgur.com/a/CVSabQ4
– MrModest
Dec 30 '18 at 15:41
Could you try to go into the BIOS and turn off the HDD in the SATA section leaving just the SSD to boot? If you can boot to Arch then maybe try to install another kernel and see if the pacman makes a good grubx64.efi automatically? You are very close now.
– beginner6789
Dec 30 '18 at 16:13
Could you try to go into the BIOS and turn off the HDD in the SATA section leaving just the SSD to boot? If you can boot to Arch then maybe try to install another kernel and see if the pacman makes a good grubx64.efi automatically? You are very close now.
– beginner6789
Dec 30 '18 at 16:13
|
show 4 more comments
Several weeks ago I had the same problem on my laptop. It ignored my GRUB2 and start Windows directly. Here is how I solved this problem:
- Rename the directory
/boot/efi/EFI/MicrosofttoMicrosoft0
- Change the path in
chainloader /EFI/Microsoft/Boot/bootmgfw.efiaccordingly, to/EFI/Microsoft0/Boot/bootmgfw.efi
It seems that the BIOS in my laptop will always put Microsoft boot loader at the top of the list, no matter how you configure it. So, renaming the Microsoft directory in the EFI partition can fool the BIOS and it won't boot into Windows automatically.
Seems like this: askubuntu.com/a/816347/879272 :)
– MrModest
Jan 4 at 9:57
add a comment |
Several weeks ago I had the same problem on my laptop. It ignored my GRUB2 and start Windows directly. Here is how I solved this problem:
- Rename the directory
/boot/efi/EFI/MicrosofttoMicrosoft0
- Change the path in
chainloader /EFI/Microsoft/Boot/bootmgfw.efiaccordingly, to/EFI/Microsoft0/Boot/bootmgfw.efi
It seems that the BIOS in my laptop will always put Microsoft boot loader at the top of the list, no matter how you configure it. So, renaming the Microsoft directory in the EFI partition can fool the BIOS and it won't boot into Windows automatically.
Seems like this: askubuntu.com/a/816347/879272 :)
– MrModest
Jan 4 at 9:57
add a comment |
Several weeks ago I had the same problem on my laptop. It ignored my GRUB2 and start Windows directly. Here is how I solved this problem:
- Rename the directory
/boot/efi/EFI/MicrosofttoMicrosoft0
- Change the path in
chainloader /EFI/Microsoft/Boot/bootmgfw.efiaccordingly, to/EFI/Microsoft0/Boot/bootmgfw.efi
It seems that the BIOS in my laptop will always put Microsoft boot loader at the top of the list, no matter how you configure it. So, renaming the Microsoft directory in the EFI partition can fool the BIOS and it won't boot into Windows automatically.
Several weeks ago I had the same problem on my laptop. It ignored my GRUB2 and start Windows directly. Here is how I solved this problem:
- Rename the directory
/boot/efi/EFI/MicrosofttoMicrosoft0
- Change the path in
chainloader /EFI/Microsoft/Boot/bootmgfw.efiaccordingly, to/EFI/Microsoft0/Boot/bootmgfw.efi
It seems that the BIOS in my laptop will always put Microsoft boot loader at the top of the list, no matter how you configure it. So, renaming the Microsoft directory in the EFI partition can fool the BIOS and it won't boot into Windows automatically.
answered Jan 4 at 6:47
liuqxliuqx
421
421
Seems like this: askubuntu.com/a/816347/879272 :)
– MrModest
Jan 4 at 9:57
add a comment |
Seems like this: askubuntu.com/a/816347/879272 :)
– MrModest
Jan 4 at 9:57
Seems like this: askubuntu.com/a/816347/879272 :)
– MrModest
Jan 4 at 9:57
Seems like this: askubuntu.com/a/816347/879272 :)
– MrModest
Jan 4 at 9:57
add a comment |
Maybe there is something wrong with the grubx64.efi bootloader. Here is an amazing utility that can boot anything anywhere without a bootloader:
SuperGrub2
EDIT: As an alternate, there is the excellent 'refind' boot manager and specializing in booting the EFI. The utility can be installed to a usb removable disk for allowing an emergency boot of an otherwise unbootable fixed disk or can be installed to the EFI system partition for regular use. The 'refind' can find a grub bootloader or boot the installed kernel directly if built with the UEFI bootloader stub as is frequently included with modern linux distributions.
refind
add a comment |
Maybe there is something wrong with the grubx64.efi bootloader. Here is an amazing utility that can boot anything anywhere without a bootloader:
SuperGrub2
EDIT: As an alternate, there is the excellent 'refind' boot manager and specializing in booting the EFI. The utility can be installed to a usb removable disk for allowing an emergency boot of an otherwise unbootable fixed disk or can be installed to the EFI system partition for regular use. The 'refind' can find a grub bootloader or boot the installed kernel directly if built with the UEFI bootloader stub as is frequently included with modern linux distributions.
refind
add a comment |
Maybe there is something wrong with the grubx64.efi bootloader. Here is an amazing utility that can boot anything anywhere without a bootloader:
SuperGrub2
EDIT: As an alternate, there is the excellent 'refind' boot manager and specializing in booting the EFI. The utility can be installed to a usb removable disk for allowing an emergency boot of an otherwise unbootable fixed disk or can be installed to the EFI system partition for regular use. The 'refind' can find a grub bootloader or boot the installed kernel directly if built with the UEFI bootloader stub as is frequently included with modern linux distributions.
refind
Maybe there is something wrong with the grubx64.efi bootloader. Here is an amazing utility that can boot anything anywhere without a bootloader:
SuperGrub2
EDIT: As an alternate, there is the excellent 'refind' boot manager and specializing in booting the EFI. The utility can be installed to a usb removable disk for allowing an emergency boot of an otherwise unbootable fixed disk or can be installed to the EFI system partition for regular use. The 'refind' can find a grub bootloader or boot the installed kernel directly if built with the UEFI bootloader stub as is frequently included with modern linux distributions.
refind
edited Feb 12 at 17:11
answered Dec 26 '18 at 0:36
beginner6789beginner6789
935
935
add a comment |
add a comment |
TBH I do not know the root cause of a similar issue I had dual booting with Win10 and Kali but I spent ages trying to get them to dual boot and failed. This is the hack I used to get it working.
- With Win installed
- Disable secureboot in bios
- Disable fastboot in bios
- Install Ubuntu. Because Ubuntu pays nicely with Win, it installs
grubin a way that Win 'likes' and the machine then successfully dual booted both Win and Ubuntu - Install other linux OS (in my case Kali) but without re-installing
grub
- Boot into Ubuntu and reconfigure
grubfrom Ubuntu (I used `grubcustomizer') to a triple boot - Uninstall Ubuntu
- Boot into your other OS and clean up
gruband set the boot priority to boot as desired (again I usedgrubcustomizer).
When I migrated to this (new) machine I just installed Arch and run windows from Virtualbox, copied the Win data to a folder and shared the folder between the Win VM and Arch. I can now have both machines running (Arch as the workhorse and Win as VM) and work on the shared data drive from whichever platform suits any particular task.
add a comment |
TBH I do not know the root cause of a similar issue I had dual booting with Win10 and Kali but I spent ages trying to get them to dual boot and failed. This is the hack I used to get it working.
- With Win installed
- Disable secureboot in bios
- Disable fastboot in bios
- Install Ubuntu. Because Ubuntu pays nicely with Win, it installs
grubin a way that Win 'likes' and the machine then successfully dual booted both Win and Ubuntu - Install other linux OS (in my case Kali) but without re-installing
grub
- Boot into Ubuntu and reconfigure
grubfrom Ubuntu (I used `grubcustomizer') to a triple boot - Uninstall Ubuntu
- Boot into your other OS and clean up
gruband set the boot priority to boot as desired (again I usedgrubcustomizer).
When I migrated to this (new) machine I just installed Arch and run windows from Virtualbox, copied the Win data to a folder and shared the folder between the Win VM and Arch. I can now have both machines running (Arch as the workhorse and Win as VM) and work on the shared data drive from whichever platform suits any particular task.
add a comment |
TBH I do not know the root cause of a similar issue I had dual booting with Win10 and Kali but I spent ages trying to get them to dual boot and failed. This is the hack I used to get it working.
- With Win installed
- Disable secureboot in bios
- Disable fastboot in bios
- Install Ubuntu. Because Ubuntu pays nicely with Win, it installs
grubin a way that Win 'likes' and the machine then successfully dual booted both Win and Ubuntu - Install other linux OS (in my case Kali) but without re-installing
grub
- Boot into Ubuntu and reconfigure
grubfrom Ubuntu (I used `grubcustomizer') to a triple boot - Uninstall Ubuntu
- Boot into your other OS and clean up
gruband set the boot priority to boot as desired (again I usedgrubcustomizer).
When I migrated to this (new) machine I just installed Arch and run windows from Virtualbox, copied the Win data to a folder and shared the folder between the Win VM and Arch. I can now have both machines running (Arch as the workhorse and Win as VM) and work on the shared data drive from whichever platform suits any particular task.
TBH I do not know the root cause of a similar issue I had dual booting with Win10 and Kali but I spent ages trying to get them to dual boot and failed. This is the hack I used to get it working.
- With Win installed
- Disable secureboot in bios
- Disable fastboot in bios
- Install Ubuntu. Because Ubuntu pays nicely with Win, it installs
grubin a way that Win 'likes' and the machine then successfully dual booted both Win and Ubuntu - Install other linux OS (in my case Kali) but without re-installing
grub
- Boot into Ubuntu and reconfigure
grubfrom Ubuntu (I used `grubcustomizer') to a triple boot - Uninstall Ubuntu
- Boot into your other OS and clean up
gruband set the boot priority to boot as desired (again I usedgrubcustomizer).
When I migrated to this (new) machine I just installed Arch and run windows from Virtualbox, copied the Win data to a folder and shared the folder between the Win VM and Arch. I can now have both machines running (Arch as the workhorse and Win as VM) and work on the shared data drive from whichever platform suits any particular task.
answered Feb 12 at 18:35
bu5hmanbu5hman
1,290314
1,290314
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f490588%2finstall-grub-when-ssd-is-hd1%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
I don't see any information in this question about what you've tried changing in the BIOS. EFI allows you to install multiple bootloaders. Usually you set the boot priority in the BIOS.
– Philip Couling
Feb 12 at 18:05