RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Boot Query - cmdline.txt included

    Scheduled Pinned Locked Moved Help and Support
    helpsupportforumcmdline.txtraspberry pi 3
    5 Posts 2 Posters 3.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 8
      80njc80 Banned
      last edited by

      Morning everyone. To give you some background I have been having trouble with sudo apt-get update with 403 forbidden/failed to fetch errors - changing mirrors does not seem to work as a fix! Underlying issues aside. In my infinite wisdom I ran dist-upgrade and it appears to update plymoth that now boots my pi into tty2. I can alt+ctrl F1 to enter tty1 without issue but it is just annoying. The cmdline.txt is below:

      dwc_otg.lpm_enable=0 console=serial0,115200 console=tty2 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet loglevel=3 logo.nologo consoleblank=0

      I looks like I need to edit "console=tty2" to either "console=tty1" or "console=tty3" to fix but just wanted to double check with the forum first. I did try edit it before but the file is write protected. What is the chmod command to change the permission for this file?

      I have also read I can add plymouth.enable=0 to remove plymouth all together but I kind of like the RetroPie custom splash I have enabled. Also read I need to explicitly pass "splash" to the kernel cmline as before as the fix.

      Any help would be much appreciated. Thanks in advance. Let me know if you need more data for analysis. Running Raspbian Lite.

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @80njc80
        last edited by

        @80njc80 I'm not really sure what you're asking.

        You need to use sudo to edit the cmdline.txt

        As far as your splash there are two mechanisms for splash screens with retropie and Plymouth is not really one of them unless you've done some custom knickknackery.

        Would need more details as requested on the read me first page in order to advise.

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • 8
          80njc80 Banned
          last edited by

          Apologies... Hope this helps.

          Pi Model or other hardware: Pi3B
          Power Supply used: 2.5A power supply
          RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): Unknown (not accessible at work location).
          Built From: Pre made SD Image Raspbian Lite with ES.
          USB Devices connected: Wireless keyboard and mouse + USB 3.0 (128GB). SD adaptor with secondary Openelec image.
          Controller used: PS3 wireless.
          Error messages received: No error. Startup hangs on boot at plymouth "terminate start" command. Enters tty2. Can can alt+ctrl F1 to enter tty1 without issue.
          Log found in /dev/shm/runcommand.log (if relevant): Not sure where to look.
          Guide used: (Mention if you followed a guide): just a sudo apt-get dist-upgrade.
          File: dwc_otg.lpm_enable=0 console=serial0,115200 console=tty2 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet loglevel=3 logo.nologo consoleblank=0
          Emulator: N/A.
          Attachment of config files: As above cmdline.txt.
          How to replicate the problem: Boot the pi.

          herb_fargusH 1 Reply Last reply Reply Quote 0
          • herb_fargusH
            herb_fargus administrators @80njc80
            last edited by

            @80njc80 i read your post again, try re-enabling the boot option in raspi config to autologin console.

            A post a bit about what happens behind the scenes:

            https://raspberrypi.stackexchange.com/questions/38025/disable-console-autologin-on-raspbian-jessie

            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

            8 1 Reply Last reply Reply Quote 0
            • 8
              80njc80 Banned @herb_fargus
              last edited by

              Thanks for your time herb_fargus. I have a feeling that if I replace the cmdline.txt with the following it will sort itself out:

              dwc_otg.lpm_enable=0 console=serial0,115200 console=tty2 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet loglevel=3 logo.nologo consoleblank=0 plymouth.enable=0

              This is just to get back to the original problem of finding out why sudo apt-get update is returning the attached errors!!![0_1501816713607_File 4-8-17, 11 11 53.jpeg](Uploading 100%)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.