User Tools

Site Tools


informatica:linux:script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
informatica:linux:script [2026/04/15 21:17] joseinformatica:linux:script [2026/04/15 21:20] (current) jose
Line 1140: Line 1140:
 ====== dd ====== ====== dd ======
   dd if=/dev/mmcblk0 of=/tmp/retropie.img bs=4M status=progress conv=fsync   dd if=/dev/mmcblk0 of=/tmp/retropie.img bs=4M status=progress conv=fsync
 +Montar el fichero img en local
 +
 +Crear loop device
 +  sudo losetup -fP retropie.img
 +  -f → busca un loop libre (/dev/loop0, etc.)
 +  -P → detecta particiones
 +
 +2. Ver qué se ha creado
 +  lsblk
 +
 +Verás algo así:
 +
 +  loop0
 +  ├─loop0p1
 +  └─loop0p2
 +
 +3. Montar particiones
 +  sudo mkdir /mnt/img1 /mnt/img2
 +
 +  sudo mount /dev/loop0p1 /mnt/img1
 +  sudo mount /dev/loop0p2 /mnt/img2
 +
 +Ya puedes acceder a los datos:
 +
 +  /mnt/img1 → boot
 +  /mnt/img2 → sistema
  
informatica/linux/script.txt · Last modified: by jose