bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #41883] Booting from NVMe Device Enters GRUB rescue


From: Vinayak Holikatti
Subject: [bug #41883] Booting from NVMe Device Enters GRUB rescue
Date: Mon, 17 Mar 2014 10:22:37 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:27.0) Gecko/20100101 Firefox/27.0

URL:
  <http://savannah.gnu.org/bugs/?41883>

                 Summary: Booting from NVMe Device Enters GRUB rescue
                 Project: GNU GRUB
            Submitted by: vinholi
            Submitted on: Mon 17 Mar 2014 10:22:35 AM GMT
                Category: Installation
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Vinayak Holikatti
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 2.02~beta1
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

Hi All,

We have developed Legacy OptionROM for NVMe controller device. We are able to
boot to all Windows 7 and later OS. But we are facing issue in booting Fedora
20 x86_64 OS. Fedora 20 gets installed successfully on NVMe device. While
booting from NVMe device we are observing error as follows and enters grub
rescue. boot to Fedora 20 OS from our controller.

"error : no such device: 44d1bf09-4e8a-4f46-aea6-09e364abf5cb.
Entering rescue mode...
grub_rescue>"

The ls command at grub_rescue shows as below
grub_rescue>ls
(hd0)

And set command output as below

grub_rescue>set
prefix = (hd0)/grub2
root = hd0

Earlier we have been seeking help from help-grub mailing list.

We got help from Jordan Uggla <address@hidden>. He has some insight on
the problem as below 

"It looks like the problem is as I expected, grub-install is treating
/dev/nvme0n1p1 as a *drive* (not a partition), and is treating /dev/nvme01 as
another drive, with no relation to /dev/nvme01p1.
 
>From there, it realizes that you're doing a cross-disk install (though you're
actually not) and so configures things for that case (searching for $prefix by
UUID), and it also realizes that there is no partition table on /dev/nvme0n1p1
(because said device *is* a partition) and so expects that it will not need
any partition modules at boot to read from it.

You can likely work around this problem therefore by running
"grub-install --modules=part_msdos /dev/nvme0n1", but *please* try grub 2.02
beta2 anyway (without --modules) and file a bug report if it fails, even if
this works, because A: It's an ugly hack that could stop working at any time
and B: It would be nice to have this working properly by 2.02 final."

We tried the solution which Jordan Uggla <address@hidden> suggested.

We tried to install grub after Linux FC20 Installation by using the below
command line 

"grub2-install --modules=part_msdos --boot-directory=/mnt/sysimage/boot
/dev/nvme0n1"

With above workaround we are able to boot Linux Fedora 20. But Jordan expects
this to work withour the workaround for grub 2.02 beta.

With Grub 2.02 beta we are still facing the issue to booting to NVMe device.
Booting from NVMe device enters GRUB rescue prompt.








    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41883>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]