Bug 597191 - RFE: write /dev/disk/by-path paths to /boot/grub/device.map
Summary: RFE: write /dev/disk/by-path paths to /boot/grub/device.map
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Peter Jones
QA Contact: Release Test Team
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-28 10:36 UTC by Hans de Goede
Modified: 2010-08-20 21:08 UTC (History)
0 users

Clone Of:
Last Closed: 2010-08-20 21:08:21 UTC

Attachments (Terms of Use)

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.

Note You need to log in before you can comment on or make changes to this bug.