Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: "embedlf" <embedlf@citiz.net>
To: linux-mips@linux-mips.org <linux-mips@linux-mips.org>
Subject: how I mount the root fs from ramdisk??
Date: Fri, 29 Aug 2003 17:35:5 +0800	[thread overview]
Message-ID: <20030829092829Z8225217-1272+4649@linux-mips.org> (raw)

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

WARNING: multiple messages have this Message-ID (diff)
From: "embedlf" <embedlf@citiz.net>
To: linux-mips@linux-mips.orglinux-mips@linux-mips.org
Subject: how I mount the root fs from ramdisk??
Date: Fri, 29 Aug 2003 17:35:5 +0800	[thread overview]
Message-ID: <20030829092829Z8225217-1272+4649@linux-mips.org> (raw)
Message-ID: <20030829093505.pCzMKB7m63AZOPkZDpxFVw8QgnA_5OwNtjCJ5bP31MM@z> (raw)

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

             reply	other threads:[~2003-08-29  9:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-29  9:35 embedlf [this message]
2003-08-29  9:35 ` how I mount the root fs from ramdisk?? embedlf
2003-08-29 10:39 ` jeff
2003-08-29 10:39   ` jeff
  -- strict thread matches above, loose matches on Subject: below --
2003-08-29 20:24 Mitchell, Earl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030829092829Z8225217-1272+4649@linux-mips.org \
    --to=embedlf@citiz.net \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox