Thanks for the reply.

I thought that "set root=(lvm/fedora/root)" told the boot process where
root was.  Where is this stuff documented ?

So I should add something like "root=/dev/mapper/fedora-root" to the
Linuxefi line ?  Do I need anything else to get a minimal system running ?


On Mon, Mar 26, 2018 at 4:38 PM, Samuel Sieb <sam...@sieb.net> wrote:

> On 03/26/2018 09:14 AM, linux guy wrote:
>
>> "Minimal BASH-like line editing..." grub>
>>
>> So...
>>
>> grub> set root=(lvm/fedora/root)
>> grub> linuxefi (hd0,gpt2)/linuz-4.14.13-300.fc27.x86_64
>> grub>initrdefi (hd0,gpt2)/initramfs-4.14.13-300.fc27.x86_64.img
>> grub>boot
>>
>> This gives me a switch root error and stops at the emergency mode prompt
>> #.
>>
>
> You're missing all the parameters to the kernel that tell it where the
> root is.
>
> How do I get my server to boot again ?
>>
>
> From your other email:
>
> > grub2-mkconfig -o /boot/grub2/grub.cfg
>
> That's the wrong place for an EFI system.  You need to mount the EFI
> partition (probably /dev/sda1 in your case) at /boot/efi and the grub.cfg
> is in /boot/efi/EFI/fedora/.
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to