Open Ericounet opened 1 month ago
I think the example I gave in the current version of the manual for finding the loop device is clearer because it returns the actual filename in the output.
sudo losetup --all | grep SDcard
/dev/loop12: [2050]:7215475 (/home/davelatham/dev/retro/2063-Z80-cpm/filesystem/SDcard.img)
I also try to not show too much extra information about my system which can be confusing.
Perhaps I'll link to a document on losetup... Rather than try to explain it myself.
Ok for me :)
Okay. I'll just add the link to the losetup man page on the next update.
Create the SD Card Image
!!! WARNING !!! This process can damage your host file system if you get it wrong. Make sure you only format the loop device after setting it up.
This step is a bit more complicated and these steps are definitely ONLY going to work on a Linux host.
We'll use the «losetup» command to create and link a pseudo loop device with the SDcard.img file.
Look at the screenshot of my system. The new loop is loop5. It will be that loop you'll need to use in the further commands.
Again, take care of the name of the loop in the 3 next commands.
You should now have a 500MB SDcard.img file.