Inicio > Debian, Resolución problemas > Error 18 en Grub: Selected cylinder exceeds …

Error 18 en Grub: Selected cylinder exceeds …

Viernes, 2 de abril de 2010 Dejar un comentario Ir a comentarios

Recientemente he vuelto a usar Debian y en esta ocasión me he encontrado con un pequeño incidente provocado por nuestro querido gestor de arranque del sistema GRUB. La situación es la siguiente. Al intentar arrancar Windows 7, grub me lanzaba el siguiente error:

Grub Error 18: Selected cylinder exceeds maximum supported by BIOS

Mientras que con cualquiera de los kernels de linux instalados todo marchaba sobre ruedas. Tras leer bastantes webs y foros, la mayoría de ellos afirmaban que esto se debía a que un intento de lectura en una dirección de un bloque lineal justo después del final del área de la BIOS. Según estas webs, esto ocurría si el disco es más grande de lo que la BIOS puede manejar. Para solucionar el problema sugerían actualizar la BIOS y/o mover la partición de arranque al principio del disco.

Sin embargo yo podía estar seguro de que no se trataba de ninguno de estos dos casos. Mi ordenador es de última generación, y mi partición de arranque está situada por delante del resto de particiones. Además, cuando he tenido Ubuntu instalado no he tenido ningún tipo de problema. Y ya empecé a suponer, que como en otras ocasiones me había pasado, todo se debía a las líneas de arranque del fichero /boot/grub/menu.lst.

La instalación de Debian me había insertado por defecto las siguientes líneas en dicho fichero:

title		Windows Vista/Longhorn
root		(hd0,0)
savedefault
makeactive
chainloader	+1

Y tras varias pruebas conseguí arrancar Windows con la siguiente configuración del fichero

title		Windows 7
root		(hd0,0)
chainloader	+1

La verdad es que nunca me ha dado por buscar la función de las palabras clave savedefault, makeactive y chainloader, pero según la versión de Windows que tengas instalada en el sistema hay que usar una combinación diferente de las mismas. En fin, si algún erudito de estos temas se pasa por el blog que nos ilumine al resto de presentes y yo estaré encantado de actualizar la entrada ;) .

Recently, I returned to debian and this time I’ve found a small incident caused by our beloved system boot manager GRUB. That is the situation. When I try to boot Windows 7, grub throws me the following error message:

Grub Error 18: Selected cylinder exceeds maximum supported by BIOS

While with any of the Linux kernels everything went smoothly. After reading several webs and blogs, most of them state that this situation is produced when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BIOS can handle. To solve this problem they suggest to try an update for your BIOS and/or move your boot partition to the front (or at least into the appropriate range).

However, I could be sure that my problem wasn’t be neither of them. My computer has cutting-edge components, and my boot partition is located ahead of the rest. Besides, when I’ve used Ubuntu I’ve not had any similar problem. And I started to suppose that, as in other times, this situation was caused by the configuration of the configuration file of grub /boot/grub/menu.lst.

The Debian installation has inserted by default the following lines in this file:

title		Windows Vista/Longhorn
root		(hd0,0)
savedefault
makeactive
chainloader	+1

And after several trials I achieved to boot Windows with the following configuration:

title		Windows 7
root		(hd0,0)
chainloader	+1

The truth is that I never seek the role of savedefault, makeactive and chainloader keywords, but depending on the Windows version installed on the system you must use a different combination of them. In short, if a scholar of these issues call around to the blog, I wish he/she enlighten to the rest and I will be happy to update that post ;) .

GD Star Rating
loading...
Error 18 en Grub: Selected cylinder exceeds ..., 10.0 out of 10 based on 2 ratings
Share
  1. Jueves, 27 de mayo de 2010 a las 10:57 | #1
    GD Star Rating
    loading...

    ¿Al final vuelta total a Ubuntu?

  1. Sin trackbacks aún.