How to set the serial output of Ubuntu system (ii)

Source: Internet
Author: User
Tags uuid

Resolve Legacy Issues:

(1) After booting the VGA has "Linux login:" Login prompt, and the serial port side does not

Workaround: Change ttys0.conf to the following:

[Email protected]:~$ cat/etc/init/ttys0.conf # ttys-getty## This service maintains a Getty on tty1 from the point the SY Stem is# started until it is shut down Again.start on stopped RC runlevel=[2345] and (            Not-container or            container CONTAINER=LXC or            

(2) VGA on the boot is garbled, but select the first Ubuntu menu boot normal

Workaround: Modify/boot/grub/grub.conf, leaving only the following:

Menuentry ' ubuntu '--class ubuntu--class gnu-linux--class GNU--class os $menuentry _id_option ' gnulinux-simple-2c604c33 -d631-4440-b0fc-697bd6f32749 ' {        insmod Gzio        insmod part_msdos insmod        ext2        set root= ' HD0,MSDOS1 '        if [x$feature_platform_search_hint = xy]; then          search--no-floppy--fs-uuid--set=root--hint-bios=hd0,msdos1 --HINT-EFI=HD0,MSDOS1--hint-baremetal=ahci0,msdos1  2c604c33-d631-4440-b0fc-697bd6f32749        Else          Search--no-floppy--fs-uuid--set=root 2c604c33-d631-4440-b0fc-697bd6f32749        fi        linux   /boot/ Vmlinuz-3.16.0-23-generic root=uuid=2c604c33-d631-4440-b0fc-697bd6f32749 ro  text console=tty0 console=ttyS0, 115200N8        initrd  /boot/initrd.img-3.16.0-23-generic}

(3) This introduces a problem: The VGA will be parked in the Ubuntu boot interface, where a time-out period to set a countdown

Add set timeout=10 in Grub.cfg, i.e.:

[Email protected]:~$ cat/boot/grub/grub.cfgset timeout=10menuentry ' ubuntu '--class ubuntu--class gnu-linux--class GNU --class os $menuentry _id_option ' gnulinux-simple-2c604c33-d631-4440-b0fc-697bd6f32749 ' {        insmod Gzio        insmod Part_msdos        insmod ext2        set root= ' hd0,msdos1 '        if [x$feature_platform_search_hint = xy]; then          search-- No-floppy--fs-uuid--set=root--hint-bios=hd0,msdos1--hint-efi=hd0,msdos1--hint-baremetal=ahci0,msdos1  2c604c33-d631-4440-b0fc-697bd6f32749        Else          search--no-floppy--fs-uuid--set=root 2c604c33-d631-4440-b0fc-697bd6f32749        fi        linux   /boot/vmlinuz-3.16.0-23-generic root=uuid= 2c604c33-d631-4440-b0fc-697bd6f32749 ro  text console=tty0 console=ttys0,115200n8        initrd  /boot/ Initrd.img-3.16.0-23-generic}




How to set the serial output of Ubuntu system (ii)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.