From: Mark Y. <may...@ya...> - 2008-01-22 20:23:59
|
Tom, Thanks! I have this working now. I've partitioned my 2GB uSD with a vfat and a ext3 partition. I put the rootfs in the larger ext3. Seems to be working fine. The only major snag was that I had to update my u-boot. The one that came with my Verdex MB didn't detect the uSD (as mmc). I've moved up to the u-boot that's built with buildroot-1566. Does anyone know why the ramdisk.img file is so large? What's in there? If it were smaller I could shrink my vfat partition down and make use of the space in my ext3 partition. - Mark ----- Original Message ---- From: Tom Hoffman <hof...@gm...> To: gum...@li... Sent: Monday, January 21, 2008 6:35:57 PM Subject: Re: [Gumstix-users] Re ducing / Splitting the Root File System Another approach would be to use the initramfs method to move the entire root file system to the SD card. Dave Hylands wrote: > > Hi Mark, > >> I'm guessing there must be a way to change the buildroot so that a part >> of >> the rootfs could be split into a second image (outside of .jffs2) but I >> haven't been able to find any discussion on how to do this. Part of /usr >> would be seem to be a good candidate to place on a secondary device. Is >> there a standard way to do this sort of thing? > > I don't know if there's a "standard" way, but you could modify things > just before the jffs2 image is created. > > So build things the standard way, then move the > gumstix-buildroot/root/usr tree (or whatever portion of the tree you'd > like to move) outside of the root directory, and create a symlink to > point to it. > > cd gumstix-buildroot/build_arm_nofpu/root > mv usr ../root-usr > ln -s ../root-usr usr > cd ../.. > rm rootfs.arm_nofpu.jffs2 > make > > Now you'll get a jffs2 image that has a symlink. > > The first time you boot up your gumstix (I'm hoping it still boots - I > haven't actually tested this), fix up the usr symlink to be what it > should be. > > You could also modify the makefiles for particular packages to put use > some new variable instead of TARGET_DIR (which points to > build_arm_nofpu/root) to get your files moved. > > -- > Dave Hylands > Vancouver, BC, Canada > http://www.DaveHylands.com/ > > ------------------------------------------------------------------------- > 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/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/Reducing---Splitting-the-Root-File-System-tp15002530p15010172.html Sent from the Gumstix mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping |