parted.
http://www.gnu.org/software/parted/parted.html
I did what you're describing when I bought my 60g drive. I combined several
systems from different drives all onto the big drive. I don't remember if
parted handled the MBR, but that's easy to install. I made sure I had a boot
disk for each system before I started (use LILO: linux root=/dev/hd?? to
boot to a different partition than the disk was made for).
parted does a nice job of resizing, copying, and moving partitions. If you
use the parted boot disk you can skip the step of rebooting before all the
partitions are in place.
Bart
-----Original Message-----
From:
plug-discuss-admin@lists.plug.phoenix.az.us
[
mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of Alan
Dayley
Sent: Thursday, January 30, 2003 5:44 PM
To:
plug-discuss@lists.plug.phoenix.az.us
Subject: Re: Re: using dd to backup entire hard drive
Craig asked the original question but I am going to jump in with my twist.
I think it still fits Craigs situation.
I want to upgrade a 10GB hard drive with Win98 and Linux partitions (dual
boot) to a much larger drive. I would like to use dd to copy all the
current drive contents to the larger drive, boot the larger drive and then
place partitions, etc. on the unused space. Will that work?
Alan
-------Original Message-------
From: technomage <
technomage-hawke@cox.net>
Sent: 01/30/03 03:36 PM
To:
plug-discuss@lists.plug.phoenix.az.us
Subject: Re: using dd to backup entire hard drive
>
> -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've done this in a way.
firstly, both HD's have to be of siliar size.
then you just have to do this:
dd if=/dev/hdx of=/dev/hdx(2)
its a direct copy. I've done it with a couple of 10 GB monsters a while
ago
(3 or 4 partitions). everything gets copied and the new drive even booted.
Technomage
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss