Talk:Using Initial RAM disk

From ArmadeusWiki
Revision as of 17:16, 20 September 2013 by JulienB (Talk | contribs) (New page: ==For old BR== Here we use a 35Mbytes initrd formatted as EXT2. Other format/size can be used (if supported by kernel). <pre class="host"> $ make shell_env $ source armadeus_env.sh $ dd i...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

For old BR

Here we use a 35Mbytes initrd formatted as EXT2. Other format/size can be used (if supported by kernel).

$ make shell_env
$ source armadeus_env.sh

$ dd if=/dev/zero of=./myinitrd.img bs=1M count=35
$ mke2fs -m 1 ./myinitrd.img
$ mkdir ./myinitrd
$ mount -t ext2 ./myinitrd.img ./myinitrd -o loop
$ tar -xvf $ARMADEUS_ROOTFS_TAR -C ./myinitrd/
$ umount ./myinitrd/
$ gzip ./myinitrd.img