[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grub Always Boots to Rescue Mode
From: |
Pascal Hambourg |
Subject: |
Re: Grub Always Boots to Rescue Mode |
Date: |
Fri, 7 Jul 2017 20:08:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
Le 07/07/2017 à 14:02, Gordan Bobic a écrit :
For completeness, here is the environment as reported at the prompt before
I manually have to invoke the normal mode:
...
grub> ls
(hd0) (hd0,gpt9) (hd0,gpt2) (hd0,gpt1)
grub> lsmod
Name Ref Count Dependencies
minicmd 1
ls 1 normal,extmod
normal 3 gettext,boot,extcmd,bufio,crypto,terminal,net
AFAICS, GRUB is already running in normal mode.
Otherwise, it would print the rescue prompt "grub rescue>" instead of
the normal prompt "grub>", and "set" would not print as much information.
It looks GRUB just does not load the config file.
Instead of typing "normal", you could type "configfile $prefix/grub.cfg"
to load the config file.
grub> set
...
prefix=(hd0,gpt1)/ROOT@/boot/grub2
...
gpt2 is the EFI partition, gpt9 is a reserved partition with nothing on it,
gpt1 is a ZFS root pool (but all grub requirements are on the EFI FAT
partition gpt2).
Are you sure ? It appears that $prefix points to a directory gpt1 to
look for grub.cfg and other GRUB files.