[Solved] How to change the boot.ini file

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
veveaucent
Posts: 9
Joined: Wed Jul 25, 2018 7:11 am

[Solved] How to change the boot.ini file

Post by veveaucent »

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.
Last edited by veveaucent on Sun Jan 20, 2019 8:15 pm, edited 1 time in total.
User avatar
MichaIng
Site Admin
Posts: 2422
Joined: Sat Nov 18, 2017 6:21 pm

Re: How to change the boot.ini file

Post by MichaIng »

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/ ... .ini#L1-L3
veveaucent
Posts: 9
Joined: Wed Jul 25, 2018 7:11 am

Re: [Solved] How to change the boot.ini file

Post by veveaucent »

This solved my issue, thank you!
Post Reply