On Nov 11, 2005, at 11:20 pm, Jonathan A. Kollasch wrote:

On Fri, Nov 11, 2005 at 02:50:22PM -0800, maxim wexler wrote:
intention of moving my entire gentoo OS over to it
from a flaky 120G ATA drive(reiserfs). Hopefully, I
can just boot up from the new drive as if nothing had
changed.

If the new drive has a greater or equal number of blocks than the old you could boot a LiveCD then dd(1) the old device (something like "dd if=/dev/hda of=/dev/sda" IIRC) onto the new device. You then should be able to boot directly off of the new drive.

Presumably this copies the boot sector & the main partition data correctly, but what about the "whitespace" at the end of the drive?

The reason I ask is that a local pension wants his Windows partition copied to a new, larger hard-drive. Will `dd` work? Can I just use PartitionMagic (boo! hiss! proprietary software! hiss!) to resize the partition to take up the full drive once I'm done?

Normally I'd use something like Maxblast http://tinyurl.com/5ppq4 or Data Lifeguard Tools http://tinyurl.com/97zw7 for this but the guy's new drive is a Samsung & they don't seem to do such a utility.

Stroller.

--
gentoo-user@gentoo.org mailing list

Reply via email to