Skip to content

rEFInd on Windows EFI does not show boot option for Arch installed on second disk. Please Help

I have done a fresh install on my new laptop.

I have two drives: a SSD (/dev/sda) with windows installed (/dev/sda3) which has an EFI partition (/dev/sda2), and an NVME drive (/dev/nvme0n1) with arch installed.

I read here that you do not need to create a new EFI partition, so I decied to mount the windows created EFI (/dev/sda2). When in the Arch Linux live disk I mounted the root (/dev/nvme0n1p1) and (/dev/sda2) as /boot. Then after chrooting, I ran rEFInd's install script refind-install. No errors and it creates the following refind_linux.conf (this is also what mkrlconf outputs):

"Boot with standard options"  "archisobasedir=arch archisolabel=ARCH_201803"
"Boot to single-user mode"    "archisobasedir=arch archisolabel=ARCH_201803 single"
"Boot with minimal options"   "ro root=/dev/nvme0n1p1"

However, when refind runs from /dev/sda2 it only see's lists the Windows disk as a boot option. I am sure I am doing something wrong. I have also tried with the following manual refind_linux.conf (advised here) with no avail ( UUID from fstab):

"Boot using default options"	"root=PARTUUID=7e51cb03-59c6-4ba9-b0c8-54a1d052f92a rw add_efi_memmap"
"Boot using fallbackinitframs"	"root=PARTUUID=7e51cb03-59c6-4ba9-b0c8-54a1d052f92a rw add_efi_memmap initrd=/boot/initramfs-linux-fallback.img"
"Boot to terminal"	"root=PARTUUID=7e51cb03-59c6-4ba9-b0c8-54a1d052f92a rw add_efi_memmap systemd.unit=multi-user.target"

Any help would be much appreciated. [edits: changed formatting]

Edited 24 Mar 2018. We only hold this version.

0 points2 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
0 · 100% up
Kind
Text
ID
86rcne

Author

17
posts
26
comments
1
media
View profile

2 comments

I have a similar configuration, Linux and windows on different disks. But I did not use efi created by Windows, because Windows has a bad habit in some cases to dispose of this section as he wants, and all that you have done is lost. Therefore, I created an efi on disks with Linux, placed there a refind and manually changed the refind.conf

timeout 10
hideui all
default_selection Arch
include themes/refind-vminimal/theme.conf
menuentry "Arch Linux LTS kernel" {
    icon /EFI/refind/themes/rEFInd-minimal/icons/os_arch.png
    loader vmlinuz-linux-lts
    initrd initramfs-linux-lts.img
    options "root=UUID=d8364e54-fbc7-444e-8210-9732e644d098 rw resume=UUID=cf0a1376-d7d5-4a70-bb09-c9907de5c96b loglevel=4
}

menuentry "Windows" {
    icon /EFI/refind/themes/rEFInd-minimal/icons/os_win.png
    volume winefi
    loader /EFI/Microsoft/Boot/bootmgfw.efi
}

efi on Windows disk I assigned the label winefi

This works great

2 points

Is it possible your bios is looking at the second hard drive as non-efi and instead legacy bios?

2 points

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.