Changes between Version 1 and Version 2 of Internal/Ubuntu10Image


Ignore:
Timestamp:
Mar 25, 2011, 4:03:21 PM (14 years ago)
Author:
jsingh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/Ubuntu10Image

    v1 v2  
    11Ubuntu 10.04 LTs Server[[BR]]
    22
    3 Create the filesystem using ext3 otherwise imagezip is unable to
     3Create the filesystem using ext3 otherwise imagezip is unable to compress the image.
     4
     5To add serial console to ubuntu10.10
     61. Enable Serial Console Redirection in the BIOS
     72. Check to see if you this file /etc/init/ttyS0.conf , if not then please create it and add this to the file
     8{{{
     9# ttyS0 - getty
     10#
     11# This service maintains a getty on ttyS0 from the point the system is
     12# started until it is shut down again.
     13
     14start on stopped rc RUNLEVEL=[2345]
     15stop on runlevel [!2345]
     16
     17respawn
     18exec /sbin/getty -L 115200 ttyS0 vt10
     19}}}
     20
     213. Start the ttyS0 terminal
     22{{{
     23   sudo start ttyS0
     24}}}
     254. Modify the /etc/default/grub file to look like this
     26
     27{{{
     28# If you change this file, run 'update-grub' afterwards to update
     29# /boot/grub/grub.cfg.
     30 
     31GRUB_DEFAULT=0
     32GRUB_TIMEOUT=1
     33GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
     34GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"
     35 
     36# Uncomment to disable graphical terminal (grub-pc only)
     37GRUB_TERMINAL=serial
     38GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
     39 
     40# The resolution used on graphical terminal
     41# note that you can use only modes which your graphic card supports via VBE
     42# you can see them in real GRUB with the command `vbeinfo'
     43#GRUB_GFXMODE=640x480
     44 
     45# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
     46#GRUB_DISABLE_LINUX_UUID=true
     47}}}
     485. Update the grub
     49
     50{{{
     51update-grub
     52}}}
     536. Reboot the Machine