Foro de elhacker.net

Seguridad Informática => Wireless en Linux => Mensaje iniciado por: entendimiento en 1 Enero 2011, 20:53 pm



Título: necesito ayuda para configurar grub de wifiway 2
Publicado por: entendimiento en 1 Enero 2011, 20:53 pm
Soy novato en Linux.
Tengo instalado windows xp.
Instalé wifiway 2
           cree las particiones con cfdisk
            formatee las particiones

Asi tengo el disco duro:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x51bcd2b3

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       32046   257409463+   f  W95 Ext'd (LBA)
/dev/sda2   *       32047       60801   230974537+   7  HPFS/NTFS            (aquí tengo boot.ini)
/dev/sda5               1         124      995967   82  Linux swap
/dev/sda6             125        1276     9253408+  83  Linux
/dev/sda7            1277       32046   247159993+   7  HPFS/NTFS               (aqui esta windows)

Me sale un error al configurar el grub
boot/grub/stage1 no existe
grub/stage1 no existe
y luego me dice que no puedo arrancar el ordenador por que no se ha creado el grub

Esto tengo en menu.lst
default = 0
timeout = 10
# Archivos de configuracion del GRUB  '/boot/grub/menu.lst'.
# Creado por  by 'hadrianweb' a dia de  Tue Dec 28 20:06:25 2010
#
# La copia antigua de tu MBR esta en '/dev/sda7' is
# here '/boot/grub/mbr.sda.8614'.  You can restore it like this.
# dd if=mbr.sda.8614 of=/dev/sda7 bs=512 count=1
#
# Comienzo de la sección global del GRUB
#timeout 30
#color light-gray/blue black/light-gray
# End GRUB global section
# Other bootable partition config begins
  title Windows on (/dev/sda2)
  map (hd0,0) (hd0,1)
  map (hd0,1) (hd0,0)
  rootnoverify (hd0,1)
  makeactive
  chainloader +1
# Other bootable partition config ends
# Comienzo de la configuracion del grub para wifiway-2.X
  title wifiway 2.x
  root (hd0,5)
  kernel /boot/vmlinuz root=/dev/sda6 ro vga=791
  savedefault
# Configuracion del grub para wifiway-2.x terminada
# Other bootable partition config begins
  title Windows on (/dev/sda7)
  map (hd0,0) (hd0,6)
  map (hd0,6) (hd0,0)
  rootnoverify (hd0,6)
  makeactive
  chainloader +1
# Other bootable partition config ends


esto tengo en device.map
(hd0)   /dev/sda

No sé que es lo que hago mal, tengo dudas sobre cual es la particion activa, ¿es donde tengo el boot.ini? esta es la que tengo que poner al configurar el grub?



Título: Re: necesito ayuda para configurar grub de wifiway 2
Publicado por: Kynito en 28 Febrero 2011, 15:37 pm
Hola!
Yo también soy nuevo en GNU/Linux y me ha pasado exactamente lo mismo que a ti (o eso creo).
En mi caso tenía instalado WinXP, WifiWay 1.0 y Ubuntu 10.10 en mi netbook, tuve algún problema con el grub de wifiway entonces, pero al instalar Ubuntu se reescribió el grub y dejé de tener problemas  ;D. Sin embargo, al instalar wifiway 2.0, en vez de utilizar la instalación MBR, utilicé la opción Root. Hasta ahí todo bien. Se crea el grub y al arrancar tengo todas las opciones disponibles (XP, Ubuntu, Wifiway2.0), sin embargo antes de arracar wifiway se me quedaba colgado... Volviendo a tirar de la LiveUSB lo reinstalo todo y esta vez elijo la opción MBR, me da error y ya no arranca. Ahora mismo estoy funcionando sólo con el LiveUSB de wifiway 2.0.
Alguien sabe en que me he podido equivocar y cómo puedo solucionarlo??
Muchísimas gracias de antemano y felicidades por esta página!!