Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cmdline.txt]

cmdline.txt is a file for passing arguments to the Linux kernel during the boot process.

0
votes
1answer
38 views

fsck.mode=force is not fixing unable to mount root fs on unknown-block(179,2)

I have 2 SD cards with Raspbian Stretch that are throwing the following error on boot: Kernel panic-not syncing: VFS: unable to mount root fs on unknown-block(179,2) I fixed one card by running ...
0
votes
1answer
109 views

As of the current date, what is the default /boot/config.txt

Could someone post the default cmdline.txt file as of the current version?
1
vote
1answer
83 views

cmdline.txt appears to be empty after editing it

I've edited cmdline.txt on my Raspberry 3b + model to not show the logo during the start up. I've added logo.nologo at the end of a line. After that, I restarted the device, but I was still seeing ...
2
votes
2answers
168 views

raspbian stretch overrides cmdline.txt kernel.hostname parameter

i'm building an embedded prototyp with a raspberry pi 3b+ and its booting via pxe from the network read only. Multiple devices share the same root file system and just the boot folders are customized ...
0
votes
1answer
63 views

raspbian: unable to mount root fs on uknown block

I downloaded "raspbian stretch with desktop" .img file from the official raspbery pi website (kernel version 4.14), changed it to a .bin file so the recovery utility would recognize it, and mounted it ...
0
votes
1answer
3k views

Set a static IP address for wlan0 from /boot partition of Raspberry Pi on Raspbian Stretch Lite

I am using Raspbian Stretch Lite 2018-04-18. I currently have static IP working over wifi. I setup /etc/wpa_supplicant/wpa_supplicant.conf to connect to my wifi and setup /etc/dhcpcd.conf to use a ...
0
votes
0answers
282 views

Python program works using Thonny, but fails from command line

When I execute the program after opening with Thonny on the Raspberry, the program will run and execute with no issue. It will also execute when I tell it to "Execute in Terminal", when double ...
1
vote
1answer
95 views

Where is the cmdline.txt on Windows IOT Dashboard installation?

I can't find the cmdline.txt file for my device. I used the Windows IOT Dashboard to install the image on the SD-card of my Raspberry Pi 3 I want to switch GPIO14 (pin 08) and GPIO15 (pin 10) to ...
1
vote
0answers
280 views

Debian Jessie with NFS root stalls on startup

I am running Debian Jessie (Raspbian Jessie Lite) on my RPi model B. Previously with Wheezy I had great success booting with root filesystem mounted over NFS, but now it stalls on startup. I am ...
2
votes
0answers
172 views

Playmouth ignores the current theme

On startup Plymouth 0.9.2, on Raspbian Stretch, always shows the "text" theme (three square dots) regardless the current theme settings. In fact I have: $ plymouth-set-default-theme mark1 $ cat /...
1
vote
0answers
226 views

Raspberry Pi 3 does not boot if not connected to ethernet cable

I'm new here, so I'm sorry if I started an already existing thread. I have a Raspberry Pi 3 with Raspbian Jessie (2017-06-21). It has SSH enabled. I just modified my cmdline.txt to set static IP. ...
0
votes
0answers
14 views

Terminal Command to suspend a package download on XLTerminal

Hi the Wolfphram package im trying to install has been installing for over an hour. It is at 5%. I want to stop it. All the searches come up with ways to clear the terminal when you finish. Is there ...
1
vote
1answer
149 views

cmdline.txt changes are discarded when ejecting sd card

I am trying to change the password on a Pi sd card. However, each time I edit the cmdline.txt with init=/bin/sh, I eject, put it into my pi and it loads up right to the normal user sign in. So, I ...
2
votes
1answer
389 views

How do I set the Dvorak keyboard layout in cmdline.txt?

How do I set the Dvorak keyboard layout in cmdline.txt? What would I put for the kbd=us flag? Dvorak is a variant of the US layout.
0
votes
2answers
2k views

First Boot expand filesystem does not take effect

I have a raspbian lite SD Card Image. I have expanded the cmdline.txt file by the following line init=/usr/lib/raspi-config/init_resize.sh. cmdline.txt dwc_otg.lpm_enable=0 console=serial0,115200 ...
0
votes
1answer
3k views

Dots Splash Screen RPI 3 version “PIXEL”

