Skip to content

u/Shadow_tv

In this archive from Dec 2022 to Jan 2023

1
posts
5
comments
0
media
5
score

Ok I managed to find the issue. GRUB or Arch was not to blame here, since I am using another drive to boot into Windows, my BIOS upon booting would not initialise the drive before I boot into GRUB, hence why the drive is not detected at all in GRUB through command line. I fixed this in BIOS by adding a 5 second delay before booting to GRUB and this fixed everything, it also explains why when it did work it was very unreliable.

1 points

Hey sorry if I am 22 days late but I tried mounting /dev/sdb2 and while it did mount, os-prober did not find anything and GRUB still could not boot into the Windows Boot Manager with the same error as last time. But I decided to run sudo efibootmgr and I did get this in the output:

BootCurrent: 0004
Timeout: 0 seconds
BootOrder: 0004,0000,0002,0001,0003,0005,0006
Boot0000* Windows Boot Manager  HD(1,GPT,40d41803-6828-454a-aac3-4da8a89ba51f,0x800,0x32000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000061000100000010000000040000007fff0400
Boot0001* CD/DVD Drive  BBS(CDROM,,0x0)0000474f00004e4fad000000010000006f0068007000200048004c004400530020002000440056004400520057002000200047005500440031004e0000000501090003000000007fff040002010c00d041030a0000000001010600001703120a000000ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce63800420052004500500056005400410037003700300038002000300020002000200020002000200000007fff04000000424f
Boot0002* Hard Drive    BBS(HD,,0x0)0000474f00004e4fb1000000010000006f004d00540046004400440041005600320035003600540042004e002d0031004100520031005a00410042004800410000000501090002000000007fff040002010c00d041030a0000000001010600001703120a000100ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce62000200020002000200020004700550056005800300050004a00310041003100580050004100390000007fff04000000424f00004e4fb1000000010000006f00530061006d00730075006e006700200053005300440020003800370030002000450056004f00200031005400420000000501090002000000007fff040002010c00d041030a0000000001010600001703120a000200ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce636005300540050004d004e005400300030003400340030003600340020005600200020002000200000007fff04000000424f00004e4fa7000000010000006f0054004f00530048004900420041002000440054003000310041004300410033003000300000000501090002000000007fff040002010c00d041030a0000000001010600001703120a000400ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce62000200020002000200020002000200020002000580020003900360034004200590058005300410000007fff04000000424f
Boot0003* UEFI:CD/DVD Drive     BBS(129,,0x0)
Boot0004* UEFI OS       HD(1,GPT,7482000b-5cef-4c08-9e08-ace6b28e5bdb,0x800,0xff800)/File(\EFI\BOOT\BOOTX64.EFI)
Boot0005* UEFI:Removable Device BBS(130,,0x0)
Boot0006* UEFI:Network Device   BBS(131,,0x0)

I wonder if there are any clues here with this output. I think it does say that /efi/microsoft/boot/bootmgfw.efi exists there but I am not sure if this means I have to use "40d41803-6828-454a-aac3-4da8a89ba51f" or what.

Edit: After mounting this partition, I can literally see the files in question to boot but the drive isn't even recognized in GRUB for some reason until I boot into Arch. Do I have to change the pass nmb on /dev/sdb1 to 2 or something lower than what I have right now? At this point I just got more questions than answers with grub...

1 points

Maybe. I tried mounting my Windows EFI partition in fstab and it ended up bricking my Linux installation somehow. So I'd be down to try this again provided I know exactly how I should add this EFI partition into fstab to mount. The documentation that I tried to find suggests the Linux EFI partition instead so I am very unsure as to if this information is applicable or if it's going to brick my Arch again. Do you happen to know how I would want to approach this in fstab by chance?

-1 points

Right now I just got Arch on my M.2 SATA SSD and Windows on my 3.5 SATA SSD and while I can boot into both of them, GRUB seems to not work with Windows. OS-prober did not detect the Windows EFI boot partition and then when I forced the issue through /boot/grub/grub.cfg, I got it to work literally once and never again. The error GRUB is giving me is that there is "No such device: (drive UUID)" and then it obviously can't find /efi/Microsoft/boot/bootmgfw.efi because it can't even find the drive associated. It's weird because it worked once and there's no typo in the drive UUID (I checked 3 times).

Outside of that oddity, both OS's work for me, I did use a September 2022 build of both arch linux and archinstall though but I am pretty sure you can easily install arch manually and have everything partitioned. I just wanted to turn my brain off and get an arch installation working at all. If you do want to do the archinstall route for some reason, you have to RUFUS a September 2022 ISO of arch linux and you must NOT update the archinstall baked into your ISO but you will have to wait like a couple minutes for all of the keyrings to update.

1 points

End of this list.

Back to top

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.