Boot Query - cmdline.txt included
-
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.
-
@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.
-
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. -
@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
-
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%)
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.