Belkin XM Commander Manuale Utente Pagina 17

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 56
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 16
2.4.1 GRUB Configuration
An entry should be added to grub.conf (often found under /boot/ or /boot/grub/)
to allow Xen / XenLinux to boot. This file is sometimes called menu.lst, depending
on your distribution. The entry should look something like the following:
title Xen 2.0 / XenLinux 2.6
kernel /boot/xen-2.0.gz dom0_mem=131072
module /boot/vmlinuz-2.6-xen0 root=/dev/sda4 ro console=tty0
The kernel line tells GRUB where to find Xen itself and what boot parameters should
be passed to it (in this case, setting domain 0’s memory allocation in kilobytes and the
settings for the serial port). For more details on the various Xen boot parameters see
Section 8.2.
The module line of the configuration describes the location of the XenLinux kernel
that Xen should start and the parameters that should be passed to it (these are standard
Linux parameters, identifying the root device and specifying it be initially mounted
read only and instructing that console output be sent to the screen). Some distributions
such as SuSE do not require the ro parameter.
If you want to use an initrd, just add another module line to the configuration, as usual:
module /boot/my_initrd.gz
As always when installing a new kernel, it is recommended that you do not delete
existing menu options from menu.lst you may want to boot your old Linux kernel
in future, particularly if you have problems.
2.4.2 Serial Console (optional)
In order to configure Xen serial console output, it is necessary to add an boot option to
your GRUB config; e.g. replace the above kernel line with:
kernel /boot/xen.gz dom0_mem=131072 com1=115200,8n1
This configures Xen to output on COM1 at 115,200 baud, 8 data bits, 1 stop bit and no
parity. Modify these parameters for your set up.
One can also configure XenLinux to share the serial console; to achieve this append
console=ttyS0” to your module line.
If you wish to be able to log in over the XenLinux serial console it is necessary to add
a line into /etc/inittab, just as per regular Linux. Simply add the line:
c:2345:respawn:/sbin/mingetty ttyS0
and you should be able to log in. Note that to successfully log in as root over the serial
line will require adding ttyS0 to /etc/securetty in most modern distributions.
11
Vedere la pagina 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 55 56

Commenti su questo manuale

Nessun commento