Re: Parámetro al kernel
Ricardo, ya ya había probado ponerlo en la línea del kernel como se hace en
grub, pero por alguna razón el kernel no acepta el parámetro.
Mi línea del kernel en el menu.lst es la siguiente:
kernel /boot/vmlinuz-2.6.8 hda=3649,255,63 root=/dev/hda3 ro vga=788
En la BIOS ya le puse la opción LBA donde me reconoce la geometría 3649/255/63
en el disco.
¿Hay alguna razón por la cual el kernel me rechaze un parametro que le envío?
al bootear me sigue apareciendo :
hda: 58633344 sectors (30020 MB) w/2048KiB Cache, CHS=58168/16/63, UDMA(66)
al hacer hdparm /dev/hda:
/dev/hda:
multcount = 0 (off)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 58168/16/63, sectors = 58633344, start = 0
y en parted me da este error:
Using /dev/hda
Error: The partition table on /dev/hda is inconsistent. There are many
reasons why this might be the case.
However, the most likely reason is that Linux detected the BIOS geometry
for /dev/hda incorrectly. GNU Parted
suspects the real geometry should be 3649/255/63 (not 58168/16/63). You
should check with your BIOS first, as
this may not be correct. You can inform Linux by adding the parameter
hda=3649,255,63 to the command line.
See the LILO or GRUB documentation for more information. If you think
Parted's suggested geometry is correct,
you may select Ignore to continue (and fix Linux later). Otherwise, select
Cancel (and fix Linux and/or the
BIOS now).
Ignore/Cancel?
Gracias
Saludos
El Vie 04 Feb 2005 10:54, Ricardo Frydman escribió:
> El vie, 04-02-2005 a las 00:35 -0300, Santiago escribió:
> > Hola, tras varias pruebas, y búsquedas en google no logro hacerle
> > entender al kernel que la geometría de mi disco es de 3649/255/63 y no
> > 58168/16/63. Esto me esta trayendo un problema con Parted ya que me
> > imposibilita usarlo. Sé que con LILO sería fácil pasarle esa opción al
> > kernel:
> >
> > linux append="hda=3649,255,63"
> >
> > pero tengo GRUB y probé de todo pero no logro pasar la geometría
> > correcta.
>
> Edita menu.lst de grub y en la linea correspondiente al kernel (la que
> comeinza con la palabra "kernel" añadele al final el parametro que
> deseas pasarle sin comillas!, es decir kernel ......... hda=3649,255,63
>
> > En la BIOS ya le puse la opción LBA donde me reconoce la geometría
> > 3649/255/63 en el disco.
> > Pese a eso al bootear me aparece:
> >
> > hda: 58633344 sectors (30020 MB) w/2048KiB Cache, CHS=58168/16/63,
> > UDMA(66)
> >
> > ¿Cómo se pasa correctamente este parámetro al kernel usando GRUB?
> >
> > Gracias
> >
> > Santiago
Reply to: