Red Hat Bugzilla – Bug 821201
RFE: hardcode a volume name for LinuxHFS+ volume on Macs, so it doesn't appear as Untitled in OS X
Last modified: 2014-10-06 17:29:20 EDT
Created attachment 584084 [details]
Description of problem:
On EFI Macs, anaconda creates a 200MB HFS+ partition for /boot/efi and it lacks a label. This volume mounts in Mac OS X, and has a disk name of "untitled".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install on a Mac using EFI boot.
1. Option-key startup boot menu shows Fedora logo icon, label "untitled".
2. Mac OS System Preferences > Startup disk, shows label as:
Linux, Fedora 17
3. The volume is mounted in Mac OS X, and has a name "untitled".
4. The volume name in Disk Utility, is "untitled".
The volume needs a name of some sort. Call it Beefy Miracle. Call it F17. Double up and call it Fedora. Anything but untitled which invites it being erased.
program.log contains a line:
18:47:12,978 ERR program: cp: cannot create regular file `/boot/efi/redhat/.disk_label': No such file or directory
Not sure if that's related. Or if -v "Fedora" should be used with mkfs.hfsplus which presently is not using -v to name the volume at creation time.
Not completely fixed in Fedora-17.TC6-x86_64-Live-Desktop.iso.
Option-key+startup boot menu shows label "Fedora". However, the volume mounts in Mac OS X with label "untitled" as well as in System Preferences > Startup Disk.
Discussed this. It's not easily fixable, so certainly won't be happening for 17.
If I copy the contents off /boot/efi and then reformat it with
mkfs.hfsplus -v Fedora /dev/sda3
then copy the contents back, I get "Fedora" as a label in Mac OS, mounted as well as in Startup Disk. On first reboot, option-key startup menu Fedora icon is now labeled "EFI Boot". Not ideal but I think tolerable. After rebooting Mac OS, and it becoming aware of this startup disks true label, subsequent reboots with option key shows the Fedora icon labeled as "Fedora".
Maybe there's some negative fallout to -v when creating the volume I'm not aware of, but it appears to resolve the problem.
Yes, we have no existing infrastructure for passing volume labels down through Anaconda.
Got it. Might be worth a mention in release notes or common bugs.
Installing Fedora on Macs in EFI mode creates an "untitled" volume.
After installing Fedora 17 on a Mac using EFI boot, a 200MB volume named "untitled" will mount in Mac OS X, and also be visible in the System Preferences > Startup Disk panel. A limitation in Anaconda prevents this volume from being named. Users may optionally rename the volume, but should not otherwise modify its contents. Users familiar with vifs can edit fstab to prevent the volume from mounting if they wish.
*** Bug 822235 has been marked as a duplicate of this bug. ***
I think this is fixed now. At least for my dual boot setup I get a nice Fedora logo to pick, not Untitled.
Still a bug with Fedora-Live-Desktop-x86_64-19-TC3-1.iso. See screenshots.
Created attachment 761708 [details]
screen shot from within OS X Finder
Created attachment 761709 [details]
screen shot of Startup Disk panel
Should be set to version 19.
Created attachment 804461 [details]
anaconda 20.20-1 program.log
This is still a bug in F20, anaconda 20.20-1. It would be nice if a label could be set even if it's hard coded, so that the ESP doesn't appear as Untitled in OSX.
In the attached log if this line:
Running... mkfs.hfsplus /dev/sda4
Running... mkfs.hfsplus -v FedoraEFI /dev/sda4
Or some other reasonable name, this bug would be fixed.