It is currently Sat, 21 Jul 2018 03:13:37 GMT



 
Author Message
 Root filesystem on RAM and initrd limitations
Hi,
I want to mount my root filesystem in RAM while staring up. The system
is about 30MB and is on a flash disk.

I found 2 possibilities:
a) Create a very large initrd
b) Create create a small initrd that copies all the data from the flash
to a ram disk. After that change the root to the ramdisk.

What is the most common/best method?
Is there a limitation on the initrd size?

Thanks,
Bram Vandoren.



 Mon, 22 Aug 2005 20:19:21 GMT   
 Root filesystem on RAM and initrd limitations
I don't think there is a a limitation short of physical RAM that you might
run into.  I think there might be a limitation on compressed initrd size,
though.  I'm booting to a 48MB initrd, and all is fine until my compressed
initrd exceeds 13MB or so.  It may due due to LILO (which I am forced to
use) restrictions, too, though.

Anybody know for sure?

-jk



 Tue, 04 Oct 2005 10:20:17 GMT   
 Root filesystem on RAM and initrd limitations
John Kelly <kell...@yahoo.com> enlightened us with:

Not me, but I can boot a 16MB (when compressed) initrd, expending to 50MB
fine. But with GRUB.

Jifl
--
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine



 Tue, 04 Oct 2005 21:00:08 GMT   
 Root filesystem on RAM and initrd limitations

I am *not* sure, however...

What limit did you set when you compiled the kernel?
(CONFIG_BLK_DEV_RAM_SIZE, I think.)  I recall this
being a factor when I was trying to boot largish
initrds.

Also, what's the error behavior?

--kyler



 Tue, 04 Oct 2005 23:22:06 GMT   
 Root filesystem on RAM and initrd limitations
Kyler Laird  <Ky...@news.Lairds.org> enlightened us with:

That's only the expanded size isn't it? And it defaults to just 4MB I
think (although I suppose someone could have set it differently!).

Boot with ramdisk_size=100000 on the kernel command line to increase it
to 100MB!

Jifl
--
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine



 Wed, 05 Oct 2005 02:12:59 GMT   
 Root filesystem on RAM and initrd limitations

Yes, I'm fairly sure of that.

I have this *vague* recollection that this wasn't
sufficient for me long ago.  I resorted to changing
the default size in the kernel.  Even then I think I
ran into problems.  They easily could have been all of
my own doing.

I'm sorry to be so darned fuzzy about all of this.  I
just want to make sure that someone gets to the bottom
of it.  I was able to work around it, but we shouldn't
have to do that.

--kyler



 Wed, 05 Oct 2005 08:22:07 GMT   
 
   [ 6 post ] 

Similar Threads

1. netboot + initrd + big ram (768 Mb) problem

2. filesystem for initrd

3. How can I separate root filesystem and /usr filesystem

4. limitation of RAM memory

5. limitation of use RAM memory

6. filesystem limitations

7. root vs.non-root filesystem space

8. Ext2 Filesystem Limitations

9. Limitations on JFS filesystem sizes


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software