3 | | Create the filesystem using ext3 otherwise imagezip is unable to |
| 3 | Create the filesystem using ext3 otherwise imagezip is unable to compress the image. |
| 4 | |
| 5 | To add serial console to ubuntu10.10 |
| 6 | 1. Enable Serial Console Redirection in the BIOS |
| 7 | 2. 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 | |
| 14 | start on stopped rc RUNLEVEL=[2345] |
| 15 | stop on runlevel [!2345] |
| 16 | |
| 17 | respawn |
| 18 | exec /sbin/getty -L 115200 ttyS0 vt10 |
| 19 | }}} |
| 20 | |
| 21 | 3. Start the ttyS0 terminal |
| 22 | {{{ |
| 23 | sudo start ttyS0 |
| 24 | }}} |
| 25 | 4. 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 | |
| 31 | GRUB_DEFAULT=0 |
| 32 | GRUB_TIMEOUT=1 |
| 33 | GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` |
| 34 | GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8" |
| 35 | |
| 36 | # Uncomment to disable graphical terminal (grub-pc only) |
| 37 | GRUB_TERMINAL=serial |
| 38 | GRUB_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 | }}} |
| 48 | 5. Update the grub |
| 49 | |
| 50 | {{{ |
| 51 | update-grub |
| 52 | }}} |
| 53 | 6. Reboot the Machine |