On Mar 1, 2008, at 1:12 PM, Philip Prindeville wrote: > Darrick Hartman wrote: >> Lonnie Abelbeck wrote: >> >>> On Mar 1, 2008, at 12:50 AM, Philip Prindeville wrote: >>> >>> >>>> Hmm. Seeing the following on a net5501-60. >>>> cp: write error: No space left on device >>>> cp: write error: No space left on device >>>> ... >>>> >>>> >>>> I only have 256MB in this box. Actually, my box running >>>> 0.5-1537 also had 256MB. >>>> >>>> Any ideas? >>>> >>> Philip, >>> >>> Quick fix, add "noram" to your KCMD string and you should be good >>> to go, your image will be mounted via loop. >>> >>> But, this should work in 256M of memory as well... >>> >>> If you look at the SVN: >>> /trunk/target/initrd/target_skeleton/linuxrc >>> >>> around Line #132: >>> 132 mount -t tmpfs -o size=90m none /mnt/asturo > /dev/null 2>&1 >>> 133 echo "Copying AstLinux files to RAM..." >>> 134 cp -a /image/* /mnt/asturo/ >>> >>> Do you add any custom stuff that would push your uncompressed >>> image to > 90 M ? >>> >>> My tmpfs uncompressed net5501 image is 52M, but my image is >>> slightly trimmed from the standard. >>> >> >> I set the 90MB limit because it seemed more than enough. (heck, >> if you're using more than that on a 256MB box, you're not leaving >> yourself much left for /var /tmp and the actual system anyway). >> >> Darrick >> > Here's the .config file I'm using.
Philip, How big is the resulting "rootfs.i586.ext2" from your build? That should be larger than your uncompressed squashfs image. On my 128K net4801's I use the "rootfs.i586.ext2" image together with "noram" to guarantee it mounts via loop. Lonnie ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Astlinux-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]
