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)