Re: Cloning your Debian system
hi ya viktor...
for changing root partitions....
- change /etc/fstab to the new root ( hda7 ) you wanna boot
- rerun lilo
- make sure you can boot the old system ( hda8 ) into
single user mode just in case...
- reboot your box...
for copying exact images..
- using dd is sorta okay...your assuming there is nto disk
defects on hda vs on hdb
( the paranoid guy(me) speaking )
if the production machine is live on the net...
- make a 2nd machine to play with and test the new gadgets...
- or at least get a 2nd disk drive...
- dont touch anything that works...unless you know what changed
after tweeeking it ...
no such thing as 100% sure...you will find something wrong later...
c ya
alvin
On Mon, 7 May 2001, Viktor Lakics wrote:
> I got a crazy idea: if you want to make 100 % sure that you do not
> brake your production system, why don't you have an exact copy of
> that system before you do an upgrade (or just use that system for
> trying out things, which you cannot afford on your system).
>
> I got a spare 2 Gig partition on my system, and I want to give it a
> try. I just do not know how to start this? O.K. I could probably do
> it with hard disk image program, but then what configuration files
> do I have to edit (exept /etc/fstab) after my root partition moves
> from /dev/hda8 to /dev/hda7...
>
> Anyone have done it already? All comments and possible ways to do it
> are welcome!
Reply to: