All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: how I mount the root fs from ramdisk??
@ 2003-08-29 20:24 Mitchell, Earl
  0 siblings, 0 replies; 5+ messages in thread
From: Mitchell, Earl @ 2003-08-29 20:24 UTC (permalink / raw)
  To: 'jeff', embedlf, linux-mips

This page is better for ramdisk howto ...

http://www.linux-vr.org/ramdisk.html

-earlm

>-----Original Message-----
>From: jeff [mailto:jeff_lee@coventive.com]
>Sent: Friday, August 29, 2003 3:40 AM
>To: embedlf; linux-mips@linux-mips.org
>Subject: RE: how I mount the root fs from ramdisk??
>
>Please download the busybox and make it to be mips binary.
>Or you can find some usable information from http://linux.junsun.net
>
>Regards,
>
>Jeff
>
>-----Original Message-----
>From: linux-mips-bounce@linux-mips.org [mailto:linux-mips-bounce@linux-
>mips.org]On Behalf Of embedlf
>Sent: Friday, August 29, 2003 5:00 PM
>To: linux-mips@linux-mips.org
>Subject: how I mount the root fs from ramdisk??
>
>
>linux-mips:
>	I use mips cpu board to design my product. I want run linux embeded
>in this board.
>But in this process,there is not harddisk on the board.
>	So I should mount the root fs on ramdisk. Do you think so? I should
>make a ramdisk.
>
>dd if=/dev/zero of=/dev/ram bs=1k count=2048
>mke2fs -vm0 /dev/ram 2048
>mount -t ext2 /dev/ram /mnt/ram
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>After I mount it, I should copy some files to this folder.I used
>cross_compiler,
>compiling linux on X86 PC.How do I make the file /sbin/init??where is the
>source??
>
>dd if=/dev/ram bs=1k count=2048 | gzip -v9 > /tmp/ram_image.gz
>
>
>
>        embedlf
>        embedlf@citiz.net
>          2003-08-29

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: how I mount the root fs from ramdisk??
@ 2003-08-29 10:39   ` jeff
  0 siblings, 0 replies; 5+ messages in thread
From: jeff @ 2003-08-29 10:39 UTC (permalink / raw)
  To: embedlf, linux-mips

Please download the busybox and make it to be mips binary.
Or you can find some usable information from http://linux.junsun.net

Regards,

Jeff

-----Original Message-----
From: linux-mips-bounce@linux-mips.org [mailto:linux-mips-bounce@linux-mips.org]On Behalf Of embedlf
Sent: Friday, August 29, 2003 5:00 PM
To: linux-mips@linux-mips.org
Subject: how I mount the root fs from ramdisk??


linux-mips:
	I use mips cpu board to design my product. I want run linux embeded in this board.
But in this process,there is not harddisk on the board.
	So I should mount the root fs on ramdisk. Do you think so? I should make a ramdisk.

dd if=/dev/zero of=/dev/ram bs=1k count=2048
mke2fs -vm0 /dev/ram 2048
mount -t ext2 /dev/ram /mnt/ram
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After I mount it, I should copy some files to this folder.I used cross_compiler,
compiling linux on X86 PC.How do I make the file /sbin/init??where is the source??

dd if=/dev/ram bs=1k count=2048 | gzip -v9 > /tmp/ram_image.gz

	

        embedlf
        embedlf@citiz.net
          2003-08-29


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: how I mount the root fs from ramdisk??
@ 2003-08-29 10:39   ` jeff
  0 siblings, 0 replies; 5+ messages in thread
From: jeff @ 2003-08-29 10:39 UTC (permalink / raw)
  To: embedlf, linux-mips

Please download the busybox and make it to be mips binary.
Or you can find some usable information from http://linux.junsun.net

Regards,

Jeff

-----Original Message-----
From: linux-mips-bounce@linux-mips.org [mailto:linux-mips-bounce@linux-mips.org]On Behalf Of embedlf
Sent: Friday, August 29, 2003 5:00 PM
To: linux-mips@linux-mips.org
Subject: how I mount the root fs from ramdisk??


linux-mips:
	I use mips cpu board to design my product. I want run linux embeded in this board.
But in this process,there is not harddisk on the board.
	So I should mount the root fs on ramdisk. Do you think so? I should make a ramdisk.

dd if=/dev/zero of=/dev/ram bs=1k count=2048
mke2fs -vm0 /dev/ram 2048
mount -t ext2 /dev/ram /mnt/ram
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After I mount it, I should copy some files to this folder.I used cross_compiler,
compiling linux on X86 PC.How do I make the file /sbin/init??where is the source??

dd if=/dev/ram bs=1k count=2048 | gzip -v9 > /tmp/ram_image.gz

	

        embedlf
        embedlf@citiz.net
          2003-08-29


^ permalink raw reply	[flat|nested] 5+ messages in thread

* how I mount the root fs from ramdisk??
@ 2003-08-29  9:35 ` embedlf
  0 siblings, 0 replies; 5+ messages in thread
From: embedlf @ 2003-08-29  9:35 UTC (permalink / raw)
  To: linux-mips

linux-mips:
	I use mips cpu board to design my product. I want run linux embeded in this board.
But in this process,there is not harddisk on the board.
	So I should mount the root fs on ramdisk. Do you think so? I should make a ramdisk.

dd if=/dev/zero of=/dev/ram bs=1k count=2048
mke2fs -vm0 /dev/ram 2048
mount -t ext2 /dev/ram /mnt/ram
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After I mount it, I should copy some files to this folder.I used cross_compiler,
compiling linux on X86 PC.How do I make the file /sbin/init??where is the source??

dd if=/dev/ram bs=1k count=2048 | gzip -v9 > /tmp/ram_image.gz

	

        embedlf
        embedlf@citiz.net
          2003-08-29

^ permalink raw reply	[flat|nested] 5+ messages in thread

* how I mount the root fs from ramdisk??
@ 2003-08-29  9:35 ` embedlf
  0 siblings, 0 replies; 5+ messages in thread
From: embedlf @ 2003-08-29  9:35 UTC (permalink / raw)
  To: linux-mips

linux-mips:
	I use mips cpu board to design my product. I want run linux embeded in this board.
But in this process,there is not harddisk on the board.
	So I should mount the root fs on ramdisk. Do you think so? I should make a ramdisk.

dd if=/dev/zero of=/dev/ram bs=1k count=2048
mke2fs -vm0 /dev/ram 2048
mount -t ext2 /dev/ram /mnt/ram
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After I mount it, I should copy some files to this folder.I used cross_compiler,
compiling linux on X86 PC.How do I make the file /sbin/init??where is the source??

dd if=/dev/ram bs=1k count=2048 | gzip -v9 > /tmp/ram_image.gz

	

        embedlf
        embedlf@citiz.net
          2003-08-29

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-08-29 20:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 20:24 how I mount the root fs from ramdisk?? Mitchell, Earl
  -- strict thread matches above, loose matches on Subject: below --
2003-08-29  9:35 embedlf
2003-08-29  9:35 ` embedlf
2003-08-29 10:39 ` jeff
2003-08-29 10:39   ` jeff

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.