Results 1 to 6 of 6

Thread: KVM Virsh: Redirect CentOS / Redhat Console To A Serial Port

  1. #1
    Senior Member
    Join Date
    Jun 2005
    Posts
    194
    Thanks
    39
    Thanked 13 Times in 10 Posts
    Rep Power
    9

    Default KVM Virsh: Redirect CentOS / Redhat Console To A Serial Port

    Hi,

    Just wen through the tutorial posted on this site about redirecting FreeBSD guest console redirection. How can I redirect CentOS guest console with virsh console centos command? Right now it does not show anything.

    TIA
    Learning shell and Perl scripting was one of best things I did..

  2. #2
    Is that all you got? rockdalinux's Avatar
    Join Date
    May 2005
    Location
    Planet Vegeta
    Posts
    983
    Thanks
    27
    Thanked 70 Times in 61 Posts
    Rep Power
    19

    Default

    It is same as regular server. Add ttyS0
    Code:
    echo “ttyS0″ >> /etc/securetty
    Than add console=ttyS0 to kernel line in /etc/grub.conf
    Code:
    console=ttyS0
    Add getty or minigetty or agetty in /etc/inittab
    Code:
    S0:12345:respawn:/sbin/agetty ttyS0 115200
    Reload changes
    Code:
    init q
    From host try
    Code:
    virsh console kvm-id
    Rocky Jr.
    What's wrong? I hope I am not making you uncomfortable...

    Never send a boy to do a mans job.

  3. The Following User Says Thank You to rockdalinux For This Useful Post:

    jerry (8th June 2010)

  4. #3
    Senior Member
    Join Date
    Jun 2005
    Posts
    194
    Thanks
    39
    Thanked 13 Times in 10 Posts
    Rep Power
    9

    Default

    Thanks rocky!
    Learning shell and Perl scripting was one of best things I did..

  5. #4
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,374
    Thanks
    17
    Thanked 754 Times in 496 Posts
    Rep Power
    10

    Default

    You may also like our ongoin KVM series @ CentOS / Redhat: Install KVM Virtualization Software
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  6. The Following User Says Thank You to nixcraft For This Useful Post:

    dheeraj4uuu (16th September 2010)

  7. #5
    Junior Member
    Join Date
    Sep 2010
    Posts
    16
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Thanks dude......

  8. #6
    Junior Member
    Join Date
    Mar 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Thumbs up Unix ESXI

    I have Installed ESXI 4.1, unix based...
    I have trouble to use the ip v6... do you have any advice?
    redoracle co uk

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Usb to serial port
    By adjeiinfo in forum Linux software
    Replies: 1
    Last Post: 18th June 2010, 02:16 PM
  2. how does centos/redhat caching-nameserver work?
    By texaganian in forum CentOS / RHEL / Fedora
    Replies: 1
    Last Post: 9th October 2009, 12:54 AM
  3. CentOS / RedHat Add Secondary IPs
    By monk in forum Getting started tutorials
    Replies: 0
    Last Post: 15th September 2009, 04:05 PM
  4. how to enable the usb port in redhat linux 5
    By sharan.patil in forum CentOS / RHEL / Fedora
    Replies: 3
    Last Post: 10th July 2009, 01:27 AM
  5. Linux Server Administration via Serial Console
    By chiku in forum Networking, Firewalls and Security
    Replies: 0
    Last Post: 24th November 2007, 11:15 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41