Crear LiveUSB Con Varias Distribuciones
-
Upload
prime-analytic -
Category
Documents
-
view
217 -
download
0
Transcript of Crear LiveUSB Con Varias Distribuciones
8/6/2019 Crear LiveUSB Con Varias Distribuciones
http://slidepdf.com/reader/full/crear-liveusb-con-varias-distribuciones 1/3
Crear LiveUSB con varias distribuciones
« : 22-Noviembre 20:10:46 (Sbado) »
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, enmi 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 40DEFAULT /boot/vesamenu.c32
LABEL wifiway vga=791
MENU LABEL Run wifiway vga=791KERNEL /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=769KERNEL /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=791MENU LABEL Run Wifislax Small 3.1 vga=791
KERNEL /boot/vmlinuzw
APPEND vga=791 max_loop=255 initrd=/boot/initrdw.gz ramdisk_size=6666root=/dev/ram0 rw
LABEL Wifislax Small 3.1 vga=769
8/6/2019 Crear LiveUSB Con Varias Distribuciones
http://slidepdf.com/reader/full/crear-liveusb-con-varias-distribuciones 2/3
MENU LABEL Run Wifislax Small 3.1 vga=769
KERNEL /boot/vmlinuzw
APPEND vga=769 max_loop=255 initrd=/boot/initrdw.gz ramdisk_size=6666root=/dev/ram0 rw
El proceso será el mismo para la carpeta /boot/isolinux y el archivo isolinux.cfg, en mi casoa 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 stdMENU 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 stdMENU COLOR disabled 1;30;44 #00000000 #7F000000 std
LABEL wifiway vga=791MENU LABEL Run wifiway vga=791
KERNEL /boot/vmlinuzAPPEND vga=791 max_loop=255 initrd=/boot/initrd.gz ramdisk_size=6666root=/dev/ram0 rw
LABEL wifiway vga=769
MENU LABEL Run wifiway vga=769KERNEL /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 utilityKERNEL /boot/mt86p
LABEL Wifislax Small 3.1 vga=791
MENU LABEL Run Wifislax Small 3.1 vga=791KERNEL /boot/vmlinuzw
APPEND vga=791 max_loop=255 initrd=/boot/initrdw.gz ramdisk_size=6666
root=/dev/ram0 rw
8/6/2019 Crear LiveUSB Con Varias Distribuciones
http://slidepdf.com/reader/full/crear-liveusb-con-varias-distribuciones 3/3
LABEL Wifislax Small 3.1 vga=769
MENU LABEL Run Wifislax Small 3.1 vga=769KERNEL /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 bajowindows, 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