0

I am running Ubuntu 21.04 on RPi 4. On boot up, I would like to see the console boot messages in real time (and not the splash screen).

On Intel PCs, that's easily done by editing the grub2 config files.

On RPi, there is no Grub. How can I do it on my installation?

Note, that the usual ways of doing it for the Raspberry Pi Linux distributions, do not work in Ubuntu.

~$ lsb_release -a
   Distributor ID:  Ubuntu;  Description:   Ubuntu 21.04;  Release: 21.04;  Codename:   hirsute
~$ uname -a
   Linux 5.11.0-1015-raspi #16-Ubuntu SMP PREEMPT aarch64 aarch64 aarch64 GNU/Linux

Update #1

/boot/cmdline.txt does not exist:

~$ ls -l /boot
total 80163
config-5.11.0-1007-raspi
config-5.11.0-1015-raspi
dtb -> dtbs/5.11.0-1015-raspi/./bcm2711-rpi-4-b.dtb
dtb-5.11.0-1007-raspi -> dtbs/5.11.0-1007-raspi/./bcm2711-rpi-4-b.dtb
dtb-5.11.0-1015-raspi -> dtbs/5.11.0-1015-raspi/./bcm2711-rpi-4-b.dtb
dtbs
1969 firmware
grub
initrd.img -> initrd.img-5.11.0-1015-raspi
initrd.img-5.11.0-1007-raspi
initrd.img-5.11.0-1015-raspi
initrd.img.old -> initrd.img-5.11.0-1007-raspi
System.map-5.11.0-1007-raspi
System.map-5.11.0-1015-raspi
vmlinuz -> vmlinuz-5.11.0-1015-raspi
vmlinuz-5.11.0-1007-raspi
vmlinuz-5.11.0-1015-raspi
vmlinuz.old -> vmlinuz-5.11.0-1007-raspi

~$ ls -l /boot/grub
total 2344
grubenv
unicode.pf2

/proc/cmdline does not exist, either.

Is there a way to do it with "plymouth"?

Maybe the way to do it is to edit this part of: /boot/config-5.11.0-1015-raspi ?

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
# CONFIG_PRINTK_CALLER is not set
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7
CONFIG_CONSOLE_LOGLEVEL_QUIET=4
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
4
  • Please read the FAQ for asking questions! And one of the things that the FAQ say, do research before asking, have you tried to use a search engine with the 2ords "raspberry pi no splash" ?
    – MatsK
    Aug 14, 2021 at 17:51
  • @MatsK: affirmative. I have tried a search engine with the 2ords "raspberry pi no splash" - to no avail. Like I said in the OP, there are many suggestions for the standard RPi distributions, but none work on Ubuntu. Aug 14, 2021 at 17:53
  • /boot/cmdline.txt should be available in Ubuntu as well as Raspberry Pi OS.
    – MatsK
    Aug 14, 2021 at 17:59
  • @MatsK: /boot/cmdline.txt does not exist in the Ubuntu distribution. See Update #1 above. Aug 15, 2021 at 0:04

1 Answer 1

1

I found it.

cmdline.txt is found in /boot/firmware .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.