On Thu, 2003-10-30 at 22:30, Brock Nanson wrote:
> Lynn,
> 
> I now use the dd command regularly.  Once I have a working image, I dd 
> it off the CF for safekeeping, in case I ever need to create another 
> (RSA keys are a PITA to cut and paste etc.) should the first fail.
> 
> As far as using different size CF, I dd'd an 8MB image onto a 16MB card 
> the other day (none of my 8MB cards could be recognized in this 
> particular box).  No issues that I saw.  When I took my usual completed 
> copy for backup, the new image was 16MB.  Go figure! ;-)

 When you do this, there is no problem running fdisk, increasing the
size of the partition to the whole card, then running resize2fs to make
the filesystem use the whole 16MB.

> I'd like to hear more about how the earlier poster dealt with the 
> read-only issue.  I'd like to find a way to write protect the CF once 
> the config is all done.  I believe this was discussed a few times in the 
> past, but I don't know if anything was ever resolved.  I had thought 
> that creating a kernel without the write ability would be useful.  Build 
> the box, configure, then replace the kernel on the CF.  Next boot it's 
> write-protected.  Not sure if or how easy such a change would be.

 I've been playing with Pebble too; it's a Debian distro that seems to
run quite happily on a read-only 64MB CF card. Though as soon as I used
APT to install my first package (quagga, which also pulled in net-snmp)
it filled up & broke, so I'm now using 128MB CF cards. I think for my
needs Pebble may be the way to go in the long term, but we'll see.

 Originally, the way we did it was by having a /var as tmpfs, and when
something touched /var/run/sync.flag, every file in "important" folders
in /var were rsynced to /etc/var on the CF card. So, you could play
around with the config, firewall yourself out, and just hit "reset", and
you would be back to where you started. 

 There are loads of ways of doing it, but for our purposes (box intended
for linux newbies who used a web interface), it suited us.

John



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to