GNU GRUB - Bugs: bug #53697, GRUB can't find root device
You are not allowed to post comments on this tracker with your current authentication level.
bug #53697: GRUB can't find root device
Submitter: | Oleg Solovyov <mcpain> | ||
Submitted: | Thu 19 Apr 2018 09:51:49 AM UTC | ||
Category: | Booting | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Software Error |
Status: | None | Privacy: | Public |
Assigned to: | None | Originator Name: | |
Open/Closed: | Open | Release: | Git master |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
Attached Files
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follows 1 latest change.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-04-19 | mcpain | Attached File | - | Added grub.patch, #43973 |
Powered by Savane 3.13-758e.
Corresponding source code
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