Hi, On 4/25/07, subhash sukumaran <[EMAIL PROTECTED]> wrote: > I am trying to change the root file system from flash to initrd.
How? > i am using > cramfs. This is a read-only filesystem. Mount the cramfs image on a local system to get the individual files/directories, say in /home/foo/image. Copy the image/ directory to a new directory, say, /home/foo/ramdimage. Let us say we want to create a 3 MB ext2 ramdisk image. Use the following: dd if=/dev/zero of=/dev/ram4 bs=1k count=3072 mke2fs -vm0 /dev/ram4 3072 mount -t ext2 /dev/ram4 /home/foo/ramdimage Modify the contents of /home/foo/ramdimage for your requirements. Create a new ramdisk image: dd if=/dev/ram4 of=ramdisk.img bs=1k count=3072 Compress the ramdisk image using gzip, and use it. References: http://www.glomationinc.com/doc/HowToEditRAMDisk.PDF SK -- Shakthi Kannan http://www.shakthimaan.com _______________________________________________ ilugd mailinglist -- [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[email protected]/
