Re: How do I save a disk image of my laptop hard drive?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: George Toft
Date:  
To: Main PLUG discussion list
Subject: Re: How do I save a disk image of my laptop hard drive?
I seem to have lost my cat. My mistake - sorry. Corrected command:
dd if=/dev/hda | ssh user@someremotehost "cat > /path/to/file/backup.img"

George Toft, CISSP, MSIS
623-203-1760




Mark Phillips wrote:
> On Thursday 05 April 2007 15:51, George Toft wrote:
>
>>Method 1:
>>1. Boot a knoppix cd
>>2. Open a root terminal window and issue this command:
>>dd if=/dev/hda | ssh user@someremotehost "> /path/to/file/backup.img"
>
>
> The file backup.img is created on someremotehost, but it has zero length. The
> drive hda does not spin up on the laptop when I issue this command.
>
> dd if=/dev/hda | ssh mark@192.168.25.125 ">/home/mark/backup.img"
>
> I get the message after I enter my password - "Warning: no xauth data; using
> fake authentication data for X11 forwarding."
>
> However, if I do cfdisk /dev/hda from the same knoppix terminal window, the
> drive hda does spin up and cfdisk reports the correct partitions.
>
> What am I missing to get the drive copied?
>
> Thanks!
>
> Mark
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss