add console=tty1 to cloud-image kernel boot parameters
Bug #1016695 reported by
Jeremiah Snapp
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on EC2 |
Fix Released
|
Wishlist
|
Scott Moser |
Bug Description
I use VMware vSphere Client's to manage my Ubuntu 12.04 cloud-image based vm's. vSphere is able to display the console of the vm as it boots but because the default kernel boot parameter is set to use console=ttyS0 I can't see anything until booting is done unless I manually add console=tty0 first. Can you add console=tty0 after console=ttyS0 so boot process will display automatically? I would really appreciate it.
Related bugs:
bug 1122245: booting from a cloud image hangs until virsh console is used
Related branches
description: | updated |
Changed in cloud-init (Ubuntu): | |
status: | Fix Committed → Fix Released |
affects: | cloud-init (Ubuntu) → ubuntu-on-ec2 |
To post a comment you must log in.
The kernel actually does a good job of handling multiple 'console=' items. It then writes the same data to each of them (if they're valid devices).
However, when init (upstart) takes over, it only writes to /dev/console. So whatever the /dev/console means to the kernel is the only place that output from upstart or it subprocesses will go.
I think the kernel picks the last of the 'console=' items on the command line to tie to /dev/console. It may take the last *valid* entry, i'm not sure.
So, when upstart starts, and then starts running jobs (such as cloud-init) their output goes to /dev/console, and not to the other 'console=' places specified on the command line.
What all that means, is that I think we can fairly harmlessly add additional 'console=' lines to the command line, and have kernel messages go there. However, upstart messages will *not* go to those places.