[CentOS] A questiong about replacing my failing drive

Sun Jun 12 00:39:53 UTC 2005
Rodrigo Barbosa <rodrigob at suespammers.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Okey, picking the one I think is the least likely to lead to a
flamewar (except regarding top-posting :)).

On Sun, Jun 12, 2005 at 12:10:52AM +0100, Peter Farrow wrote:
> use G4U to clone it to an ftp server or second drive
> 
> much easier

I have not checked G4U yet, so I really mean this as a question:

How is it easier ? dump | restore is as straightfoward as it gets.
I have been using it for 15+ years, and never had a problem (except
for raiserfs filesystems, of course).

Yes, if I were going to produce a lot of copies of the same disk, then
I would look for something like Ghost (or G4U, will check it later
tonight). But for this particular task ?


> Maciej Z.enczykowski wrote:
> >>A> Make bootable floppy
> >>B> Start in single user mode
> >>C> Create same partition structure on hew drive
> >>D> Move all files from old partitions to new partitions
> >>E> Switch drives
> >>F> Boot off floppy, mount, reinstall grub and boot manager on new drive
> >>G> Profit!
> >
> >
> >well if you want a real quick'n'dirty way to do it then you can simply 
> >turn off the computer, hook up the drive, boot with kernel command 
> >line init=/bin/bash, watch the messages for info on what device name 
> >the new drive got and do "/bin/dd if=/dev/hd{source} 
> >of=/dev/hd{target} bs=1048576", once it completes do "/bin/sync" and 
> >powerdown, remove the old disk and hook up the new disk in it's place 
> >and reboot and usually everything works normally. [it does screw up 
> >drive geometry but since linux uses LBA adressing anyway this is 
> >irrelevant]
> >
> >if there are read errors on the source drive you'll probably want to 
> >use dd_rescue instead of dd.

- -- 
Rodrigo Barbosa <rodrigob at suespammers.org>
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCq4RZpdyWzQ5b5ckRAtSmAJ9QibdBCm9YMplYMyU3CttLRj5g4gCgsOyq
9ecZY92u+ZyDimNvdjTm3Q4=
=S0+o
-----END PGP SIGNATURE-----