wiki:Internal/Ubuntu10Image

OBSOLETE

This document is obsoleted bythis document.

Ubuntu 10.04 LTs Server

Create the filesystem using ext3 otherwise imagezip is unable to compress the image.

To add serial console to ubuntu10.10

  1. Enable Serial Console Redirection in the BIOS
  2. Check to see if you this file /etc/init/ttyS0.conf , if not then please create it and add this to the file
    # ttyS0 - getty
    #
    # This service maintains a getty on ttyS0 from the point the system is
    # started until it is shut down again.
    
    start on stopped rc RUNLEVEL=[2345]
    stop on runlevel [!2345]
    
    respawn
    exec /sbin/getty -L 115200 ttyS0 vt10
    
  1. Start the ttyS0 terminal
       sudo start ttyS0
    
  2. Modify the /etc/default/grub file to look like this
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
 
GRUB_DEFAULT=0
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8"
 
# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=serial
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
 
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
 
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
  1. Update the grub
update-grub
  1. Reboot the Machine

To Make sure you can change your ldap password on the console , please make sure that /etc/pam.d/common-password looks like this
password [success=1 user_unknown=ignore default=die] pam_ldap.so try_first_pass

Last modified 12 years ago Last modified on Aug 9, 2012, 8:13:26 PM

Attachments (1)

  • test.txt (88 bytes ) - added by jsingh 14 years ago. trac plugins

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.