Edit config.txt or cmdline.txt

pCP Team 7 May 2024 pCP 9.0.0 Setup • How to  •
The config.txt or cmdline.txt is found on piCorePlayer’s boot partition, which normally is /mnt/mmcblk0p1—see The config.txt file or The kernel command line.
Warning

The boot partition is unmounted by default. So to edit config.txt or cmdline.txt, you must first mount the boot partition, then edit using vi.

Warning

You must reboot piCorePlayer after changing config.txt or cmdline.txt to activate changes.

Longhand method—using standard Linux commands

Steps

Step 1 - Access via ssh
Step 2 - Mount boot partition
  • $ mount /mnt/mmcblk0p1
Step 3 - Change directory to boot partition
  • $ cd /mnt/mmcblk0p1
Step 4 - Edit config.txt or cmdline.txt
  • $ vi config.txt

-or-

  • $ vi cmdline.txt
Step 5 - Reboot
  • $ reboot

Shorthand method—using pCP aliases

Steps

Step 1 - Access via ssh
Step 2 - Mount boot partition
  • $ m1
Step 3 - Change directory to boot partition
  • $ c1
Step 4 - Edit config.txt or cmdline.txt
  • $ vicfg

-or-

  • $ vicmd
Step 5 - Reboot
  • $ pcp rb

More information

The Software and Information is provided "as is" without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement.
Raspberry Pi is a trademark of the Raspberry Pi Foundation.