[ubuntu-ar] OT: GRUB 3 SO
Guillermo Lisi
unimix at fibertel.com.ar
Thu Jan 22 14:46:15 GMT 2009
Carlos Suarez wrote:
> Hola a todos,
>
> Tengo un problema que si bien no es de gravedad, por aprender, necesito me ayuden a solucionar;
>
> Tengo en mi PC instalado el WinXP (XPoint7), Ubuntu 8.10 (HH) y ahora quiero agregar un tercer SO que seria WIFISLAX, como gestor de arranque (desde que instale Ubuntu) uso GRUB.
>
> EL problema es que no puedo iniciar wifislax, pues GRUB me devuelve ERROR 2 - BAD FILE OR DIRECTORY NOT FOUND
>
> Luego de instalar wifislax edite el archivo menu.list del GRUB que dejo Ubuntu.
>
> CONTEXTO
>
> PC SOYO K7 - 768MBRAM - FX5200
>
> 3 Discos IDE 40, 80 y 80 GB
>
> Disco 1 40Gb
> 2 particiones
> A -WInXP *
> B -Datos
>
> Disco 2 80Gb
> 1 particion
> A -Ubuntu
>
> Disco 3 80Gb
> 2 particiones
> A -wifislax
> B -Datos 2
>
> Wifislax LiveCD los ve asi:
>
> wifislax ~ # fdisk -l
>
> Disk /dev/hda: 40.0 GB, 40020664320 bytes
> 16 heads, 63 sectors/track, 77545 cylinders
> Units = cylinders of 1008 * 512 = 516096 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 * 1 30473 15358360+ c W95 FAT32 (LBA)
> /dev/hda2 30473 77536 23719972+ c W95 FAT32 (LBA)
> Partition 2 does not end on cylinder boundary.
>
> Disk /dev/hdb: 80.0 GB, 80026361856 bytes
> 255 heads, 63 sectors/track, 9729 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdb1 1 9729 78148161 83 Linux
>
> Disk /dev/hdd: 82.3 GB, 82348277760 bytes
> 255 heads, 63 sectors/track, 10011 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hdd1 * 1 3224 25896748+ 83 Linux
> /dev/hdd2 3225 10011 54516577+ b W95 FAT32
> wifislax ~ #
>
> Ubuntu Livecd los ve asi:
>
> ubuntu at ubuntu:~$ sudo fdisk -l
>
> Disco /dev/sda: 40.0 GB, 40020664320 bytes
> 255 cabezas, 63 sectores/pista, 4865 cilindros
> Unidades = cilindros de 16065 * 512 = 8225280 bytes
> Identificador de disco: 0xf7d209de
>
> Disposit. Inicio Comienzo Fin Bloques Id Sistema
> /dev/sda1 * 1 1913 15358360+ c W95 FAT32 (LBA)
> La partición 1 no termina en un límite de cilindro.
> /dev/sda2 1913 4865 23719972+ c W95 FAT32 (LBA)
>
> Disco /dev/sdb: 80.0 GB, 80026361856 bytes
> 255 cabezas, 63 sectores/pista, 9729 cilindros
> Unidades = cilindros de 16065 * 512 = 8225280 bytes
> Identificador de disco: 0x2d1b2d1b
>
> Disposit. Inicio Comienzo Fin Bloques Id Sistema
> /dev/sdb1 1 9729 78148161 83 Linux
>
> Disco /dev/sdc: 82.3 GB, 82348277760 bytes
> 255 cabezas, 63 sectores/pista, 10011 cilindros
> Unidades = cilindros de 16065 * 512 = 8225280 bytes
> Identificador de disco: 0x00000001
>
> Disposit. Inicio Comienzo Fin Bloques Id Sistema
> /dev/sdc1 * 1 3224 25896748+ 83 Linux
> /dev/sdc2 3225 10011 54516577+ b W95 FAT32
>
> Disco /dev/sdd: 2012 MB, 2012217344 bytes
> 47 cabezas, 46 sectores/pista, 1817 cilindros
> Unidades = cilindros de 2162 * 512 = 1106944 bytes
> Identificador de disco: 0x04030201
>
> Disposit. Inicio Comienzo Fin Bloques Id Sistema
> /dev/sdd1 1 1818 1964932 6 FAT16
> ubuntu at ubuntu:~$
>
> Este es el Archivo menu.list editado a mano para iniciar wifislax (nunca inicio) x(
>
> title Ubuntu 8.10, kernel 2.6.27-9-generic
> root (hd1,0)
> kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=a852b1f8-83a8-4b51-8213-5a0a36d5c073 ro quiet splash
> initrd /boot/initrd.img-2.6.27-9-generic
> quiet
>
> title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
> root (hd1,0)
> kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=a852b1f8-83a8-4b51-8213-5a0a36d5c073 ro single
> initrd /boot/initrd.img-2.6.27-9-generic
>
> title Ubuntu 8.10, kernel 2.6.27-7-generic
> root (hd1,0)
> kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=a852b1f8-83a8-4b51-8213-5a0a36d5c073 ro quiet splash
> initrd /boot/initrd.img-2.6.27-7-generic
> quiet
>
> title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
> root (hd1,0)
> kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=a852b1f8-83a8-4b51-8213-5a0a36d5c073 ro single
> initrd /boot/initrd.img-2.6.27-7-generic
>
> title Ubuntu 8.10, memtest86+
> root (hd1,0)
> kernel /boot/memtest86+.bin
> quiet
>
> ### END DEBIAN AUTOMAGIC KERNELS LIST
>
> # Comienzo de la configuracion del grub para WIFISLAX 3.0
> title Wifislax 3.0
> root (hd2,0)
> kernel /boot/vmlinuz root=/dev/hdd1 ro vga=788
> initrd /boot/splash.initrd
> savedefault
> # Configuracion del grub para WIFISLAX 3.0 terminada
>
> # This entry automatically added by the Debian installer for a non-linux OS
> # on /dev/sda1
> title Microsoft Windows XP Professional
> root (hd0,0)
> savedefault
> makeactive
> chainloader +1
>
> Bueno para mas datos les muestro lo que devuelve este comando desde GRUB:
> grub> find /boot/grub/stage1
> (hd0,0)
> (hd1,0)
>
>
> Disculpen por lo extenso, cualquier aporte sera bienvenido..
>
>
> Gracias de antemano y un saludo! ;)
>
Haciendo una rapida lectura y parando especialmente en el contenido que
mostras de /boot/grub/stage1 me da la impresion que Slax no grabo
correctamente su informacion en ese archivo.
Entiendo, y si le estoy pifiando les pido me corrijan, que deberia haber
agregado (hd2,0) para ver el tercer disco, donde se supone esta
instalado Slax.
--
Guillermo Lisi
http://ubuntu-ar.org
More information about the Ubuntu-ar
mailing list