[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problemas con lilo, creo...



El Martes, 5 de Abril de 2005 13:53, Omar Murray escribió:
|| **************************************************************************
||** cat /etc/lilo.conf
|| # Generated by liloconfig
||
|| # Specifies the boot device
|| boot=/dev/hdb1
¿Esto no debería ser "boot=/dev/hda" a secas?
El sector de arranque que yo sepa debe estar en el primer disco, ahí es donde 
mira la bios, o al menos eso pensaba.

|| # Specifies the device that should be mounted as root.
|| # If the special name CURRENT is used, the root device is set to the
|| # device on which the root file system is currently mounted. If the root
|| # has been changed with  -r , the respective device is used. If the
|| # variable ROOT is omitted, the root device setting contained in the
|| # kernel image is used. It can be changed with the rdev program.
|| root=/dev/hdb1
OK

|| # Enables 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.
|| compact
?¿?¿ No sé el porqué de esto (desconocimiento mío). Yo al menos lo tengo 
comentado.

|| # Install the specified file as the new boot sector.
|| # If INSTALL is omitted, /boot/boot.b is used as the default.
|| install=/boot/boot.b
||
|| # Specifies the number of _tenths_ of a second LILO should
|| # wait before booting the first image.  LILO
|| # doesn't wait if DELAY is omitted or if DELAY is set to zero.
|| delay=20
||
|| # Specifies the location of the map file. If MAP is
|| # omitted, a file /boot/map is used.
||
|| map=/boot/map
||
|| # Specifies the VGA text mode that should be selected when
|| # booting. The following values are recognized (case is ignored):
|| #   NORMAL  select normal 80x25 text mode.
|| #   EXTENDED  select 80x50 text mode. The word EXTENDED can be
|| #     abbreviated to EXT.
|| #   ASK  stop and ask for user input (at boot time).
|| #   <number>  use the corresponding text mode. A list of available modes
|| #     can be obtained by booting with  vga=ask  and pressing [Enter].
|| vga=normal
||
|| append="hdc=ide-scsi hdd=ide-scsi"
||
|| image=/vmlinuz
||          label=Linux
||          read-only
||
|| image=/vmlinuz.old
||          label=Linux.old
||          read-only
|| # If you have another OS on this machine (say DOS),
|| # you can boot if by uncommenting the following lines
|| # (Of course, change /dev/hda2 to wherever your DOS partition is.)
|| #other=/dev/hda1
|| #label=W2K
Evidentemente te falta incluir la partición de Windows (man lilo.conf, te 
viene un ejemplo muy bueno).

|| *************************************************************************
||
|| --

Yo creo que al actualizar se te ha ido al garete el anterior lilo.conf y te ha 
puesto uno nuevo. Creo que el arranque está en hda, y da igual que instales 
lo que instales en hdb porque la bios mirará en hda. Y en esto lilo.conf que 
has mandado pone boot=/dev/hdb1, o sea, que al ejecutar "lilo" para escribir 
los cambios en el sector de arranque te lo escribirá en hdb, lo cual no 
mirará la bios.

Yo lo que haría es:

- Cambiar esa línea de boot y poner la que te sugiero arriba.

- Añadir la partición de windows (man lilo.conf):
  other = /dev/hda1
                   label = Windows
                   table = /dev/hda

- Comentar esa opción de "Compact" (yo no la tengo y me va bien).

- Guardar los cambios de lilo.conf y ejecutar "lilo", con lo que al haber 
cambiado la línea de boot AHORA se escribirá donde debe, en hda. Y ya debería 
estar todo solucionado.

- Y sobre todo y lo más importante: Contrastar esta información que te doy yo 
con la lectura de otras, ya que aunque uso lilo y me he peleado muchas veces 
con él, no puedo garantizar que funcione como yo creo.


Un saludo y suerte.


-- 
que a mí ni me va ni me viene... pero por comentar...



Reply to: