grub2 no such device (Win10 / Fedora)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0














I have Win10 installed on a nvme drive. I have installed Fedora 29 on another ssd with LVM.



When grub boots, it shows Fedora & Windows 10 on the list, as it should.



But starting with Windows leads to a black screen with



...commands/search.c:296:no such device: 0897-5A52


and fails to load, goes back to grub menu. If I start on the Windows partition from BIOS UEFI menu, Windows starts ok.



The output from sudo blkid shows:



...
/dev/nvme0n1p2: UUID="0897-5A52" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="2a17028a-fbb0-40e8-940e-64c4d3082718"
...


The boot script for the Windows grub entry is:



insmod part_gpt
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 0897-5A52
else
search --no-floppy --fs-uuid --set=root 0897-5A52
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi


Everything looks fine to me, and I don't get why GRUB wouldn't find the "0897-5A52" UUID, because all indicates it exists and is the right handler.



Note: encryption is enabled on the Windows hdd, but I guess it does not encrypt the boot partition :)










share|improve this question





















  • The EFI system partition filesystem might have errors and need to be checked.
    – Michael Hampton
    Dec 28 '18 at 16:06










  • How would you do that? Solved it with below though
    – Mic
    Dec 28 '18 at 16:13















0














I have Win10 installed on a nvme drive. I have installed Fedora 29 on another ssd with LVM.



When grub boots, it shows Fedora & Windows 10 on the list, as it should.



But starting with Windows leads to a black screen with



...commands/search.c:296:no such device: 0897-5A52


and fails to load, goes back to grub menu. If I start on the Windows partition from BIOS UEFI menu, Windows starts ok.



The output from sudo blkid shows:



...
/dev/nvme0n1p2: UUID="0897-5A52" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="2a17028a-fbb0-40e8-940e-64c4d3082718"
...


The boot script for the Windows grub entry is:



insmod part_gpt
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 0897-5A52
else
search --no-floppy --fs-uuid --set=root 0897-5A52
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi


Everything looks fine to me, and I don't get why GRUB wouldn't find the "0897-5A52" UUID, because all indicates it exists and is the right handler.



Note: encryption is enabled on the Windows hdd, but I guess it does not encrypt the boot partition :)










share|improve this question





















  • The EFI system partition filesystem might have errors and need to be checked.
    – Michael Hampton
    Dec 28 '18 at 16:06










  • How would you do that? Solved it with below though
    – Mic
    Dec 28 '18 at 16:13













0












0








0







I have Win10 installed on a nvme drive. I have installed Fedora 29 on another ssd with LVM.



When grub boots, it shows Fedora & Windows 10 on the list, as it should.



But starting with Windows leads to a black screen with



...commands/search.c:296:no such device: 0897-5A52


and fails to load, goes back to grub menu. If I start on the Windows partition from BIOS UEFI menu, Windows starts ok.



The output from sudo blkid shows:



...
/dev/nvme0n1p2: UUID="0897-5A52" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="2a17028a-fbb0-40e8-940e-64c4d3082718"
...


The boot script for the Windows grub entry is:



insmod part_gpt
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 0897-5A52
else
search --no-floppy --fs-uuid --set=root 0897-5A52
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi


Everything looks fine to me, and I don't get why GRUB wouldn't find the "0897-5A52" UUID, because all indicates it exists and is the right handler.



Note: encryption is enabled on the Windows hdd, but I guess it does not encrypt the boot partition :)










share|improve this question













I have Win10 installed on a nvme drive. I have installed Fedora 29 on another ssd with LVM.



When grub boots, it shows Fedora & Windows 10 on the list, as it should.



But starting with Windows leads to a black screen with



...commands/search.c:296:no such device: 0897-5A52


and fails to load, goes back to grub menu. If I start on the Windows partition from BIOS UEFI menu, Windows starts ok.



The output from sudo blkid shows:



...
/dev/nvme0n1p2: UUID="0897-5A52" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="2a17028a-fbb0-40e8-940e-64c4d3082718"
...


The boot script for the Windows grub entry is:



insmod part_gpt
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 0897-5A52
else
search --no-floppy --fs-uuid --set=root 0897-5A52
fi
chainloader /EFI/Microsoft/Boot/bootmgfw.efi


Everything looks fine to me, and I don't get why GRUB wouldn't find the "0897-5A52" UUID, because all indicates it exists and is the right handler.



Note: encryption is enabled on the Windows hdd, but I guess it does not encrypt the boot partition :)







