3

I need to know the default contents of the cmdline.txt file for a Raspberry Pi 4. I was following an old tutorial about setting up a gps module. The tutorial had me change the contents cmdline.txt. Only after I made the change and the RPi4 failed to boot did I realize the tutorial was for an older model Pi. There is an answer for this question here What is the default cmdline.txt?, however it is also for an older model Pi.

3

On my Pi 4, it's:

console=serial0,115200 console=tty1 root=PARTUUID=XXXXXXXX-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles

Your PARTUUID will not be the same as mine (which is why I X'd it out). Instead, use:

cat /etc/fstab

Note the PARTUUID for the root partition (ext4) and that's the value you need to use.

| improve this answer | |

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.