On Jan 22, 2008, at 9:08 PM, Fred wrote: > Thanks to the great help here, I successfully built my very own > Astlinux > from the trunk with support for SQLite, copied it to a CF card, and > booted > a PC with it :-) I'll clean up the notes I took, and post a step-by- > step > instruction for newbies like me tomorrow.
Good to hear! > > A few questions, though: > > 1. By default, the whole root filesystem is read-only, so my PHP > scripts > can't write to the DB file in /var/www . What would be a practical > way to > solve this? Move the web server's to the read-write /dev/sdd2? > Create a > symlink to it? Other ideas? The best way to to use unionfs, which is already installed on your image. 1) used fdisk in astlinux to add a second partition, +128M in size. reboot. 2) Then type "genunion /dev/sdd2" 3) Edit your run.conf file and add "asturw=/dev/sdd2" to the "Kernel command line". This can be done outside of astlinux or you can do this within astlinux by remounting the "ro" vfat mount to "rw" and editing the run.conf file. 4) reboot Now you have the "rw" /dev/sdd2 files system overlaid on top of the "ro" base system. The "rw" file system has priority if a file exists there. The overall filesystem is the 'union' of the two file systems. Very cool. I hope your problems and ultimate success will help others here as well. 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]