fedora boot windows grub2 uefi






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 21 '18 at 9:05









Mic

1066




1066











  • The EFI system partition filesystem might have errors and need to be checked.
    – Michael Hampton
    Dec 28 '18 at 16:06










  • How would you do that? Solved it with below though
    – Mic
    Dec 28 '18 at 16:13
















  • The EFI system partition filesystem might have errors and need to be checked.
    – Michael Hampton
    Dec 28 '18 at 16:06










  • How would you do that? Solved it with below though
    – Mic
    Dec 28 '18 at 16:13















The EFI system partition filesystem might have errors and need to be checked.
– Michael Hampton
Dec 28 '18 at 16:06




The EFI system partition filesystem might have errors and need to be checked.
– Michael Hampton
Dec 28 '18 at 16:06












How would you do that? Solved it with below though
– Mic
Dec 28 '18 at 16:13




How would you do that? Solved it with below though
– Mic
Dec 28 '18 at 16:13










1 Answer
1






active

oldest

votes


















0














For the googlers out there.



I ended up replacing this code with a simple set=root /dev/nvme0n1p2 and it solved the issue. [But I ran into another one, which is another matter.]



I also saw somewhere insmod search_fs_uuid. Maybe adding that to my code would have made it work. Didn't try though.



Working config is thus:



insmod part_gpt
insmod fat
set root=/dev/nvme0n1p2
chainloader /EFI/Microsoft/Boot/bootmgfw.efi





share|improve this answer






















  • But now running into: unix.stackexchange.com/questions/491992/…
    – Mic
    22 hours ago










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



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f490287%2fgrub2-no-such-device-win10-fedora%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









0














For the googlers out there.



I ended up replacing this code with a simple set=root /dev/nvme0n1p2 and it solved the issue. [But I ran into another one, which is another matter.]



I also saw somewhere insmod search_fs_uuid. Maybe adding that to my code would have made it work. Didn't try though.



Working config is thus:



insmod part_gpt
insmod fat
set root=/dev/nvme0n1p2
chainloader /EFI/Microsoft/Boot/bootmgfw.efi





share|improve this answer






















  • But now running into: unix.stackexchange.com/questions/491992/…
    – Mic
    22 hours ago















0














For the googlers out there.



I ended up replacing this code with a simple set=root /dev/nvme0n1p2 and it solved the issue. [But I ran into another one, which is another matter.]



I also saw somewhere insmod search_fs_uuid. Maybe adding that to my code would have made it work. Didn't try though.



Working config is thus:



insmod part_gpt
insmod fat
set root=/dev/nvme0n1p2
chainloader /EFI/Microsoft/Boot/bootmgfw.efi





share|improve this answer






















  • But now running into: unix.stackexchange.com/questions/491992/…
    – Mic
    22 hours ago













0












0








0






For the googlers out there.



I ended up replacing this code with a simple set=root /dev/nvme0n1p2 and it solved the issue. [But I ran into another one, which is another matter.]



I also saw somewhere insmod search_fs_uuid. Maybe adding that to my code would have made it work. Didn't try though.



Working config is thus:



insmod part_gpt
insmod fat
set root=/dev/nvme0n1p2
chainloader /EFI/Microsoft/Boot/bootmgfw.efi





share|improve this answer














For the googlers out there.



I ended up replacing this code with a simple set=root /dev/nvme0n1p2 and it solved the issue. [But I ran into another one, which is another matter.]



I also saw somewhere insmod search_fs_uuid. Maybe adding that to my code would have made it work. Didn't try though.



Working config is thus:



insmod part_gpt
insmod fat
set root=/dev/nvme0n1p2
chainloader /EFI/Microsoft/Boot/bootmgfw.efi






share|improve this answer














share|improve this answer



share|improve this answer








edited 22 hours ago

























answered Dec 28 '18 at 10:23









Mic

1066




1066











  • But now running into: unix.stackexchange.com/questions/491992/…
    – Mic
    22 hours ago
















  • But now running into: unix.stackexchange.com/questions/491992/…
    – Mic
    22 hours ago















But now running into: unix.stackexchange.com/questions/491992/…
– Mic
22 hours ago




But now running into: unix.stackexchange.com/questions/491992/…
– Mic
22 hours ago

















draft saved

draft discarded
















































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.





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%2funix.stackexchange.com%2fquestions%2f490287%2fgrub2-no-such-device-win10-fedora%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 check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay