Nds-bootstrap: Ramdisk Creation (Linux)

Created on 31 Jan 2019  路  5Comments  路  Source: DS-Homebrew/nds-bootstrap

Could you please post more about the ramdisk specifications/filesystem requirements for the .img?
Linux can create ramdisk images but without knowing the filesystem, block size, and other details, it is of no use for me.

Help Wanted Homebrew Request

Most helpful comment

You can skip the loopback mounting as you can format the image directly. Also count 11 will make the image decimal based 12 MB, where as count 12 will make it binary based 12 MiB.

dd if=/dev/zero of=SNES.img bs=1M count=12; mkfs.fat -F16 SNES.img

All 5 comments

Max. 12MB for dsi, fat16 formatted.
I did it with:
dd if=/dev/zero of=SNES.img bs=1M count=11
losetup -P /dev/loop0 SNES.img
mkfs.fat -F16 /dev/loop0

You can skip the loopback mounting as you can format the image directly. Also count 11 will make the image decimal based 12 MB, where as count 12 will make it binary based 12 MiB.

dd if=/dev/zero of=SNES.img bs=1M count=12; mkfs.fat -F16 SNES.img

Is there anything more needed for this, or can it be closed out?

Perhaps instructions should be added somewhere to prevent this from happening again in the future? (Wiki may be a good spot)

is this still relevant?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tomudo picture tomudo  路  12Comments

vaguerant picture vaguerant  路  13Comments

Nemilad picture Nemilad  路  3Comments

wad11656 picture wad11656  路  10Comments

tomudo picture tomudo  路  3Comments