On Wed, 19 Sep 2001 06:35:26 -0400 dmarkh@cfl.rr.com wrote:
Yes you would need to partition the backup drive exactly the same as the master. Personally, (this is what I do) I would go out and get 2 removable cases for your drives so that I could easily move it in and out of where ever you might want. Then install it in your machine (master) as hdb and use dd to copy your partitions over. Like this:
dd if=/dev/hda1 of=/dev/hdb1 bs=16k
Do that for every partition but the swap partition. The swap partition should just be created once then you can leave that one alone. After you dd all the partitions, reconfig hdb to hda and plug it in. The VERY FIRST time you will need to boot from the install CD and choose boot installed system. Once it is up run lilo. You will only have to do this the first time and then only if you change your kernels or anything lilo related.
Works like a charm for me and it doesn't matter if your using reiser/ext or what ever.
Hi Mark, Thanks for that. I appreciate that it is simpler to keep everything in one box, but my plan to have the clone located in a networked machine was, however, motivated by two desires : (a) not to have a second drive in my main box whirring away a few inches from my ear whilst I sit here working all day, (b) to ensure that there would be as few hours uptime as possible on the clone so as to get maximum life out of it if and when it is needed (the networked machine is powered down most of the time). I have never experimented with power management under linux, however, and I suppose that it would be possible to power down the /hdb clone whenever a backup was not in progress. I would be very interested to know if this is what you do, or if you have any other thoughts on the subject. Thanks, Geof _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com