Disk imaging program?
Niles Rogoff
nilesrogoff at gmail.com
Wed Jun 25 23:16:25 UTC 2014
I was under the impression that zerofree only worked with ext2/3
1) Don't know, but probably not. You can always boot from a flash drive or
use a live operating system
2) No, ideally you would recover all of your split files, concatenate them
into one, gunzip it then restore from it
On Wed, Jun 25, 2014 at 5:56 PM, John Hupp <ubuntu at prpcompany.com> wrote:
> On 6/25/2014 3:36 PM, Niles Rogoff wrote:
>
> >tar would be unable to correctly save the permissions on those files
>
> I should clarify that this only applies to NTFS partitions.
>
>
> On Wed, Jun 25, 2014 at 3:35 PM, Niles Rogoff <nilesrogoff at gmail.com>
> wrote:
>
>> He's saying if you, instead of copying sector by sector, decided put all
>> the files into a tar file, then tar would be unable to correctly save the
>> permissions on those files.
>>
>> This would be in place of dd, and would not be able to copy the boot
>> sector of a device or partition
>>
>>
>> On Wed, Jun 25, 2014 at 2:04 PM, John Hupp <ubuntu at prpcompany.com> wrote:
>>
>>> On 6/25/2014 1:12 PM, Nils Kassube wrote:
>>>
>>>> John Hupp wrote:
>>>>
>>>>> And point well taken: it does seem to me that, as a refinement of the
>>>>> initial suggested plan, gzip alone should suffice since we are dealing
>>>>> with a single-file output from dd and not a collection of files.
>>>>>
>>>> Well, you could use a command chain dd | gzip | tar to split the output
>>>> for several DVDs including a prompt for the next medium.
>>>>
>>>> BTW: If you want to save data only, you shouldn't use tar for ntfs
>>>> partitions because tar doesn't know about the ntfs permissions which
>>>> different from the Unix permissions.
>>>>
>>>>
>>>> Nils
>>>>
>>>>
>>> Tar must do some processing of its source contents then? The original
>>> suggestion for using dd in this thread came from Niles Rogoff, and his
>>> prescription was to use usplit. I don't know that this command is native
>>> to Ubuntu, but I believe split is. And if split merely does that, then it
>>> seems like ntfs or unix permissions should be preserved. Agree?
>>>
>>> And I think I still have this question lingering: Does dd knows how to
>>> prompt for the next DVD (the next split) during a restore operation?
>>>
>>>
>>> --
>>> ubuntu-users mailing list
>>> ubuntu-users at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>>
>>
>>
>
> I am currently thinking this procedure may work:
>
> Wipe Windows partition free space: D/L Sdelete from
> http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx, save to
> c:\windows\system32, and run:
> $ sdelete -z c:
>
> Wipe Linux partition free space: Boot *buntu Live disc, install zerofree,
> and run:
> $ zerofree -v /dev/sda5
>
> Then for an external hard drive mounted at
> /media/user/HD-PCTU2/laptop-image:
>
> $ cd /media/user/HD-PCTU2/laptop-image
> $ sudo -i
> # dd if=/dev/sda bs=64K | gzip -c -9 | split -b 4500M - drivebackup.img.gz
>
> ------------------------------
>
> After that, I would have to manually burn the the various
> drivebackup.img.gz files to DVD.
>
> Apart from corrections/improvements to the above, I still have two
> questions:
> 1) For restore, if I boot a *buntu Live disc, just before running a dd
> restoration command, can I remove the *buntu disc and insert the first
> image DVD?
> 2) Does dd knows how to prompt for the next DVD (the next split) during a
> restore operation?
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140625/a30712f8/attachment.html>
More information about the ubuntu-users
mailing list