Simple Ramdisk HOWTO
//Mount a RamDisk IF YOU HAVE ONE --GOTO dd below if not
mount -t ext2 -o loop initrd ramdisk (or32 users: e.g. linux.x.x.x/arch/or32/support/initrd-fb-03.ext2)
//Create the basic directories if you don't have
bin dev etc home lib mnt proc root sbin tmp usr var
//Use busybox to install onto target disk via prefix
gmake PREFIX=/target install
//Go to the dev directory and create the following IF YOU DONT HAVE!!!
dd if=/dev/zero of=/whatever/initrd bs=1k count=8192
mke2fs -F -m 0 -i 1024 /whatever/initrd
mknod ttyS0 c 4 64
mknod tty c 5 0
mknod ram0 b 1 0
mknod ram1 b 1 1
mknod mem c 1 1
mknod kmem c 1 2
mknod null c 1 3
mknod zero c 1 5
mknod fb0 c 29 0
ln -s fb0 fb
ln -s ram1 ram
ln -s ram0 ramdisk
ln -s ../proc/self/fd/2 stderr
ln -s ../proc/self/fd/0 stdin
ln -s ../proc/self/fd/1 stdout
//Unmount it all
umount /whatever/initrd
//zip it
gzip -9 initrd
//More Help
Ramdisk
//Even more help
Ramdisk
TOP