[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Help: cannot attach to the domain's console. why?
Hi, Thanks a lot again. Now I can install a new system in my computer using console according to your reply. I used "xm vncviewer test" to check installation is OK and type "linux console=ttyS0" in "boot: prompt", then change to use "xm console test" to continue the installation. However, when I go to my lab, I found that all computers in my lab is run on only text mode redhat and have no GUI and vnc. So I have to search some methods which can use only console mode to control the installation. But I haven't found any useful results. So would you help me again and tell me how? Thank you! Best Wishes! Qiang Ma On Fri, Jan 22, 2010 at 6:26 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote: > On Fri, Jan 22, 2010 at 2:58 PM, ma qiang <maqiang1984@xxxxxxxxx> wrote: >> Hiï >> Â Thanks a lot. ÂI can connect to domU's console by munally updating >> /etc/inittab and grub.conf, > > there's also /etc/securetty > >> but a little trouble is that after my type >> "xm console test& enter", the console cannot print until I enter >> again. > > I believe that's normal. When you run "xm console" to a HVM guest, it > doesn't display any previous output. When you press enter, it displays > a new login prompt (or new bash prompt, if you're already logged in). > > >> Â Now I want to setup serial console automaticly when I install >> centos domU. I add "console='ttyS0'" to config file > > No, that's not it. When you boot to CD installer, it should ask you > what to do (the "boot:" prompt). Normally you'd just press enter. If > you want serial console support, you'd have to type "linux > console=ttyS0" and press enter. Note that this will cause all output > to be on serial port (that is, you have to run "xm console" to > continue installation, as the GUI console will seem to stop working), > resulting in text-based (non-GUI) installation. This may or may not be > what you want. Personally, I like this better :D > > You could PROBABLY play around with console lines to see what > arguments runs the installer on GUI but still sets up serial console > properly. Perhaps "linux console=ttyS0 console=tty0" will do. Google > should help, something like > http://www.vanemery.com/Linux/Serial/serial-console.txt > > -- > Fajar > _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |