This has been tested on Ubuntu 22.04 with 3x Crucial MX500 1TB SSDs purchased in 2023
- Install the required packages
sudo apt-get install -y smartmontools unzip curl - 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 - 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)
- Extract the contents of the firmware archive
unzip M3CR046.zip -d ./firmware
- 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 - Update the permissions on the storage executive file
chmod 700 storageexecutive_linux.run
- Execute the script using the following command-note: the file's help command provides incorrect instructions
./storageexecutive_linux.run --mode text --enable-components GUI
- 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!
- 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 - The firmware update will begin and will let you know when it has completed successfully
- Reboot the machine and check the firmware of the drive again
smartctl -x /dev/sdX | grep -i firmware
If you follow the links from here, there is no longer a
storageexecutive_linux.run. It is nowmsecli-linux.run. That's a binary file. Running it with--helpseems to indicate that it should work with--mode text --enable-components GUI, and it installs something to/home/user/Micron Technology/Micron Storage Executive(changable via--prefixcommand).I haven't gone beyond this yet, but I'm guessing that will give me the
mseclicommand, and that the latter will need to be run withsudoto get access to the Crucial (/dev/sdX) device. I'm not sure if I want to do it this way. I'm noticing someone else reporting how to make a bootable USB, here.I'll report back later ...
(Oh, and PS... I'v gotten a couple of these in my dmesg, which led me here:
failed command: WRITE FPDMA QUEUED. My present firmware is M3CR045.)