how to use busybox to make a ramdisk?

Dan Kegel dank at
Sat Aug 30 00:50:01 EST 2003

Brian Padalino wrote:
> ... there is also a good tutorial on how to create ramdisk images.
> The only thing that I do differently is that I use a loopback device like
> so:
>   mount -t ext2 filename /mnt/image -o loop
> This stops mount from complaining to me and I like that.

I highly recommend using genext2fs instead of a loopback mount;
that way you don't need to be root at all when making the image.

Stock genext2fs doesn't handle ramdisks bigger than 8MB, but
there are patches that fix this, and I've been using them happily
for about nine months.  (Maybe they're in the mainline now; not sure.)
- Dan

Dan Kegel

** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list