| To: | pac@xxxxxxxxxxxxxx |
|---|---|
| Subject: | Re: Disc Cloning, partitioning. |
| From: | Nathan Straz <nstraz@xxxxxxx> |
| Date: | Thu, 10 Jan 2002 15:32:14 -0600 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <20020110152358.A15395@xxxxxxxxxxx> |
| Mail-followup-to: | pac@xxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx |
| References: | <20020110152358.A15395@xxxxxxxxxxx> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.25i |
On Thu, Jan 10, 2002 at 03:23:58PM -0600, pac@xxxxxxxxxxxxxx wrote:
> Is there a tool that I can use to grab the partition table from
> One disc and flash it on a Second disk? I didnt see anything like
> that from gpart or partimage.
Take a look at sfdisk. It's a script driven version of fdisk. It's in
util-linux >= 2.7.
>From the sfdisk(8) man page:
-d Dump the partitions of a device in a format useful
as input to sfdisk. For example,
% sfdisk -d /dev/hda > hda.out
% sfdisk /dev/hda < hda.out
will correct the bad last extended partition that
the OS/2 fdisk creates.
--
Nate Straz nstraz@xxxxxxx
sgi, inc http://www.sgi.com/
Linux Test Project http://ltp.sf.net/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Oops with 2.4.16, Steve Lord |
|---|---|
| Next by Date: | Re: Oops with 2.4.16, Keith Owens |
| Previous by Thread: | Disc Cloning, partitioning., pac |
| Next by Thread: | Re: Disc Cloning, partitioning., Derek Glidden |
| Indexes: | [Date] [Thread] [Top] [All Lists] |