linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ramdisks, anyone?
@ 1999-02-24 20:39 Mayan Moudgill
  1999-02-25  6:51 ` Martin Costabel
  1999-02-25  7:49 ` Anirudh Joshi
  0 siblings, 2 replies; 3+ messages in thread
From: Mayan Moudgill @ 1999-02-24 20:39 UTC (permalink / raw)
  To: linuxppc-dev



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?

So I'm stuck..............

HELP!!!!!!!

:)
Mayan

[[ 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 ]]

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

* Re: ramdisks, anyone?
  1999-02-24 20:39 ramdisks, anyone? Mayan Moudgill
@ 1999-02-25  6:51 ` Martin Costabel
  1999-02-25  7:49 ` Anirudh Joshi
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Costabel @ 1999-02-25  6:51 UTC (permalink / raw)
  To: Mayan Moudgill; +Cc: linuxppc-dev


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 ]]

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

* Re: ramdisks, anyone?
  1999-02-24 20:39 ramdisks, anyone? Mayan Moudgill
  1999-02-25  6:51 ` Martin Costabel
@ 1999-02-25  7:49 ` Anirudh Joshi
  1 sibling, 0 replies; 3+ messages in thread
From: Anirudh Joshi @ 1999-02-25  7:49 UTC (permalink / raw)
  To: Mayan Moudgill; +Cc: linuxppc-dev



	I vaugely remember a kernel argument called "ramdisk_size", so (if
you use bootx, but it in the line at bottom) try "ramdisk_size=8192" that
will make the ramdisk 8 megs, or whatever your fancy....


ani


On Wed, 24 Feb 1999, 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?
> 
> So I'm stuck..............
> 
> HELP!!!!!!!
> 
> :)
> Mayan
> 


[[ 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 ]]

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

end of thread, other threads:[~1999-02-25  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-24 20:39 ramdisks, anyone? Mayan Moudgill
1999-02-25  6:51 ` Martin Costabel
1999-02-25  7:49 ` Anirudh Joshi

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).