Bug 874234 - GRUB2 fails to install if destination is a symlink (powerpc-ieee1275)
Summary: GRUB2 fails to install if destination is a symlink (powerpc-ieee1275)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 18
Hardware: powerpc
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 871940
TreeView+ depends on / blocked
 
Reported: 2012-11-07 18:38 UTC by Paulo Flabiano Smorigo
Modified: 2012-12-06 07:25 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-06 07:25:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Adds the parameter to fix the problem (1.25 KB, patch)
2012-11-07 18:40 UTC, Paulo Flabiano Smorigo
no flags Details | Diff

Description Paulo Flabiano Smorigo 2012-11-07 18:38:30 UTC
Description of problem:
If the device used in grub2-install is a symlink, the file command must "follow
the link" in order to check the real device.


How reproducible:
# grub2-install /dev/mapper/mpatha1
The PReP partition is not empty. If you are sure you want to use it, run dd to clear it:
  dd if=/dev/zero of=/dev/mapper/mpatha1

This is because the destination is a symlink:
lrwxrwxrwx.  1 root root       7 Nov  7 15:59 mpatha1 -> ../dm-1

Comment 1 Paulo Flabiano Smorigo 2012-11-07 18:40:51 UTC
Created attachment 640268 [details]
Adds the parameter to fix the problem

Comment 2 Fedora Update System 2012-11-27 20:36:00 UTC
grub2-2.00-13.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/grub2-2.00-13.fc18

Comment 3 Fedora Update System 2012-11-28 02:12:00 UTC
Package grub2-2.00-13.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing grub2-2.00-13.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19181/grub2-2.00-13.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-12-06 07:25:30 UTC
grub2-2.00-13.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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