No os voy a mentir. Este tutorial era uno que tenía en mi lista de «tutoriales que hacer» y que no hacía porque me daba pereza. Pero el otro día pensando en tutoriales dije «Este tutorial tiene que estar en todo blog de GNU/Linux». Así que… aquí lo tenéis.
Creación del USB bootable
Identificamos nuestro USB con:
fdisk -l
Y tendremos que mirar que dispositivo es el nuestro, se puede identificar fácilmente con el tamaño del USB:
Disk /dev/sdd: 15 GiB, 16030629888 bytes, 31309824 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x422328da
Dispositivo Inicio Start Final Sectores Size Id Tipo
/dev/sdd1 * 0 3497983 3497984 1,7G 0 Buida
/dev/sdd2 416 5151 4736 2,3M ef EFI (FAT-12/16/32)
Ahora procederemos a crear el USB con el comando dd
:
ESTE PROCESO FORMATEARÁ TU DISPOSITIVO
dd if=/home/t3rr0rz0n3/Baixades/debian-9.5.0-amd64-netinst.iso of=/dev/sdd bs=4M
El uso del comando dd
es muy sencillo:
- if: aquí indicaremos la ruta completa o relativa de la imagen que hemos descargado.
- of: aquí indicaremos el dispositivo.
Tras el proceso, lo montamos para comprobar que todo ha ido bien:
mount /dev/sdd1 /media/t3rr0rz0n3/
Y aquí lo tenemos:
ls -l /media/t3rr0rz0n3
total 934
-r--r--r-- 1 root root 146 de ju 14 12:25 autorun.inf
dr-xr-xr-x 1 root root 2048 de ju 14 12:25 boot
dr-xr-xr-x 1 root root 2048 de ju 14 12:25 css
lr-xr-xr-x 1 root root 1 de ju 14 12:25 debian -> .
dr-xr-xr-x 1 root root 2048 de ju 14 12:25 dists
dr-xr-xr-x 1 root root 2048 de ju 14 12:25 doc
dr-xr-xr-x 1 root root 2048 de ju 14 12:25 efi
dr-xr-xr-x 1 root root 2048 de ju 14 12:26 firmware
-r--r--r-- 1 root root 183992 de ju 11 05:19 g2ldr
-r--r--r-- 1 root root 8192 de ju 11 05:19 g2ldr.mbr
dr-xr-xr-x 1 root root 2048 de ju 14 12:25 install
dr-xr-xr-x 1 root root 2048 de ju 14 12:25 install.amd
dr-xr-xr-x 1 root root 4096 de ju 14 12:25 isolinux
-r--r--r-- 1 root root 85356 de ju 14 12:26 md5sum.txt
dr-xr-xr-x 1 root root 4096 de ju 14 12:25 pics
dr-xr-xr-x 1 root root 2048 de ju 14 12:25 pool
-r--r--r-- 1 root root 8473 de ju 14 12:26 README.html
-r--r--r-- 1 root root 291 de ma 4 2017 README.mirrors.html
-r--r--r-- 1 root root 86 de ma 4 2017 README.mirrors.txt
-r--r--r-- 1 root root 473 de ju 14 12:25 README.source
-r--r--r-- 1 root root 5181 de ju 14 12:26 README.txt
-r--r--r-- 1 root root 632347 de ju 11 05:19 setup.exe
dr-xr-xr-x 1 root root 2048 de ju 14 12:25 tools
-r--r--r-- 1 root root 233 de ju 14 12:25 win32-loader.ini
Tras desmontarlo, ya podremos instalar nuestra distribución GNU/Linux favorita 😛
umount /dev/sdd1
Comentarios