Mailinglist Archive: opensuse (2008 mails)

< Previous Next >
Re: [opensuse] hard drive replacement question
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Sat, 25 Apr 2009 04:33:52 -0500
  • Message-id: <49F2D900.8040200@xxxxxxxxxxxxxxxxxx>
Bob S wrote:
Hello SuSE people,

Seems I have an ancient 8GB hard drive which is failing. At least smart seems
to think so. New hard drive on it's way. All properly backed up to my
external "back up" drive with rsync.

I know this has been discussed a million times on this list but old stupid
never paid much attention.So now that I am faced with this realiity of life
and computers, how do I proceed?

Put in the new hard drive replacement, then what? Must be formatted, OK
that's
a no-brainer. Must I partition it to match the old drive for rsync?
(home,var, usr) are all separate partitions. (same size? larger?) Will rsync
sort it all out? Is there a how-to / wiki page somewhere that can give some
guidance?

Bob S

Bob,

Forget rsync, 'dd' is your friend here. The replacement can be as
simple as
hooking your new drive up and doing "dd old new", remove old, reboot, done!
We'll call the new drive /dev/sdb for this example and /dev/sda the old, then
just hook your new driver up, then:

dd if=/dev/sda of=/dev/sdb

Let it finish, remove old drive, and reboot. Can't get much simpler.

For your further reading pleasure (and more detail), see:
http://www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html


--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References