public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Duplicate Flash drive
Date: Sun, 13 Sep 2009 02:32:43 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090913T022110-599@post.gmane.org> (raw)

Hello,

Background:
I've been building firewall for friends out of old pentiums and
amd machines for some time now. I have successfully switch to
compact Flash 4 G drive, using a CF to ide converter.


Now I need to be able to store a generic install on a machine, plug
in a new CF module to a CF reader/writer and copy over the default install.
From there I can change IP, hostname etc etc.

I have several CF reader/writers  one should do the trick. 
I have a few questions; and I'm seeking advice on how to
scale this up, so new installs and replacing firewalls
hard drives is quick and easy. All will use an identical hard 
drive setup and file systems.


I guess I should use 'dd' to copy the entire contents
of one CF drive to another?  Any example syntax with dd
is welcome. 

Should I keep a machine around to run fdisk on a new CF 
module, or is there a way, I can just plug the CF module 
into a reader/writer and burn the image onto
the CF module directly, and not have to use fdisk to format
first?


What about grub and the mbr. Will dd copy over all of that information,
or do I have to run grub (grub install) manually to ensure the MBR
is set properly.


Any other comments, caveats or ideas are most welcome. The setup 
I'm using is as generic as possible so all old 586/pentium/k(amd) 
arch boxes work....


ideas and comments are welcome.


James







             reply	other threads:[~2009-09-13  2:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-13  2:32 James [this message]
2009-09-13  7:13 ` [gentoo-user] Duplicate Flash drive Dirk Heinrichs
2009-09-13  7:24   ` Dirk Heinrichs
2009-09-13 15:08     ` [gentoo-user] " James
2009-09-13 15:48   ` [gentoo-user] " Neil Bothwick
2009-09-13 16:52     ` [gentoo-user] " Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20090913T022110-599@post.gmane.org \
    --to=wireless@tampabay.rr.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox