Menu

EFI mount problem

Tim B
2015-08-16
2015-08-19
  • Tim B

    Tim B - 2015-08-16

    I've been using reFInd and before that reFIt for many years on my triple boot Mac Book Pro 6,1 (2010) - Ubuntu, OSX and Win7.

    Recently I've not been able to boot into the other partitions, and reFInd couldn't fix it - I've had it before, since my Mac is pre a lot of the EFI stuff it runs a Hybrid MBR/EFI - I've never been able to get anything else work.

    But since I upgraded to Mavericks I've been having problems, and then reinstalling/changing either Windows or Ubuntu nuked it...it would show 'No bootable disk'. I've got it sort-of working by going back to reFIt temporarily and using gptsync. but no USB or CDs will boot now, and the Grub menu won't respond to selection, no arrows.

    Tried to mount the ESP and I just get errors like these when I try and reinstall rEFInd: (I did originally install it as --notesp but that didn't work, so just tried the new one)

    mount_msdos: Unsupported sector size (0)
    mount_hfs: Invalid argument
    Installing rEFInd to the partition mounted at /Volumes/ESP

    Any idea of how to fix the ESP/EFI partition, change or reinstall the Grub when all I can boot into is OSX or Kubuntu - on the same disk, no 'external disks' such as a Debian Live CD or USB will boot?

     
  • Roderick W. Smith

    First, verify that your first partition (/dev/disk0s1 in OS X or /dev/sda1 in Linux) is the ESP by looking at partition table output. It should have a type code of EF00 in my gdisk, have a type of "EFI" in OS X's standard diskutil, or have its "boot flag" set in parted or GParted under Linux. (OS X's GUI Disk Utility hides the ESP, so that tool is useless for this task.)

    Second, check the filesystem on the ESP. You can do this in OS X with fsck_msdos, as in sudo fsck_msdos /dev/disk0s1. In Linux, the equivalent tool is dosfsck, but you need to pass an option (-a is easiest) to have it repair the filesystem, as in dosfsck -a /dev/sda1.

    You may also have hybrid MBR issues, but that's not 100% clear. I recommend you read a bit about this subject at my hybrid MBR Web page. With that information, you should be able to use gdisk to check for hybrid MBR sensibility for your system.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.