Bug 855875

Summary: /usr/sbin/grub2-probe --target=hints_string : No such file or directory
Product: [Fedora] Fedora Reporter: Derrien <derrien>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: dcantrell, dennis, mads, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-10 14:09:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Derrien 2012-09-10 13:40:21 UTC
Description of problem:

grub2-mkconfig -o /boot/grub2/grub.cfg doesn't create /boot/grub2/grub.cfg so we are getting the GRUB 2 boot prompt...

The issue seems /usr/sbin/grub2-probe :

[root@bluesy (Fedora 17) grub2]$ /usr/sbin/grub2-probe --device /dev/sdc1 --target=hints_string
/usr/sbin/grub2-probe: error: cannot open `/sys/devices/pci0000:00/0000:00:01.0/0000:02:00.0/host4/port-4:0/end_device-4:0/sas_device:end_device-4:0/phy_identifier': No such file or directory.

There is no '/sys/devices/pci0000:00/0000:00:01.0/0000:02:00.0/host4/port-4:0/end_device-4:0/sas_device:end_device-4:0/phy_identifier' but there is '
/sys/devices/pci0000:00/0000:00:01.0/0000:02:00.0/host4/port-4:0/end_device-4:0/sas_device/end_device-4:0/phy_identifier'

(end_device-4:0/sas_device instead of sas_device:end_device-4:0 )

[root@bluesy (Fedora 17) ~]$ ls -l /sys/devices/pci0000:00/0000:00:01.0/0000:02:00.0/host4/port-4:0/end_device-4:0/sas_device/end_device-4:0/phy_identifier
-r--r--r-- 1 root root 4096 Sep  7 19:04 /sys/devices/pci0000:00/0000:00:01.0/0000:02:00.0/


Version-Release number of selected component (if applicable):
grub2-2.0-0.25.beta4.fc17.x86_64


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Derrien 2012-09-10 13:53:55 UTC
Missing a piece...

[root@bluesy (Fedora 17) anaconda]$ ls -l /sys/devices/pci0000:00/0000:00:01.0/0000:02:00.0/host4/port-4:0/end_device-4:0/sas_device/end_device-4:0/phy_identifier
-r--r--r-- 1 root root 4096 Sep  7 19:04 /sys/devices/pci0000:00/0000:00:01.0/0000:02:00.0/host4/port-4:0/end_device-4:0/sas_device/end_device-4:0/phy_identifier

Comment 2 Mads Kiilerich 2012-09-10 14:09:31 UTC

*** This bug has been marked as a duplicate of bug 826833 ***