| | 1 | In order to send the screen to console in Ubuntu 9.10 Karmic world, please follow these steps |
| | 2 | In /etc/init modify ttyS0.conf file to the following effect[[BR]] |
| | 3 | |
| | 4 | {{{ |
| | 5 | root@node1-1:/etc/init# more ttyS0.conf |
| | 6 | # ttyS0 - getty |
| | 7 | # |
| | 8 | # This service maintains a getty on ttyS0 from the point the system is |
| | 9 | # started until it is shut down again. |
| | 10 | |
| | 11 | start on stopped rc RUNLEVEL=[2345] |
| | 12 | stop on runlevel [!2345] |
| | 13 | |
| | 14 | respawn |
| | 15 | exec /sbin/getty -L 9600 ttyS0 vt102 |
| | 16 | }}} |
| | 17 | |
| | 18 | Modify Grub info in /etc/default/grub[[BR]] |
| | 19 | |
| | 20 | {{{ |
| | 21 | GRUB_DEFAULT=0 |
| | 22 | GRUB_HIDDEN_TIMEOUT=0 |
| | 23 | GRUB_HIDDEN_TIMEOUT_QUIET=true |
| | 24 | GRUB_TIMEOUT="10" |
| | 25 | GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` |
| | 26 | GRUB_CMDLINE_LINUX_DEFAULT="" |
| | 27 | GRUB_CMDLINE_LINUX="console=ttyS0,9600n8" |
| | 28 | |
| | 29 | # Uncomment to disable graphical terminal (grub-pc only) |
| | 30 | GRUB_TERMINAL=console |
| | 31 | |
| | 32 | # The resolution used on graphical terminal |
| | 33 | # note that you can use only modes which your graphic card supports via VBE |
| | 34 | # you can see them in real GRUB with the command `vbeinfo' |
| | 35 | #GRUB_GFXMODE=640x480 |
| | 36 | |
| | 37 | # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux |
| | 38 | #GRUB_DISABLE_LINUX_UUID=true |
| | 39 | |
| | 40 | # Uncomment to disable generation of recovery mode menu entrys |
| | 41 | #GRUB_DISABLE_LINUX_RECOVERY="true" |
| | 42 | GRUB_TERMINAL=serial |
| | 43 | GRUB_SERIAL_COMMAND="serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1" |
| | 44 | }}} |
| | 45 | |
| | 46 | Run "update-grub" for the changes to take effect and reboot. |