Hi,
I am quite new to rEFInd, so please excuse if this is a simple question.
I've installed Fedora 21 in UEFI mode and then installed rEFInd via RPM, without changing any config.
Now, in rEFInd, I am able to boot Fedora if I select the GRUB entry, but not when selecting the vmlinuz one (which is on an ext4 partition), which I understand to be the kernel with EFI stub. When I do the latter, Fedora prints "Entering emergency mode", which seems to come from systemd. It also says there is an error report generated as rdsosreport.txt with this content:
First, be sure you launch the vmlinuz-3.17-* entry, not the vmlinuz-0-rescue* entry; the latter launches a rescue shell for recovering a damaged system.
Second, if that doesn't help, you should check that a /boot/refind_linux.conf file exists in Linux. If it doesn't, run the mkrlconf.sh script that comes with rEFInd. (If you installed the RPM, it should be on your path, so just type mkrlconf.sh as root.)
Finally, if a /boot/refind_linux.conf file already exists, or if adding one doesn't help, you may need to customize your boot options in that file. To figure out what boot options you need, try checking the grub.cfg file. (I don't recall if it's in /boot/grub2 or /boot/efi/EFI/fedora on Fedora.) Alternatively, reboot, enter GRUB, and hit the e key to edit an entry. Either way should show you the kernel options that GRUB is passing. You can then copy them to /boot/refind_linux.conf.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
/boot/refined_linux.conf did exists, but it was missing boot options, in my case ro rootflags=subvol=root (my Fedora root fs is on btrfs). As you can see, grub generates extra options if the root fs is on btrfs or zfs:
Hi,
I am quite new to rEFInd, so please excuse if this is a simple question.
I've installed Fedora 21 in UEFI mode and then installed rEFInd via RPM, without changing any config.
Now, in rEFInd, I am able to boot Fedora if I select the GRUB entry, but not when selecting the vmlinuz one (which is on an ext4 partition), which I understand to be the kernel with EFI stub. When I do the latter, Fedora prints "Entering emergency mode", which seems to come from systemd. It also says there is an error report generated as rdsosreport.txt with this content:
Do you know what's going on here? Thank you very much!
First, be sure you launch the
vmlinuz-3.17-*
entry, not thevmlinuz-0-rescue*
entry; the latter launches a rescue shell for recovering a damaged system.Second, if that doesn't help, you should check that a
/boot/refind_linux.conf
file exists in Linux. If it doesn't, run themkrlconf.sh
script that comes with rEFInd. (If you installed the RPM, it should be on your path, so just typemkrlconf.sh
asroot
.)Finally, if a
/boot/refind_linux.conf
file already exists, or if adding one doesn't help, you may need to customize your boot options in that file. To figure out what boot options you need, try checking thegrub.cfg
file. (I don't recall if it's in/boot/grub2
or/boot/efi/EFI/fedora
on Fedora.) Alternatively, reboot, enter GRUB, and hit thee
key to edit an entry. Either way should show you the kernel options that GRUB is passing. You can then copy them to/boot/refind_linux.conf
.Thank you for your detailed help!
/boot/refined_linux.conf
did exists, but it was missing boot options, in my casero rootflags=subvol=root
(my Fedora root fs is on btrfs). As you can see, grub generates extra options if the root fs is on btrfs or zfs:http://git.savannah.gnu.org/cgit/grub.git/tree/util/grub.d/10_linux.in#n54
Maybe
mkrlconf.sh
could/should do something similar.Best regards, Ernst
Yeah, Btrfs sometimes requires extra options. I'll make a note to look into this in more detail.