Console does not show login prompt
vu Pham
vu at sivell.com
Mon Aug 19 07:24:07 PDT 2013
On 08/19/2013 09:00 AM, Lonni J Friedman wrote:
> I suspect that what you're experiencing is expected behavior if you've
> instructed the kernel to send the console to a serial device. If you
> remove the console= parameters, does that fix the problem?
Lonni, without the console=ttyS0,115200 then the command "virsh console
old_server" on the KVM host does not show anything. I am still able to
login to the virtual server as an ssh client.
That same settings works on other virtual hosts.
Thanks,
Vu
>
> On Mon, Aug 19, 2013 at 5:38 AM, vu Pham <vu at sivell.com> wrote:
>>
>> On 8/18/2013 2:04 PM, Lonni J Friedman wrote:
>>> Yea, how did you define your console when booting? What's the output
>>> from "cat /proc/cmdline" ?
>>
>> It is "ro root=LABEL=/ console=tty0 console=ttyS0,115200".
>> Below is the grub.conf
>>
>> #boot=/dev/sda
>> default=0
>> timeout=10
>> splashimage=(hd0,0)/grub/splash.xpm.gz
>> title Red Hat Linux (2.4.20-6)
>> root (hd0,0)
>> kernel /vmlinuz-2.4.20-6 ro root=LABEL=/ console=tty0
>> console=ttyS0,115200
>> initrd /initrd-2.4.20-6.img
>>
>> Thanks,
>> Vu
>>
>>>
>>> On Sun, Aug 18, 2013 at 10:35 AM, Vu Pham <vu at sivell.com> wrote:
>>>> On 08/18/2013 11:40 AM, Man-wai Chang wrote:
>>>>> On 18/08/2013 2:35 PM, Vu Pham wrote:
>>>>>> I need to convert an old Redhat 9 server to a virtual server so I made a
>>>>>> disk image of this old server, moved it to a KVM server and imported it
>>>>>> as a virtual server. I could make it start to level 3 with all services
>>>>>> starting properly and I am able to remotely log into this server.
>>>>>
>>>>> Maybe your VM's hardware was different from the PC that ran the Redhat 9
>>>>> in physical world, notably the video part....
>>>>
>>>> Thanks Man-wai. The console uses (virtual) serial port ttyS0, not the
>>>> video. Thru this port I can see all the boot messages until the rc.local
>>>> script, so the port is working.
>>>>
>>>> But it is a good idea to check if I can see anything thru the vnc.
>>>>
>>>> Vu
>>>> _______________________________________________
>>>> Linux-users mailing list
>>>> Linux-users at linux-sxs.org
>>>> http://mailman.celestial.com/mailman/listinfo/linux-users
>>>
>>>
>>>
>> _______________________________________________
>> Linux-users mailing list
>> Linux-users at linux-sxs.org
>> http://mailman.celestial.com/mailman/listinfo/linux-users
>
>
>
More information about the Linux-users
mailing list