HARDWARE Y SISTEMAS OPERATIVOS, GNU/Linux, Windows, Mac > GNU/Linux, Unix, *BSD and Free Software, Android
Problema con grub y cylinders (SOLUCIONADO)
Jaleos:
Bueno, os cuento.
He creado y formateado las 4 particiones segun me indicabais, instalado y arrancado, y como error me daba el nº 17, casualmente puse en la bios que reconociera el disco duro automaticamente y, alegria de los dioses, arranco. Solucionado los cylinders.
Pero aun no se han acabado mis quebraderos, al principio cuando queria bootear el cdlive tenia otro problema ,que ya solucione, no buscaba en "/hdc" sino en "/hda" que era el DD vacio, para conseguir que arrancara le tengo que poner "Boot: knoppix nodma" y "knoppix screen=800x600" como opciones de arranque.
Y como no, ahora tengo el mismo problema cuando arranco el instalado, activa el dma de las unidades y se cuelga.
¿Hay alguna forma de poner, supongo que en el GRUB, que no active el dma?
Ya falta poco.... :cool:
Saludos
goldfinger:
--- Citar ---¿Hay alguna forma de poner, supongo que en el GRUB, que no active el dma?
--- Fin de la cita ---
Sí hay forma, habría que introducir el argumento ide=nodma en las opciones de arranque de grub, en /boot/grub/menu.lst.
Para desactivarlo en las opciones de grub, en /boot/grub/menu.lst añade la opción de forma que quede algo como en el siguiente ejemplo:
title knoppix-nodma
kernel (hd0,0)/vmlinuz root=/dev/hda1 ide=nodma
initrd (hd0,0)/initrd
Siendo (hd0,0) la primeria particion primaria en el primer DD y /dev/hda1 la definición en el esquema linux de la partición donde se encuentra el kernel. Sustituye estos parametros según tu esquema de particiones
A continuación te pongo la nomenclatura que utiliza grub para discos duros y particiones:
(hd0,0) primera partición primaria en el primer disco duro
(hd0,1) segunda partición primaria
(hd0,2) tercera partición primaria
(hd0,3) cuarta partición primaria (y normalmente partición extendida)
(hd0,4) primera partición lógica
(hd0,5) segunda partición lógica
De todos modos, tu hardware utiliza DMA??, si es así, lo suyo sería solucionar el arranque sin prescindir de la función? podrías pegar aquí el contenido de tu /boot/grub/menu.lst por si vieramos alguna otra cosa extraña?
Jaleos:
Aqui va:
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5
# Pretty colours
color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda3 ro ramdisk_size=100000 lang=es apm=power-off nomce vga=791
En el editor de GRUB, cuando arranca, le añadi ide=nodma y parece que lo hizo, para luego parar en:
hda: dma_intr:status=0x51 (driveReady SeekComplete Error)
hda: dma_intr:error=0x84 (DriveStatus Error BadCRC)
ide: Failed opcode was:unknown
Lo repite 4 veces y se para
seguro que esta mal editado :???:
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=false
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.17 Default
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 ro ramdisk_size=100000 lang=es apm=power-off nomce vga=791
initrd /boot/initrd.img
savedefault
boot
title Debian GNU/Linux, kernel 2.6.17
root (hd0,2)
kernel /boot/vmlinuz-2.6.17 root=/dev/hda3 ro ramdisk_size=100000 lang=es apm=power-off nomce vga=791
initrd /boot/initrd.img-2.6.17
savedefault
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
Tambien me interesaria que arancara en 800x600
Muchas garcias por vuestras rapidas respuestas.
Saludos
goldfinger:
Que error te da exactamente al arrancar? el archivo de menu en principio lo veo bien...
Jaleos:
Supongo que te refieres a esto
--- Cita de: Jaleos en 17 de Octubre de 2006, 01:41:31 pm ---
hda: dma_intr:status=0x51 (driveReady SeekComplete Error)
hda: dma_intr:error=0x84 (DriveStatus Error BadCRC)
ide: Failed opcode was:unknown
Lo repite 4 veces y se para
--- Fin de la cita ---
Navegación
[#] Página Siguiente
[*] Página Anterior
Ir a la versión completa