Bug 597191

Summary: RFE: write /dev/disk/by-path paths to /boot/grub/device.map
Product: Red Hat Enterprise Linux 6 Reporter: Hans de Goede <hdegoede>
Component: anacondaAssignee: Peter Jones <pjones>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0Keywords: FutureFeature
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-20 21:08:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hans de Goede 2010-05-28 10:36:25 UTC
When a usb stick is plugged in during installation, it now often becomes sda
(since the usb mass storage scanning delay was reduced). This results in a means /boot/grub/device.map getting writting which contains:
(hd0) /dev/sdb

If the user then later needs to re-install grub and uses the device.amp, without the usb stick present. Things go wrong.

As /dev/sdx names are not really stable it would be much better to write
/dev/disk/by-path/... paths to device.map .

Comment 2 Peter Jones 2010-08-20 21:08:21 UTC
/dev/disk/by-path/ for that is a really bad idea - disk paths change sometimes when new pci devices are installed due to pci enumeration weirdness.