This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision |
| lwc:programming:bash [2025/11/10 02:00] – John Harrison | lwc:programming:bash [2026/10/24 18:13] (current) – John Harrison |
|---|
| * if ''mount -o loop ./live-cd.iso /mnt'' returns ''mount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.'' then | * if ''mount -o loop ./live-cd.iso /mnt'' returns ''mount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.'' then |
| * ''sudo kpartx -av live-cd.iso'' and (example) ''sudo mount -o loop /dev/mapper/loop0p1 /mnt'' | * ''sudo kpartx -av live-cd.iso'' and (example) ''sudo mount -o loop /dev/mapper/loop0p1 /mnt'' |
| | * test flash drive or sdcard for fakery: ''sudo f3probe --destructive --time-ops /dev/sdX'' |
| | * if it is fake and you want to use it anyway: |
| | * do the "fix" f3probe recommends, then |
| | * ''sudo mkfs.vfat -n CHOOSE_A_NAME_FOR_PART /dev/sdX1'' |
| | * check with f3read/write. With partition mounted, write and read to it (example): |
| | * ''f3write /run/media/botanica/SMALL4G'' |
| | * ''f3read /run/media/botanica/SMALL4G'' |
| | |
| | |
| |