GNU GRUB - Bugs: bug #43276, grub_machine_get_bootlocation...
You are not allowed to post comments on this tracker with your current authentication level.
bug #43276: grub_machine_get_bootlocation mishandles root of device
Submitter: | Andreas Schwab <schwab> | ||
Submitted: | Mon 22 Sep 2014 12:21:30 PM UTC | ||
Category: | Booting | Severity: | Major |
Priority: | 5 - Normal | Item Group: | Software Error |
Status: | Fixed | Privacy: | Public |
Assigned to: | arvidjaar | Originator Name: | |
Open/Closed: | Closed | Release: | Git master |
Release: | Reproducibility: | Every Time | |
Planned Release: | None |
Sun 07 Dec 2014 04:59:42 PM UTC, comment #4: |
Vladimir Serbinenko <phcoder> |
Sun 07 Dec 2014 10:19:41 AM UTC, comment #3: I'm not sure I understand your comment. You cannot reproduce the problem anymore or grub_efi_get_filename returns names without leading "/"? |
Andrei Borzenkov <arvidjaar> |
Tue 18 Nov 2014 03:17:39 PM UTC, comment #2: It didn't do that when I last looked at it. |
Andreas Schwab <schwab> |
Tue 18 Nov 2014 01:56:26 PM UTC, comment #1: Could you give more details? grub_efi_get_filename() will always prepend '/'; so for files in root directory we end up with "/file" and set the very first "/" to '\0'. Which effectively is what your patch does.
|
Andrei Borzenkov <arvidjaar> |
Mon 22 Sep 2014 12:21:30 PM UTC, original submission:
If grub.efi was loaded from the root of a device then the default prefix contains the full name of the loaded image, including grub.efi. That means it cannot find a grub.cfg file in the same directory. |
Andreas Schwab <schwab> |
Depends on the following items: None found
Items that depend on this one: None found
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.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2014-12-07 | phcoder | Status | Need Info | Fixed | |
Open/Closed | Open | Closed | |||
2014-11-18 | arvidjaar | Status | None | Need Info | |
Assigned to | None | arvidjaar | |||
2014-09-22 | schwab | Attached File | - | Added 0001-Handle-boot-location-in-root-of-device.patch, #32163 |
Powered by Savane 3.13-f8d8.
Corresponding source code
Commit 7e7293d745ef7c0a13d8cbf12f474843edfdd0ab already fixed it.