I am new to Raspberry Pi and I have downloaded the NOOBS setup zip file. I am using an HDMI to VGA converter to display contents on my monitor. It seems I need to edit the config.txt file to make it work. I have found the file in boot.tar.xz which opens using WinRAR. I am also able to edit the file using Notepad.

However when I save the file and open it again the edits are reverted to the original state. How do I edit the config.txt file?


  • Super user elevation is required to edit config. The boot partition should be fat32 and therefore readable in Windows. Or, while booted to your desired OS, CTRL+ALT+T for a Terminal window then input; sudo nano /boot/config.txt Nov 7 '17 at 8:33

First copy the file to the desktop, edit it, then drag and drop it in the folder opened with WinRar.


Use 7-zip. Here's the download link: http://www.7-zip.org/download.html

  • Will it work? This page here says that XZ is not compatible with 7zip. Feb 16 '17 at 3:23
  • @DmitryGrigoryev Try it yourself.
    – Aloha
    Feb 17 '17 at 1:19
  • If you don't know that it works, then you should not present it as answer.
    – Ingo
    May 6 '20 at 21:30
  • 1
    @Ingo It did work back then, and it still works now. This was over 3 years ago, and I admit my rhetoric could have been much better.
    – Aloha
    May 7 '20 at 5:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.