linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Martin Costabel <costabel@wanadoo.fr>
To: Mayan Moudgill <mayan@watson.ibm.com>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: ramdisks, anyone?
Date: Thu, 25 Feb 1999 07:51:01 +0100	[thread overview]
Message-ID: <36D4F2D5.B5472697@wanadoo.fr> (raw)
In-Reply-To: 9902242039.AA29018@mayan.watson.ibm.com


Mayan Moudgill wrote:
> 
> I am trying to build a small initrd, with a linuxrc that does something.
> Does somebody have such a ramdisk.image available?
> Or even some suggestions on what to do?
> 
> I started off by trying to make bash my /linuxrc. Bash
> required ld.so.1, which required libc.so.2, etc....
> 
> This occupied more the 4MB. At that point the /dev/ram on the
> machine I was building the ramdisk started giving problems -
> If I built a bigger /dev/ram, after umount, dd would only
> read the first 4MB.  is there something magical about 4M for ramdisks?

Yes. If you want more than 4M, let's say 8M, you have to boot with a
kernel argument ramdisk_size=8192. If you have kernel sources installed,
you can read about this in /usr/src/linux/Documentation/ramdisk.txt.

--
Martin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

  reply	other threads:[~1999-02-25  6:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-24 20:39 ramdisks, anyone? Mayan Moudgill
1999-02-25  6:51 ` Martin Costabel [this message]
1999-02-25  7:49 ` Anirudh Joshi

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=36D4F2D5.B5472697@wanadoo.fr \
    --to=costabel@wanadoo.fr \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=mayan@watson.ibm.com \
    /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;
as well as URLs for NNTP newsgroup(s).