Buenas noches. Es mi primer mensaje en el foro y lo primero que quiero hacer es agradeceros a todos la ayuda, información y trabajos de esta iniciativa tan formativa.
Dicho esto planteo mi problema, por si alguien me puede ayudar.
He intentado montar Guadalinex y prepararlo para auditoría wireless, pero cuando ayer me cargué la navegación web al instalar un asistente wireless para probar wlanreaver, decidí que lo mejor era tener Gudalinex por un lado y por otro Wifiway.
hda1 para Guadinex
hda6 para Wifiway
Disco /dev/hda: 40.0 GB, 40007761920 bytes
255 cabezas, 63 sectores/pista, 4864 cilindros
Unidades = cilindros de 16065 * 512 = 8225280 bytes
Disposit. Inicio Comienzo Fin Bloques Id Sistema
/dev/hda1 * 1 3916 31455238+ 83 Linux
/dev/hda2 3917 4864 7614810 5 Extendida
/dev/hda5 4682 4864 1469916 82 Linux swap / Solaris
/dev/hda6 3917 4681 6144799+ 83 Linux
Las entradas de la tabla de particiones no están en el orden del disco
Al instalar Wifiway, he perdido las entradas de Guadalinex en el Grub. Las he copiado al menu.lst de Wifiway pero no van (luego pongo el error que da).
Estos son los dos menu.lst implicados:
El de Wifiway que arranca:
gfxmenu /boot/grub/message.wifiway
default = 0
timeout = 10
# Archivos de configuracion del GRUB '/boot/grub/menu.lst'.
# Creado por by 'hadrianweb' a dia de jue 24 sep 2009 16:54:43 CEST
#
# La copia antigua de tu MBR esta en '/dev/hda' is
# here '/boot/grub/mbr.hda.5989'. You can restore it like this.
# dd if=mbr.hda.5989 of=/dev/hda bs=512 count=1
#
# Comienzo de la seccion global del GRUB
#timeout 30
#color light-gray/blue black/light-gray
# End GRUB global section
# Comienzo de la configuracion del grub para linux
title Linux on (/dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
# Configuracion del grub para linux terminada
# Comienzo de la configuracion del grub para wifiway-1.X
title wifiway 1.x
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6 ro vga=791
savedefault
# Configuracion del grub para wifiway-1.x terminada
Y esta es el menu.lst de Guadalinex
# 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 use 'savedefault' 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 3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# 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=UUID=17149c5d-19dd-4cdf-a519-e857def25694 ro locale=es_ES
## default grub root device
## e.g. groot=(hd0,0)
# groot=17149c5d-19dd-4cdf-a519-e857def25694
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## 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=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
uuid 17149c5d-19dd-4cdf-a519-e857def25694
splashimage=/boot/grub/splash.xpm.gz
title Guadalinex V6, kernel 2.6.28-15-generic
uuid 17149c5d-19dd-4cdf-a519-e857def25694
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=17149c5d-19dd-4cdf-a519-e857def25694 ro locale=es_ES quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
quiet
title Guadalinex V6, kernel 2.6.28-15-generic (recovery mode)
uuid 17149c5d-19dd-4cdf-a519-e857def25694
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=17149c5d-19dd-4cdf-a519-e857def25694 ro locale=es_ES single
initrd /boot/initrd.img-2.6.28-15-generic
title Guadalinex V6, kernel 2.6.28-11-generic
uuid 17149c5d-19dd-4cdf-a519-e857def25694
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=17149c5d-19dd-4cdf-a519-e857def25694 ro locale=es_ES quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Guadalinex V6, kernel 2.6.28-11-generic (recovery mode)
uuid 17149c5d-19dd-4cdf-a519-e857def25694
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=17149c5d-19dd-4cdf-a519-e857def25694 ro locale=es_ES single
initrd /boot/initrd.img-2.6.28-11-generic
title Guadalinex V6, memtest86+
uuid 17149c5d-19dd-4cdf-a519-e857def25694
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
He intentado meter algo así en el menu.lst de Wifiway, pero no va:
#-------------------------------------------
title Guadalinex0
root (hd0,5)
kernel /boot/vmlinuz-2.6.28-15-generic root=/dev/hda1 ro vga=791
quiet
#-----------------------------------------
title Guadalinex1
root (hd0,1)
kernel /boot/vmlinuz-2.6.28-15-generic root=/dev/hda1 ro locale=es_ES quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
quiet
#--------------------------------------
title Guadalinex V6, kernel 2.6.28-15-generic
uuid 17149c5d-19dd-4cdf-a519-e857def25694
kernel /boot/vmlinuz-2.6.28-15-generic root=UUID=17149c5d-19dd-4cdf-a519-e857def25694 ro locale=es_ES quiet splash
initrd /boot/initrd.img-2.6.28-15-generic
quiet
Con la entrada Guadalinex0 da:
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz-2.6.28-15-generic root=/dev/hda1 ro vga=791
Error 15: File not found
Con Guadalinex1
Filesystema type unknown, partition type 0x83
Error 17: cannot mount selected partition
Si pongo root (hd0,0)
kernel /boot/vmlinuz-2.6.28-15-generic root=/dev/hda1 ro locale=es_ES quiet splash
Error 2: bad file or directory type
Post Merge: 25-09-2009, 16:45 (Viernes)
Así ha quedado funcionando tras reinstalar Guadalinex
# 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 use 'savedefault' 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 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# 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=UUID=e51d8004-a6b4-415c-b87c-025b43d17d34 ro locale=es_ES
## default grub root device
## e.g. groot=(hd0,0)
# groot=e51d8004-a6b4-415c-b87c-025b43d17d34
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## 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=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
uuid e51d8004-a6b4-415c-b87c-025b43d17d34
splashimage=/boot/grub/splash.xpm.gz
title Guadalinex V6, kernel 2.6.28-11-generic
uuid e51d8004-a6b4-415c-b87c-025b43d17d34
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=e51d8004-a6b4-415c-b87c-025b43d17d34 ro locale=es_ES quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet
title Guadalinex V6, kernel 2.6.28-11-generic (recovery mode)
uuid e51d8004-a6b4-415c-b87c-025b43d17d34
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=e51d8004-a6b4-415c-b87c-025b43d17d34 ro locale=es_ES single
initrd /boot/initrd.img-2.6.28-11-generic
title Guadalinex V6, memtest86+
uuid e51d8004-a6b4-415c-b87c-025b43d17d34
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title Linux on (/dev/hda1) (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
savedefault
boot
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
title wifiway 1.x (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz root=/dev/hda6 ro vga=791
savedefault
boot