Parece que la instalación de un servidor Debian Etch en un COMPAQ EVO D510 E-PC parece bastante sencilla. Comento la instalación desde el aspecto servidor, para denotar que no entraremos en detalles de como configurar la tarjeta gráfica, de sonido o un entorno de escritorio.
El objetivo final va a ser disponer de una instalación base de Debian Etch, la tarjeta de red se va a detectar automáticamente y con esto nos bastará para tener un servidor accesible remotamente mediante SSH.
A primera vista disponemos de un hardware bastante estándar de Intel integrado en la misma placa base:
lspci -v
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 1298
Flags: bus master, fast devsel, latency 0
Memory at e0000000 (32-bit, prefetchable) [size=64M]
Capabilities: [e4] Vendor Specific Information
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01) (prog-if 00 [VGA])
Subsystem: Hewlett-Packard Company Unknown device 1298
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Memory at dff80000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 1
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Unknown device 1298
Flags: bus master, medium devsel, latency 0, IRQ 169
I/O ports at e400 [size=32]
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Unknown device 1298
Flags: bus master, medium devsel, latency 0, IRQ 177
I/O ports at e800 [size=32]
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Unknown device 1298
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at ec00 [size=32]
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Unknown device 1298
Flags: bus master, medium devsel, latency 0, IRQ 193
Memory at dff7bc00 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: dfd00000-dfdfffff
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
Subsystem: Hewlett-Packard Company Unknown device 1298
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at fc00 [size=16]
Memory at 20000000 (32-bit, non-prefetchable) [size=1K]
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 1298
Flags: medium devsel, IRQ 209
I/O ports at 0c00 [size=32]
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 1298
Flags: bus master, medium devsel, latency 0, IRQ 209
I/O ports at e000 [size=256]
I/O ports at dc00 [size=64]
Memory at dff7ba00 (32-bit, non-prefetchable) [size=512]
Memory at dff7b900 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
03:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller (rev 81)
Subsystem: Hewlett-Packard Company Unknown device 1298
Flags: bus master, medium devsel, latency 32, IRQ 201
Memory at dfdff000 (32-bit, non-prefetchable) [size=4K]
I/O ports at cc00 [size=64]
Capabilities: [dc] Power Management version 2Pero si instalamos Debian Etch como de costumbre configurando GRUB, el sistema no va a arrancar (aunque se detecte y configure la controladora IDE) para ello debemos usar LILO, bien en la instalación, o si tenemos la oportunidad de llevar el disco con GRUB configurado a otro PC, desinstalamos GRUB e instalamos LILO:
aptitude remove grub aptitude install lilo
Esta ha sido mi configuración de LILO (/etc/lilo.conf) para Debian Etch en el EVO:
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
# --------------- `install-mbr(8)', `/usr/share/doc/lilo/',
# and `/usr/share/doc/mbr/'.
# +---------------------------------------------------------------+
# | !! Reminder !! |
# | |
# | Don't forget to run `lilo' after you make changes to this |
# | conffile, `/boot/bootmess.txt' (if you have created it), or |
# | install a new kernel. The computer will most likely fail to |
# | boot if a kernel-image post-install script or you don't |
# | remember to run `lilo'. |
# | |
# +---------------------------------------------------------------+
# Specifies the boot device. This is where Lilo installs its boot
# block. It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/hda
# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hda1
# Enable map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the
# map smaller. Using `compact' is especially recommended when
# booting from a floppy disk. It is disabled here by default
# because it doesn't always work.
#
# compact
# Installs the specified file as the new boot sector
# You have the choice between: text, bmp, and menu
# Look in lilo.conf(5) manpage for details
#
#install=menu
# Specifies the location of the map file
#
map=/boot/map
# You can set a password here, and uncomment the `restricted' lines
# in the image definitions below to make it so that a password must
# be typed to boot anything but a default configuration. If a
# command line is given, other than one specified by an `append'
# statement in `lilo.conf', the password will be required, but a
# standard default boot will not require one.
#
# This will, for instance, prevent anyone with access to the
# console from booting with something like `Linux init=/bin/sh',
# and thus becoming `root' without proper authorization.
#
# Note that if you really need this type of security, you will
# likely also want to use `install-mbr' to reconfigure the MBR
# program, as well as set up your BIOS to disallow booting from
# removable disk or CD-ROM, then put a password on getting into the
# BIOS configuration as well. Please RTFM `install-mbr(8)'.
#
# password=tatercounter2000
# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.
#
delay=20
# You can put a customized boot message up if you like. If you use
# `prompt', and this computer may need to reboot unattended, you
# must specify a `timeout', or it will sit there forever waiting
# for a keypress. `single-key' goes with the `alias' lines in the
# `image' configurations below. eg: You can press `1' to boot
# `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
#
# message=/boot/bootmess.txt
# prompt
# delay=100
# timeout=100
# Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>)
#
# vga=ask
# vga=9
#
vga=normal
# Kernel command line options that apply to all installed images go
# here. See: The `boot-prompt-HOWTO' and `kernel-parameters.txt' in
# the Linux kernel `Documentation' directory.
#
# append=""
# If you used a serial console to install Debian, this option should be
# enabled by default.
# serial=
#
# Boot up Linux by default.
#
default=Linux
image=/vmlinuz
label=Linux
read-only
# restricted
# alias=1
initrd=/initrd.img
image=/vmlinuz.old
label=LinuxOLD
read-only
optional
# restricted
# alias=2
initrd=/initrd.img.old
# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
# other=/dev/hda4
# label=HURD
# restricted
# alias=3Después de modificar el archivo de configuración debemos ejecutar LILO:
lilo Added Linux * Added LinuxOLD
Ya podemos reiniciar y arrancar el sistema, pero si queremos instalar GRUB?
Según he leído esto se debe a los 3 switches en un bloque azul que hay en la parte frontal de la placa base del EVO, la posición OFF es hacia arriba y ON hacia abajo, estos switches están a la derecha de los LEDS:
![]()
El primero de ellos, evita la sobreescritura del MBR por tanto bastará con comprobar que está bajado (posición ON) y lo subimos (posición OFF) y reinstalamos GRUB. Así es como aparece en el manual de HP, el primero protege el MBR, el segundo limpia la CMOS eliminando passwords y cargando los valores por defecto, mientras que según HP el tercero está reservado para algo que solo deben saber ellos (por lo tanto no lo he tocado):
Switch Position Function 1 ON Bootblock protected (default) OFF Bootblock not protected 2 ON Clear CMOS and reload default values in Computer Setup. Clear all passwords. OFF CMOS locked (default) 3 ON Reserved OFF Reserved (default)
Después de esto podremos arrancar nuestra instalación de Debian GNU/Linux con GRUB en nuestro EVO.