>  The system is Redhat 7.1 with kernel 2.4.2-3.
>  And the lilo.conf is :
>
>  boot=/dev/hda
>  map=/mnt/flash/boot/map
>  install=/mnt/flash/boot/boot.b
>  image=/mnt/flash/boot/vmlinuz-2.4.2-3
>                ramdisk=40000
>                label=flash
>                root=/dev/ram
>                initrd=/mnt/flash/boot/initrd.img.gz
>  image=/mnt/flash/boot/vmlinuz-2.4.2-3
>                ramdisk=40000
>                label=normal
>                root=/dev/hdb7
>                read-only
>

I was following Paul Moody's mini howto in
http://linux-embedded.com/pmhowto.html.
Step 7 to 10 for making ramdisk
Step 11 to 12 for imaging ramdisk

> Justin Fretwell wrote:
> This is true, the kernel cannot mount /dev/ram unless you have put a filesystem 
>there before.

What does it mean? What file system should I put before kernel mounting

>
> So, the initrd.img.gz should do this work.  If I remember well, when the kernel 
>uncompresses the initrd, it tries to execute a file named /linuxrc.  If this program 
>(or script) copies a filesystem into /dev/ram, it should work.

Yes, initrd.img.gz has linuxrc file and your procedure might be correct.


Some people recommended to use "rdev". Thus, I searched a site,
http://www.tldp.org/HOWTO/Bootdisk-HOWTO/x703.html
 and
http://www.linuxhq.com/kernel/v2.4/doc/ramdisk.txt.html.

It means I can not use Paul Moody's howto?

If somebody has experience to build an embedded linux onto a flash memory, he/she will 
know this problem well.

Please help me.



--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to