Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 583531 Details for
Bug 815318
grub2 fails to set up a correct boot environment on PowerPC (PowerMac)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to use mkfs
grub2-install-hfs.patch (text/plain), 1.65 KB, created by
Karsten Hopp
on 2012-05-10 12:24:28 UTC
(
hide
)
Description:
patch to use mkfs
Filename:
MIME Type:
Creator:
Karsten Hopp
Created:
2012-05-10 12:24:28 UTC
Size:
1.65 KB
patch
obsolete
>--- grub2-install_orig 2012-05-10 13:46:54.414980457 +0200 >+++ grub2-install 2012-05-10 14:10:34.933574047 +0200 >@@ -780,20 +780,20 @@ > exit 1 > } > else >- hmount ${install_device} >/dev/null 2>&1 >+ hfsmountdir=$(mktemp -d /tmp/hfsmount-XXXXXX) >+ mount -t hfs ${install_device} ${hfsmountdir} > if [ $? -eq 0 ]; then >- humount "${install_device}" > # Change boot device to the harddisk root > boot_device="$ofpath" >- hmount "${install_device}" >- hcopy "${grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform/core.${imgext}" ":" || { >+ cp -f "${grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform/core.${imgext}" ${hfsmountdir}/ || { > gettext "Failed to copy Grub to the HFS partition." 1>&2 >- gettext "Maybe the HFS partition is not empty. If you are sure you want to use it, run hformat to clear it:" 1>&2 >+ gettext "Maybe the HFS partition is not empty. If you are sure you want to use it, run mkfs to clear it:" 1>&2 > echo 1>&2 >- echo " hformat ${install_device}" >+ echo " mkfs -t hfs -- -h ${install_device}" > exit 1 > } >- humount "${install_device}" >+ umount "${install_device}" >+ rmdir ${hfsmountdir} > # We're on PowerMac, it's either /dev/sdaX or /dev/hdaX: > dev="`echo "${install_device}" | sed -e 's/\/dev\/.da//'`" > boot_device="hd:${dev},core.${imgext}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 815318
:
579631
|
580140
| 583531