[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Can't login with Xen and Gentoo



Hi John,

I struggled with that myself some time ago. To use the console (as well
with grub, xen, and the kernel) I made the following setup in grub.conf:

default 0
timeout 30

serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal serial

title   Xen 3.0.2 + Linux 2.6.16.28
root    (hd0,0)
kernel  /boot/xen.gz com1=9600,8n1,0x3f8,4 console=com1 dom0_mem=70M
module  /boot/vmlinuz-2.6.16.28-xen0 root=/dev/hda3 console=ttyS0,9600

title   Linux 2.6.17.6
root    (hd0,0)
kernel  /boot/linux-2.6.17.6 root=/dev/hda3 console=ttyS0,9600

Further more, make sure your console (ttyS0, tty0 or so) are
mentioned in /etc/securetty. You can find out your console
when you boot your standard kernel; login on the console and
give the tty command.
And there used to be a problem some time ago when the packages
shadow and pam-login were blocking each other. You had to unmerge
one of them and (not log out!) emerge the other.
And finally, make sure you run (a)getty on the console (specify
in /etc/inittab).
Note: your console can be tty0 when running your standard kernel
and ttyS0 when running dom0.

Hope this helps,
Hans.

John Little wrote:
> Hi all,
> 
> I installed Xen 3.0.2 using Gentoo portage.  The kernel boots ok to the
> console but when I try to login either as root or myself it won't
> authenticate.
> 
> I read some posts that mentioned not having a populated /dev directory
> but this is in place.  It also contains a full range of tty* and has
> console in it.
> 
> I'm at a loss for what to look for.  The console login is ok when
> booting to the standard kernel.  Can anyone point me in the right
> direction of what I should be checking/doing differently?
> 
> Thanks,
> John

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.