Debian Wheezy doesn't show boot messages after deleting quiet param
Hi,
I am running a Debian Wheezy distribution and I don't know how to show boot messages. I already erase the 'quiet' parameter from /etc/default/grub and after booting I see that the cmdline is right, without that param: cat /proc/cmdline BOOT_IMAGE=/vmlinuz-3.2.0-4-686-pae root=UUID=0d645791-109e-4ce4-87be-1cc7074da5f8 ro I thought it was that easy but it doesn't work... what else am I missing? do I need to recompile the kernel with a specific flag or what? uname -a Linux user 3.2.0-4-686-pae #1 SMP Debian 3.2.68-1+deb7u2 i686 GNU/Linux thanks EDIT: I forgot to say that I am running Debian in an embedded system and seeing the booting through a serial console. I see the grub menu, and then Loading Linux 3.2.0-4-686-pae ... Loading initial ramdisk ... and nothing else until login pormpt |
did you run
Code:
grub-mkconfig -o /boot/grub/grub.cfg what is the content of your current /boot/grub/grub.cfg? please post it (if the previous command didn't help). |
I ran
Code:
update-grub the thing is that the cmdline was changed properly because 'quiet' param disappeared as expected although the booting messages didn't show up Code:
# cat /boot/grub/grub.cfg |
it sure looks like it should be displaying boot messages.
maybe it has something to do with watching the boot process from a remote console (if i understood that bit correctly). |
I just connect the board's serial port to my laptop and open /dev/ttyUSB0 with minicom.
Maybe I have to tell the kernel to redirect somehow the booting messages to the serial port? |
The boot messages in wheezy can be viewed with bootlogd
https://wiki.debian.org/bootlogd |
Thanks Head_on_a_Stick, but that's not what I want.
I want to see the messages through the serial console while it is booting, like in every embedded system I have worked on before. This is the first time it doesn't work and I don't understand why. With a previos kernel version (3.14) I do see the booting messages so it has to be something related to the 3.2 kernel.. regards |
I think you need to tell the kernel to use a serial console...
|
Sorry guys, I did a stupid mistake. I defined
Code:
GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1" and I thought that was enough for grub to pass the serial specifications to the kernel, but of course it is not, GRUB only pass the GRUB_CMDLINE_LINUX variable to the kernel as parameter. Adding the console parameter in the GRUB_CMDLINE_LINUX makes the kernel to receive the console settings and use the serial for messages output: Code:
GRUB_CMDLINE_LINUX="video=off elevator=deadline console=ttyS0,115200" Sorry for the stupid misunderstood and thanks for your time! :) |
Not a stupid mistake - I think it is due to the lack of grub2 documentation on what the "GRUB_SERIAL_COMMAND" does or does not do.
|
All times are GMT -5. The time now is 07:37 AM. |