Skip to content

Instantly share code, notes, and snippets.

@troyfontaine
Last active April 19, 2024 13:10
Show Gist options
  • Save troyfontaine/f24b4be8945b750b315e9f96ce9a9403 to your computer and use it in GitHub Desktop.
Save troyfontaine/f24b4be8945b750b315e9f96ce9a9403 to your computer and use it in GitHub Desktop.
How to Update the Firmware of a Crucial Consumer SSD on Linux via the Terminal

How to Update the Firmware of a Crucial Consumer SSD on Ubuntu 22.04 via the Terminal

This has been tested on Ubuntu 22.04 with 3x Crucial MX500 1TB SSDs purchased in 2023

  1. Install the required packages
    sudo apt-get install -y smartmontools unzip curl
    
  2. Check your current firmware version and note it-you will want to be sure that you are actually updating the firmware version (replace sdX with your actual device's identifier-leaving off any partition numbers as you're checking the block device and not the data on it)
    smartctl -x /dev/sdX | grep -i firmware
    
  3. Locate a firmware download or contact crucial for the zip file containing it (alternatively, the zip file for the MX500 M3CR046 firmware can be found here)
  4. Extract the contents of the firmware archive
    unzip M3CR046.zip -d ./firmware
  5. Download the latest Crucial "Storage Executive" application install on the target Linux host by copying the download link from this page or using the following command (tested as working October, 2023)
    curl https://media-www.micron.com/-/media/client/global/documents/products/software/storage-executive-software/storageexecutive_linux.run?rev=64f18f2457ae483ba596ff89583af41d -o storageexecutive_linux.run
  6. Update the permissions on the storage executive file
    chmod 700 storageexecutive_linux.run
  7. Execute the script using the following command-note: the file's help command provides incorrect instructions
    ./storageexecutive_linux.run --mode text --enable-components GUI
  8. It will prompt you for the language, to agree to the license terms and finally if you want to install the GUI-you don't!
  9. Once it is installed, cd into the directory containing the firmware and then run the following command, substituting the appropriate device identifier for your disk
    cd ./firmware
      msecli -U -i ./ -m mx500 -n /dev/sdX
  10. The firmware update will begin and will let you know when it has completed successfully
  11. Reboot the machine and check the firmware of the drive again
    smartctl -x /dev/sdX | grep -i firmware
@hoonlight
Copy link

hoonlight commented Apr 19, 2024

Thank you. I had a freezing issue with my MX500 on Linux, but after a firmware upgrade, it's fixed! Works great on ubuntu 24.04 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment