?>/script>'; } ?> Crear LiveUSB con varias distribuciones Widgets Magazine

Autor Tema: Crear LiveUSB con varias distribuciones  (Leído 18272 veces)

0 Usuarios y 1 Visitante están viendo este tema.

berni69

  • Visitante
Crear LiveUSB con varias distribuciones
« en: 22-11-2008, 20:10 (Sábado) »
Debido a la necesidad de tener que usar varias distribuciones me ha llevado a investigar como poder arrancar dos distribuciones desde un USB
Para ello debemos copiar las dos distribuciones al USB, yo use dos distribuciones que usan las linux-live scripts,  y editar el nombre del kernel (vmlinuz por defecto) y del initrd.gz, en mi caso como podeis observar a los archivos de arranque de la segunda distro les añadi una w .
En nuestro USB deberia quedar una estructura de directorios asi

/boot
/wifiway
/wifislax

una vez tenemos esto, deberemos editar con un editor de texto los archivos de configuracion del inicio, para ello debemos entrar en la carpeta /boot/syslinux/ y editar el syslinux.cfg y dejarlo parecido al siguiente ( el que yo uso)

Citar
PROMPT 0
TIMEOUT 40
DEFAULT /boot/vesamenu.c32

LABEL wifiway vga=791
MENU LABEL Run wifiway vga=791
KERNEL /boot/vmlinuz
APPEND vga=791 max_loop=255 initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw

LABEL wifiway vga=769
MENU LABEL Run wifiway vga=769
KERNEL /boot/vmlinuz
APPEND vga=769 max_loop=255 initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw

LABEL memtest86
MENU LABEL Run Memtest utility
KERNEL /boot/mt86p


LABEL Wifislax Small 3.1 vga=791
MENU LABEL Run Wifislax Small 3.1 vga=791
KERNEL /boot/vmlinuzw
APPEND vga=791 max_loop=255 initrd=/boot/initrdw.gz ramdisk_size=6666 root=/dev/ram0 rw

LABEL Wifislax Small 3.1 vga=769
MENU LABEL Run Wifislax Small 3.1 vga=769
KERNEL /boot/vmlinuzw
APPEND vga=769 max_loop=255 initrd=/boot/initrdw.gz ramdisk_size=6666 root=/dev/ram0 rw



El proceso será el mismo para la carpeta /boot/isolinux y el archivo isolinux.cfg, en mi caso a mi me quedo asi:

Citar
PROMPT 0
TIMEOUT 40
DEFAULT /boot/vesamenu.c32


MENU BACKGROUND /boot/isolinux/splash.png

MENU COLOR border 30;44 #00000000 #00000000 std
MENU COLOR title 1;36;44 #ff0000ff #00000000 std
MENU COLOR unsel 37;44 #ff0000ff #00000000 std
MENU COLOR sel 7;37;40 #c0ffffff #ff000000 std
MENU COLOR hotkey 1;37;44 #ffD83200 #00000000 std
MENU COLOR hotsel 1;7;37;40 #ff00ff00 #ff000000 std
MENU COLOR disabled 1;30;44 #00000000 #7F000000 std

LABEL wifiway vga=791
MENU LABEL Run wifiway vga=791
KERNEL /boot/vmlinuz
APPEND vga=791 max_loop=255 initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw

LABEL wifiway vga=769
MENU LABEL Run wifiway vga=769
KERNEL /boot/vmlinuz
APPEND vga=769 max_loop=255 initrd=/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw

LABEL memtest86
MENU LABEL Run Memtest utility
KERNEL /boot/mt86p

LABEL Wifislax Small 3.1 vga=791
MENU LABEL Run Wifislax Small 3.1 vga=791
KERNEL /boot/vmlinuzw
APPEND vga=791 max_loop=255 initrd=/boot/initrdw.gz ramdisk_size=6666 root=/dev/ram0 rw

LABEL Wifislax Small 3.1 vga=769
MENU LABEL Run Wifislax Small 3.1 vga=769
KERNEL /boot/vmlinuzw
APPEND vga=769 max_loop=255 initrd=/boot/initrdw.gz ramdisk_size=6666 root=/dev/ram0 rw

Una vez hecho esto, solo queda hacer nuestro usb arrancable. Para ello dependiendo del sistema que usemos deberemos ejecutar el archivo bootinst.bat, en el caso que estemos bajo windows, mientras que si estamos en linux, deberemos ejecutar bootinst.sh

Saludos y espero que este manual os haya servido

Publicado originalmente en www.bitsdelocos.es

« Última modificación: 03-09-2009, 12:24 (Jueves) por βerni69 »

berni69

  • Visitante
Re: Crear LiveUSB con varias distribuciones
« Respuesta #1 en: 02-05-2009, 09:29 (Sábado) »
1 hay otra que es mediante el loadlin, se puede hacer que mediante un cd u dvd u oendrive u hd-usb entre en ms-dos, luego con loadlin, entrando en unidad boot\dos y ejecutando el bat...la dificultad es que hay q crear disd¡tintos "configs" por cada distro=es el nombre al que accede el bat, y renombrar u meter en distintas carpetas.
Para no tener que teclear wifislas wifiway bt3....se puede meter todo junto en el autoexec.bat  y config.sys mediane" menuiten"=google, para que ejecute cada loadimd correspondiente a cada distro.
sin tener q ir a ese  directorio

2otra fotma es metiendolo todo en una particion fat32 q no sea la prncipal=lo metemos en el d: y haciendo lo que tu dices, un syslinux pero metiendo el el mbr un"gag" y este ultimo es eñ que acceda a esa particion, y nos aparece el menu del suslinux...con esto ganamos la velocidad del hd y la vida de no joder un pendrive con lectura y escrirura...

3 forma es la + complicada mediante el programa magiccd de win, los tutos estan en ingles, tienes q tener las iso cosa q en el 1u2 metodo no te hace falta.