bug-grub
[Top][All Lists]
Advanced

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

[bug #53697] GRUB can't find root device


From: Oleg Solovyov
Subject: [bug #53697] GRUB can't find root device
Date: Thu, 19 Apr 2018 05:51:52 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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/




reply via email to

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