[svlug] ext3 and dd disk cloning

Marc MERLIN marc_news at vasoftware.com
Fri Jan 25 13:29:01 PST 2002

On Fri, Jan 25, 2002 at 04:01:56PM -0500, Justin F. Knotzke wrote:
> On Fri, Jan 25, 2002 at 10:32:39AM -0800, Marc MERLIN wrote:
> > I can see dding an live ext2 filesystem working, by sheer luck, and dding an
> > live ext3 filesystem possibly causing problems like what you describe, hence
> > me making  sure that the  dd wasn't done  while the source  filesystems were
> > mounted (i.e. you shouldn't do the dd with the system running from the drive
> > you are trying to dd)
> 	Guilty.
> 	I was doing my dd's by booting into single user mode. 
You think can do this if you boot with init=/bin/bash, which leaves the root
filesystem mounted read only, and nothing mounted read/write
But with a boot in single user mode, you have several partitions that are
mounted read/write, and that's bad if you do a dd :-)

Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/   |   Finger marc_f at merlins.org for PGP key

More information about the svlug mailing list