I'm interested in changing boot splash with dots on new Jessie PIXEL. Achieving the dots boot screen is available by changing the /boot/cmdline.txt file by removing serial console and its speed and ...
0
votes
2answers
476 views

Where delete the parameter that references the UART serial port (ttyAMA0)?

I have to use a sensor and one of the steps asked me to delete the parameter that references the UART serial port (ttyAMA0) in cmdline.txt, does it mean that I have to delete this part console=serial0,...
1
vote
1answer
1k views

Mount the FAT32 partition of the SDCard of which RPi is booting to edit cmdline.txt

I read some instructions for modifying the RPi that would require the cmdline.txt to be modified. Unfortunately I have nothing but the Raspberry itself to mount the SD card, so I wonder whether I can ...
0
votes
1answer
56 views

Can anyone tell me what your Pi says? [closed]

If you go to the terminal on your Pi and write down sudo nano /boot/codling.txt and write what it says exactly or take a picture because on my Pi it doesn't say the device rotation nor the fps etc ...
1
vote
1answer
789 views

Is 'dwc2' limited to USB direct connections?

The instructions for setting up a direct-connect RPi Zero over USB have me add dtoverlay=dwc2 on a new line to `config.txt', and insert modules-load=dwc2,... in cmdline.txt. Are these settings ...
3
votes
3answers
8k views

RPi3 is not booting after editing /boot/cmdline.txt — also unplugged the power after rebooting

Tonight, I was adding a GPS module to my RPi3 by following a tutorial from Adafruit, and now my RPi3 is not booting up. This is the last change I did before doing a reboot via sudo shutdown -r: I ...
1
vote
1answer
146 views

Raspberry Pi 2 and Adafruit Thermal Printer 597

I have been encountering problems regarding my raspberry pi 2. I've been following the instructions given @ https://learn.adafruit.com/pi-thermal-printer/overview when I change parameters in my /...
0
votes
2answers
2k views

Kernel log ONLY on serial console (UART)

How to configure kernel, config.txt and cmdline.txt to get all kernel logs (starting from boot) in serial console (UART) only? To clarify: I don't want to see any kernel log on HDMI monitor I don't ...
1
vote
0answers
160 views

NFS booted Pi hangs if booting while the server is not ready

I'm NFS booting a Pi and using DHCP IP assignment wonderfully well. I've noticed that in the event of a power outage or other situation that interrupts the connection to the server, the Pi freezes ...
9
votes
1answer
32k views

What is the default cmdline.txt?

My Raspbian Pi crashes to a Kernel panic when I start it up, and it suggested somewhere that an invalid cmdline.txt can cause this. What is in the cmdline.txt by default?
1
vote
2answers
262 views

Boot from usb if available

I have my raspbian OS located on a 3TB external harddrive only some bootmanager stuff left on the SD Card. (if i remember right i followed this guide) I want it to boot from the sd card ONLY if there ...
5
votes
7answers
22k views

Where is cmdline.txt located on the NOOBS SD card?

I need to reset a forgotten RPI OS password. In order to do that I need to insert the SD card to the computer and edit the cmdline.txt file. It is not anywhere on the SD card root folder or any of the ...
6
votes
2answers
12k views

Change/reset password WITHOUT monitor/keyboard

I forgot the password to my Pi, but don't have access to a compatible monitor/keyboard. I've seen methods like these but they all involve editing cmdline.txt and then booting with a monitor and ...
4
votes
4answers
8k views

Disabling rainbow splash screen does not work

According to elinux, I should be able to disable the rainbow splash screen by setting this option in the /boot/cmdline.txt file: disable_splash if set to 1, avoids the rainbow splash screen on boot ...
5
votes
1answer
8k views

How to change the kernel commandline for ArchLinuxARM on Raspberry Pi effectly?

I'm using the raspberry pi with the latest ArchLinuxARM image. I'm having issues with the linux kernel and it randomly panics with 'kernel paging request' errors. I've found a solution to enable ...
1
vote
1answer
1k views

Custom MOTD without changing prompt colors

I happened to stumble on this forum thread (and every other page I find on RPi MOTD links here), and found a nice description on how to change the MOTD. However, after creating a /home/pi/....
5
votes
3answers
15k views

Why are my changes to cmdline.txt ignored?

I'm using a SD-card with raspian (with /boot-partition + the rootfs). I compiled my own kernel and now I would like to boot with nfsroot. I've added the following line into the cmdline.txt: dwc_otg....