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

                 Summary: GRUB can't find root device
                 Project: GNU GRUB
            Submitted by: mcpain
            Submitted on: Thu 19 Apr 2018 12:51:49 PM MSK
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Git master
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

I have installed system using partitions:
ext4 /boot, LVM ( ext4-luks /, ext4-luks /home )

After calling update-grub I notice that the 'root' parameter in grub-cfg is
empty.

The reason is that grub-probe returns empty string if it tries to find a root
partition.

The grub-probe software checks whether device have name like "/dev/dm-X" by
checking their basename.
But device can have name like "/dev/mapper/dm-0-luks" and grub-probe skips
that device (which is root)

Fix attached as patchfile



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 19 Apr 2018 12:51:49 PM MSK  Name: grub.patch  Size: 488B   By:
mcpain

<http://savannah.gnu.org/bugs/download.php?file_id=43973>

    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to