[Tutorial] EFI Booting Crucial / Micron M550 firmware updater

Discussion in 'Windows, Linux & Others on the Mac' started by alex0002, Feb 5, 2015.

  1. alex0002, Feb 5, 2015
    Last edited: Feb 20, 2015

    alex0002 macrumors 6502

    Joined:
    Jun 19, 2013
    Location:
    New Zealand
    #1
    The firmware update for the Crucial/Micron M550 SSD now provides the firmware update tool for firmware MU02 implemented as a linux kernel and ramdisk contained in an ISO image.[1]

    Since we can boot a linux kernel using EFI, it should be possible to boot a Mac from USB with an EFI bootloader and update the SSD firmware without an optical drive. This EFI Boot USB method can also be used in cases where update from the optical drive fails.

    Downloads and items needed before you begin:

    1. Crucial / Micron Firmware download for M550 SSD.[2]
    2. USB flash drive (or SD card) to be formatted as a FAT32 volume.
    3. GRUB-EFI bootloader files for 64bit EFI from the attachment.

    Download the firmware, unzip and place the ISO on the desktop.
    For M550 MU02: M550_SED_UPDATE_MU02_BOOTABLE.iso

    Download the GRUB-EFI bootloader files from the attachment: grubefiusb-0.02.zip
    The GRUB license is GPL and is included in the zip file.

    The individual file checksums can be verified:

    Code:
    $ shasum EFI/boot/bootx64.efi 
    093b2e05d8ad4c2bb8ca01d01c15fdaa6ff50174  EFI/boot/bootx64.efi
    $ shasum EFI/boot/unicode.pf2 
    74bf975b64be55f4e1b2abac4320966782f8d388  EFI/boot/unicode.pf2
    $ shasum EFI/boot/grub.cfg 
    d850dd77e88f2880ddfaf31a5f1765916e519784  EFI/boot/grub.cfg
    
    The original GRUB-EFI files can be downloaded from the Gparted project on sourceforge if preferred.[3]
    The same EFI Boot method can also be used to boot MicroCore linux or some other small linux system.[4]

    Please note: using GRUB to boot the Micron firmware updater is unsupported.
    Use this option at your own risk.

    The installation procedure:

    1. To format the USB flash drive, insert the USB in the Mac.

    Format the USB drive as FAT32 (MS-DOS in OS X Disk Utility).
    - use Partition Map type: Master Boot Record.
    - use a suitable volume name - in this case we use: EFIBOOT

    [​IMG]

    Once formatting is complete, the volume should be mounted as EFIBOOT.

    2. To install the EFI bootloader, open the folder containing GRUB-EFI files:

    * EFI/boot/unicode.pf2
    * EFI/boot/bootx64.efi
    * EFI/boot/grub.cfg

    3. Transfer those files to the EFIBOOT USB:

    The EFI folder and files should be copied to the root of the USB flash drive.

    4. Install the Crucial / Micron firmware update folders to the USB.

    Open the M550 firmware ISO where there will be two folders:

    * boot
    * cde

    Now copy those folders and files to the root of the EFIBOOT USB.

    The EFIBOOT volume should now contain the following folders:

    * EFI
    * boot
    * cde

    The files provided in the cde folder of the Crucial/Micro download, do not appear to be used in the M550 MU02 update, but there is no harm in having them on the USB.

    In practice, the following files are needed on the USB:

    * EFI/boot/unicode.pf2
    * EFI/boot/bootx64.efi
    * EFI/boot/grub.cfg
    * boot/vmlinuz
    * boot/core.gz

    5. Set the boot flag for the FAT32 partition (optional step).

    This is an optional step and should not be needed in most cases where the USB uses an msdos partition table. There might be some EFI/UEFI implementations where this is required.

    In Linux we can use the Gparted application to change the partition flags.

    6. Shutdown/reboot the computer.

    When restarting a Mac, press and hold the Option key at boot time.
    In a few seconds, Startup Manager appears and you can select the EFI Boot USB device.

    When the GRUB bootloader runs, the GRUB menu can be seen and the user can then select the preferred boot option using the up/down arrow keys.

    * Micro Core Linux with waitusb=10 and superuser
    * Micron Storage Director M550 FW update


    If no key is pressed, the default menu option is used.

    The M550 FW update option will update the firmware with no need for user input.

    The Micro Core Linux option can be used for troubleshooting, but the macbook pro keyboard and some other Mac keyboards might not work. You will need to use a generic USB keyboard.

    ===

    More info on the M550 MU02 firmware update can be found in M550 MU02 thread on the crucial support forums.[5]

    Notes:
    1. Previous Crucial/Micron firmware updates for the M4 and M500 SSDs used a FreeDOS based update that could not be booted from a pure EFI/UEFI environment.
    2. Crucial SSD firmware downloads can be found here:
    http://www.crucial.com/usa/en/support-ssd
    3. Gparted project: http://gparted.org/
    The downloaded version used for the GRUB-EFI files was: gparted-live-0.20.0-2-amd64.zip
    http://sourceforge.net/projects/gparted/
    4. TinyCore and MicroCore linux can be found here:
    http://tinycorelinux.net/downloads.html
    5. M550 MU02 thread on Crucial SSD support forums
     

    Attached Files:

  2. alex0002, Feb 5, 2015
    Last edited: Feb 5, 2015

    alex0002 thread starter macrumors 6502

    Joined:
    Jun 19, 2013
    Location:
    New Zealand
    #2
    Some additional info that didn’t belong the main post.

    The instructions above are for a 64bit EFI Intel Mac. To use this same method with 32bit EFI, a 32bit EFI bootloader would be needed. This can be downloaded from the Gparted project on sourceforge.
    http://sourceforge.net/projects/gparted/

    In this case the files needed on the USB would be:

    * EFI/boot/unicode.pf2
    * EFI/boot/bootia32.efi
    * EFI/boot/grub.cfg
    * boot/vmlinuz
    * boot/core.gz

    This hasn’t been verified, as I don’t have the older 32bit hardware needed for testing.

    For GRUB source code:
    http://www.gnu.org/software/grub/grub-download.html
    http://savannah.gnu.org/git/?group=grub
     
  3. 999t, Mar 22, 2015
    Last edited: Mar 22, 2015

    999t macrumors newbie

    Joined:
    Mar 22, 2015
    #3
    what am i doing wrong? i followed instructions except #5 but when i restart i only see "Micro Core Linux with waitusb=10 and superuser", the second choice "Micron Storage Director M550 FW update" is missing.
     
  4. alex0002, Mar 23, 2015
    Last edited: Jan 10, 2017

    alex0002 thread starter macrumors 6502

    Joined:
    Jun 19, 2013
    Location:
    New Zealand
    #4
    I tried downloading the same file as attached to the original post and following my own instructions. When I booted I saw both menu options:

    * Micro Core Linux with waitusb=10 and superuser
    * Micron Storage Director M550 FW update


    The fact that you got to see Micro Core Linux with waitusb=10 and superuser means that you successfully created a bootable USB and for some reason didn't get the second boot option.

    I suspect that the most likely reason is that somehow the grub.cfg file got corrupted.

    Please make sure that when you check/edit the grub.cfg file that you only use a true ascii editor. If you don't want to use a terminal based editor like vim or nano, then consider using something like TextWrangler from the App store.

    The grub.cfg file should look like:

    Code:
    # grub.cfg
    
    set prefix=/EFI/boot/
    if loadfont $prefix/unicode.pf2; then
      set gfxmode=auto
      insmod efi_gop
      insmod efi_uga
      insmod gfxterm
      terminal_output gfxterm
    fi
    
    set color_normal=cyan/blue
    set color_highlight=white/blue
    
    set timeout=10
    set hidden_timeout_quiet=false
    
    set default=0
    
    menuentry "Micro Core Linux with waitusb=10 and superuser" {
      search --set -f /boot/vmlinuz
      linux /boot/vmlinuz ro base waitusb=10 superuser
      initrd /boot/core.gz
    }
    
    # Please note: using GRUB to boot the Micron firmware updater is unsupported.
    # Use this option at your own risk.
    
    menuentry "Micron Storage Director M550 FW update" {
      search --set -f /boot/vmlinuz
      linux /boot/vmlinuz ro quiet base loglevel=3 waitusb=10 superuser rssd-fw-update rssd-fwdir=/opt/firmware rssd-model=M550
      initrd /boot/core.gz
    }
    
    # end grub.cfg
    If all you want to do it run the firmware updater you could use a much simpler grub.cfg file with a single option:

    Code:
    # grub.cfg
    
    set timeout=10
    set default=0
    
    # Using GRUB to boot the Micron firmware updater is unsupported.
    # Use this option at your own risk.
    
    menuentry "Micron Storage Director M550 FW update" {
      search --set -f /boot/vmlinuz
      linux /boot/vmlinuz ro quiet base loglevel=3 waitusb=10 superuser rssd-fw-update rssd-fwdir=/opt/firmware rssd-model=M550
      initrd /boot/core.gz
    }
    
    # end grub.cfg
    Perhaps you could copy/paste the simple one above and try that.


    Edit: I've just tested the simple version of grub.cfg (above) with a 2011 MBP, but since this machine doesn't have a M550, I'm only able to confirm it boots and show the option "Micron Storage Director M550 FW update". Then when the firmware updater runs, it finds no M550 and the message "No drives needing update...." is seen before rebooting.

    Note: There is also new firmware for the Crucial MX100 which will need a new grub.cfg file and I will post an update about that one soon.
     
  5. 999t macrumors newbie

    Joined:
    Mar 22, 2015
    #5
    I re-downloaded everything and it worked. Thanks for the assistance!
     
  6. alex0002, Apr 4, 2015
    Last edited: Apr 4, 2015

    alex0002 thread starter macrumors 6502

    Joined:
    Jun 19, 2013
    Location:
    New Zealand
    #6
    Crucial MX100 Firmware Update MU02

    Instructions and attachment updated for Crucial MX100 Firmware Update MU02

    There has been a new firmware release for the Crucial MX100 and the procedure for booting the firmware update tool is the same as with the M550.

    Downloads and items needed before you begin:

    1. Crucial firmware MU02 download for the MX100 SSD.
    2. USB flash drive (or SD card) to be formatted as a FAT32 volume.
    3. GRUB-EFI bootloader files for 64bit EFI from the attachment.

    Download the firmware, unzip and place the ISO on the desktop.
    For MX100 MU02: MX100_MU02_BOOTABLE_ALL_CAP.iso

    Download the GRUB-EFI bootloader files from the attachment: grubefiusb-0.03.zip

    The individual file checksums can be verified:
    Code:
    $ shasum EFI/boot/bootx64.efi
    093b2e05d8ad4c2bb8ca01d01c15fdaa6ff50174  EFI/boot/bootx64.efi
    $ shasum EFI/boot/unicode.pf2
    74bf975b64be55f4e1b2abac4320966782f8d388  EFI/boot/unicode.pf2
    $ shasum EFI/boot/grub.cfg
    fcbe41548463ce929f140367edbd23af423553de  EFI/boot/grub.cfg
    Follow the general instructions as per the original post for the M550.
    The following files should be installed on the USB:

    * EFI/boot/unicode.pf2
    * EFI/boot/bootx64.efi
    * EFI/boot/grub.cfg
    * boot/vmlinuz
    * boot/core.gz

    In this case the files installed under EFI/boot come from grubefiusb-0.03.zip
    The files installed under boot come from the Crucial/Micron MX100 firmware download.

    Boot from the USB and when the GRUB bootloader runs, the GRUB menu can be seen and the user can then select the preferred boot option using the up/down arrow keys.

    * Micro Core Linux with waitusb=10 and superuser
    * Micron Storage Director MX100 FW update


    The MX100 FW update option will update the firmware with no need for user input.

    This EFI bootable USB update has been tested with a Gigabyte Z77-D3H UEFI motherboard, which successfully updated an MX100 512GB SSD from MU01 to MU02.

    This was also tested with a late 2011 13-inch MBP, just to confirm that it booted and displayed the grub menu, but since the SSD was not an MX100, the firmware update could not be verified.

    Please let me know if this works or if you have any problems.
     

    Attached Files:

  7. alex0002, Apr 20, 2015
    Last edited: Apr 25, 2015

    alex0002 thread starter macrumors 6502

    Joined:
    Jun 19, 2013
    Location:
    New Zealand
    #7
    Crucial BX100 Firmware Update MU02

    Instructions and attachment updated for Crucial BX100 Firmware Update MU02

    There has been a new firmware release for the Crucial BX100. The procedure for booting the firmware update tool using an EFI bootloader is the same as used with the M550 and MX100.

    Please review the instructions for M550 and MX100 in the previous posts.

    Downloads and items needed before you begin:

    1. Crucial firmware MU02 download for the BX100 SSD.
    2. USB flash drive (or SD card) to be formatted as a FAT32 volume.
    3. GRUB-EFI bootloader files for 64bit EFI from the attachment.

    Download the firmware, unzip and place the ISO on the desktop.
    For BX100 MU02: BX100_UPDATE_MU02_BOOTABLE.iso

    Download the GRUB-EFI bootloader files from the attachment in the previous post: grubefiusb-0.03.zip
    That one is configured for the MX100 and we can update the grub.cfg file for the BX100.

    The new grub.cfg file comes from the new attachment: grubefiusb-0.03-p02.zip

    Follow the general instructions as per the previous messages for the M550 and MX100.
    The following files should be installed on the USB:

    * EFI/boot/unicode.pf2
    * EFI/boot/bootx64.efi

    * EFI/boot/grub.cfg
    * boot/vmlinuz
    * boot/core.gz


    The bootx64.efi and unicode.pf2 files under EFI/boot come from grubefiusb-0.03.zip
    The updated grub.cfg for the BX200 comes from grubefiusb-0.03-p02.zip
    The files installed under boot come from the BX100 firmware download.

    Make sure that the grub.cfg file and downloaded firmware are matching (both should be for the BX100).

    Boot from the USB and when the GRUB bootloader runs, the GRUB menu can be seen with the following options:

    * Micro Core Linux with waitusb=10 and superuser
    * Micron Storage Director BX100 FW update


    The BX100 FW update option will update the SSD firmware with no need for user input.

    Once again, I’ve been able to check that a Macbook Pro and a UEFI pc can be booted from the USB. Since I don’t have a BX200, I’m not able to confirm the firmware update itself.
     

    Attached Files:

  8. newellj, Apr 25, 2015
    Last edited: Apr 30, 2015

    newellj macrumors 601

    Joined:
    Oct 15, 2014
    Location:
    Boston, MA, US
    #8
    Thank you very much for this. Just updated the MX100 in my Mini successfully - worked like a charm.
     
  9. vitosx macrumors newbie

    Joined:
    Apr 30, 2015
    #9
    Thanks alex0002 !

    I upgraded a few MX100 drives on MacPro5,1 without any problems.
    On MacPro3,1 update was initially failing with error 13, but disconnecting ATA/IDE DVD drive helped. Booting from CD was failing the same way by the way, so using USB was the only way to perform the upgrade.
     
  10. Ergolad macrumors newbie

    Joined:
    Dec 5, 2007
    #10
    Worked for me!

    Thanks alex0002! After much frustration trying to update via CD, I used this method to update a Crucial MX100 512GB SSD in a Mid-2010 MacBook Pro. Appreciate the clear instructions!
     
  11. dermarv macrumors newbie

    Joined:
    May 14, 2015
    #11
    THANK YOU very much !!!

    Hi Alex,

    thank you very much for your instructions.
    I spent hours with usb drives and my external superdrive, nothing worked.
    But your solution did it in 3 minutes :D

    Thanks
    Darius
     
  12. alex0002, May 17, 2015
    Last edited: May 17, 2015

    alex0002 thread starter macrumors 6502

    Joined:
    Jun 19, 2013
    Location:
    New Zealand
    #12
    I'm glad I was able to help. I should really write a troubleshooting section, but the only problems I've seen or heard about have been (i) error 13 during the update process and (ii) twice when testing with a Gigabyte UEFI motherboard, I found that the USB was not detected as EFI bootable.

    I suspect the USB not detected as EFI bootable might be caused by having other files on the USB and I had moved/replaced them, instead of starting with a freshly formatted USB. During boot up, there is a very short period of time available for the system to read each disk and determine if the device is EFI bootable or not.

    This problem was solved by a clean format of the USB and installing just the files needed.

    In some cases when creating the USB on a Mac, it might be advisable to disable Spotlight indexing. Or if available, create the USB on a linux or windows pc that won't write a whole bunch of useless files.

    The other suggestion is the one you found. If possible, disconnect all drives that don't need updating, including the optical drive.
     
  13. BasicGreatGuy Contributor

    BasicGreatGuy

    Joined:
    Sep 21, 2012
    Location:
    In the middle of several books.
    #13
    Alex,

    Thank you very much for your Crucial MX100 tutorial. After looking on the Crucial site for answers to my USB or CD-R update not working, I found your posts and all went well.
     
  14. fastasleep macrumors 6502

    fastasleep

    Joined:
    May 21, 2010
    Location:
    Seattle, WA
    #14
    Thanks, this just worked great on a 2011 MBP and m550.

    Anyone know if it's safe to turn on trimforce now?
     
  15. newellj macrumors 601

    Joined:
    Oct 15, 2014
    Location:
    Boston, MA, US
    #15
    Do you mean in 10.10.4? Sure, should work great.
     
  16. oswjime, Jul 3, 2015
    Last edited: Jul 3, 2015

    oswjime macrumors newbie

    Joined:
    Jul 3, 2015
    #16
    Hello everyone

    I did all the steps mentioned very carefully ... however when booting my mac pressing ALT the usb stick does not show up in the list of booting devices

    I have marked the stick partition as bootable via gparted and created it in linux for avoiding the "garbage-files" of making in it in OSX

    any help?

    Rgds
     
  17. hechtech macrumors newbie

    Joined:
    Feb 12, 2011
    #17
    This all seems to have worked perfectly on my mid 2010 Macbook pro, but can anyone tell me how I might check to see that the MU2 is, in fact, on my m550?
     
  18. cwog001 macrumors newbie

    Joined:
    Nov 15, 2009
    #18
    Thanks for the info, it works - I did find out that you cannot update a second machine from the same USB stick unless the hidden Spotlight files were deleted or a fresh format and creation of the stick contents.
    And to check that the update has been done go to About This Mac - System Report and check out the SATA/SATA Express entries - it will have firmware number in the Revision entry for the Crucial drive information.
     
  19. alex0002, Jul 25, 2015
    Last edited: Jul 25, 2015

    alex0002 thread starter macrumors 6502

    Joined:
    Jun 19, 2013
    Location:
    New Zealand
    #19
    What sort of Mac are you trying to update and which version of the EFI boot files did you download? Some older machines might have 32 bit EFI and that won't work with the files in the zip file.

    Note: some of the machines with a 64 bit CPU had 32 bit EFI so you might need to check the specifications rather than assuming 64 bit EFI from the CPU type.

    If you have 32 bit EFI then take a look at post #2 in this thread.

    Once you've confirmed that your machine uses 64 bit EFI, then the main suggestions I can make appear to have already been mentioned, but perhaps some of these might help.

    1) download again - perhaps something got corrupted.
    2) start with a fresh formatted USB flash drive or SD card.
    3) In gparted there are a couple of different options, (i) the drive can be partitioned with MSDOS partitioning or, (ii) using GPT. Try both and if you use GPT you might need to mark the partition as both Bootable and ESP.
    4) Try several different USB drives.
    5) Try a Firewire drive or bootable Thunderbolt drive if you have them.

    Can you boot OS X from an external drive?

    If your hardware/firmware is good this should be possible and could help you determine if the problem is the Grub based bootloader or something common to all external drives and all bootloaders.

    If all else fails you might need to try another method, such as rEFInd or the earlier rEFIt boot manager.
     
  20. mactracker75 macrumors member

    mactracker75

    Joined:
    Apr 13, 2014
    Location:
    Astoria, Queens NY
    #20

    Dear lord, what an ordeal this was until I found your tutorial. A thousand thanks for this as Crucial seemed determined on making this nearly impossible, unless you had a superdrive. Now I'm bracing myself for the next firmware update on my MX 100 which I hope isn't needed anytime soon. Anyway, thanks again for this. Great work!
     
  21. oswjime, Aug 6, 2015
    Last edited: Aug 6, 2015

    oswjime macrumors newbie

    Joined:
    Jul 3, 2015
    #21
    Hi, I have a mid-2007 iMac (iMac7,1) with a damaged superdrive unit so this is why I'm relying upon the usb method --- I downloaded the EFI files you posted (grubefiusb-0.03.zip & grubefiusb-0.03-p02.zip) and followed your instructions carefully, replacing the necessary files --- not sure if my EFI is 32 or 64 bits ... how can I know?

    Yes, I can boot OSX from USB external drives or OSX installs from USB sticks

    Rgds

    Note: I'm trying to update a BX100
     
  22. Zimbalo, Aug 18, 2015
    Last edited: Aug 21, 2015

    Zimbalo macrumors newbie

    Zimbalo

    Joined:
    Aug 18, 2015
    Location:
    Italy
    #22
    Very interesting Alex! Also it works for MX200 editing grub.cfg
     
  23. fastasleep macrumors 6502

    fastasleep

    Joined:
    May 21, 2010
    Location:
    Seattle, WA
    #23
    System Report > SATA/SATA Express pane:

    Screen_Shot_2015-08-31_at_3_46_43_PM.png
     
  24. WordSands macrumors newbie

    Joined:
    May 6, 2015
    Location:
    Berlin
    #24

    I just especially looked for this thread as i stumbled upon it last friday. I was also getting the Error 13 message and the tutorial was immensely helpful! Thank you so much!
    I was a Little scared when i first skimmed through the instructions but once i actually went through with the update i couldn't believe that it was THAT simple - and quick! Burning the CD took longer than the modifications in this tutorial.
    So, thanks again, update worked like a charm, my SSD is now rocking MU02 and trimming like a Boss! ;)
    Cheers!
     
  25. sirucato macrumors newbie

    sirucato

    Joined:
    Oct 15, 2015
    #25
    Hi Alex, please, I am desperate. I need to update my M4 firm so I am suffering the bug I am have freezings every hour.. I don't have superdrive on my MBP because I remove it to install the M4 SSD.
    I tried to do it via USB but after tried and read a lot of hours I couldn't do it.
    Please, it is any way to update it?

    Thanks!!
     

Share This Page