[wellylug] Fw: wlug feedback
Mark
mark at incet.com
Sun Jul 22 15:41:48 NZST 2001
dd will do what you require.
check out this url for some info on dd....
http://www.crazytrain.com/dd.html
or read this email I archived for reference:
You have a Windoze partition, let's say /dev/hda1, and you're trying
to dd it
with: dd if=/dev/hda1 of=win.img, but when you restore it to the HD
with: dd
if=win.img of=/dev/hda you can't boot.
The point here is, like you said, that boot information is recorded
at the MBR
and MBR is not acessible through /dev/hda1 MBR is at the first 512
Bytes of the
HD, it is only acessible trough /dev/hda (this dev points to the
whole HD). I
have done a backup of a whole HD once with dd if=/dev/hda
of=win.img, notice that
I copied the whole deal, including its partion table, MBR and so on;
when I
restored it, everything was just like it was, partions, boot,
files.... I've just
made a linux backup that way but I can't tell if it worked since I
didn't restore
it to the original HD. This kind of backup will only work if you're
putting the
data back in the HD you fetched the image, or in a HD that's is has
the same
properties.
so I would suggest the following will do exactly what your looking for:
assuming:
your first disk is /dev/hda
your second disk to receive the image in primary slave - /dev/hdb
dd if=/dev/hda of=/dev/hdb
this will do the whole drive - but you may have trouble if /dev/hda is
larger than /dev/hdb
in which case you may need to do partition by partition and then do the
mbr separatly.
disclaimer: I have not tried this!! but have used dd successfully for
other stuff.
cheers
Mark
Jamie Dobbs wrote:
>----- Original Message -----
>From: "Electronics" <quinsales at quinmarine.com.au>
>To: <wlug at paradise.net.nz>
>Sent: Friday, July 20, 2001 1:48 PM
>Subject: FW: wlug feedback
>
>
>>
>>
>>Hi,
>>
>>Can you tell me if there is such a program in Linux that will make an
>>
>exact
>
>>copy of a Linux hard disk and be bootable when installed into another
>>
>CPU.
>
>>I know in Microsoft that a program called GHOST will do what I require and
>>I was wondering if Linux has "GHOST".
>>
>>Regards
>>
>>Pat Ryan
>>
>
>
> .-. Wellington
> /V\ Linux
> // \\ Users
>/( )\ Group
> ^^-^^
> http://homepages.paradise.net.nz/lug/
>
>To unsubscribe from this group, send an email to:
>wellylug-unsubscribe at egroups.com
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
.-. Wellington
/V\ Linux
// \\ Users
/( )\ Group
^^-^^
http://homepages.paradise.net.nz/lug/
To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the wellylug
mailing list