[Solved] How to change the boot.ini file

I have a hard drive enclosure that does not work with UASP and need to adjust the boot arguments to disable this feature. I have had to do this in the past with Ubuntu Mate. So I added the appropriate arguments into boot.ini, I saved the file, reopened the file to ensure my edits were in there and they were. Then I rebooted the system. When I open up the boot.ini file none of the changes are in there, it has defaulted back to how it originally was. Am I missing a step? I’m very new to Linux so please explain things thoroughly.

You need to edit the boot.ini from it’s RAMlog location: nano /DietPi/boot.ini
Yeah sorry we did not yet add the hints about that fact to all boot.ini files on our images. I just added them for the upcoming version: https://github.com/Fourdee/DietPi/blob/dev/boot_xu4.ini#L1-L3

This solved my issue, thank you!