<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 6/25/2014 3:36 PM, Niles Rogoff
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAdgGA=pkRpRHuPWv6=Odoh8GFMN08vOFPu3TQpMS=TbaPhujQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">><span
          style="font-family:arial,sans-serif;font-size:13.513513565063477px">tar
          would be unable to correctly save the permissions on those
          files</span>
        <div><span
            style="font-family:arial,sans-serif;font-size:13.513513565063477px"><br>
          </span></div>
        <div><span
            style="font-family:arial,sans-serif;font-size:13.513513565063477px">I
            should clarify that this only applies to NTFS partitions.</span></div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">
          On Wed, Jun 25, 2014 at 3:35 PM, Niles Rogoff <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:nilesrogoff@gmail.com"
              target="_blank">nilesrogoff@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">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.
              <div><br>
              </div>
              <div>This would be in place of dd, and would not be able
                to copy the boot sector of a device or partition</div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">On Wed, Jun 25, 2014 at 2:04
                    PM, John Hupp <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:ubuntu@prpcompany.com"
                        target="_blank">ubuntu@prpcompany.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">On
                      6/25/2014 1:12 PM, Nils Kassube wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        John Hupp wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          And point well taken: it does seem to me that,
                          as a refinement of the<br>
                          initial suggested plan, gzip alone should
                          suffice since we are dealing<br>
                          with a single-file output from dd and not a
                          collection of files.<br>
                        </blockquote>
                        Well, you could use a command chain dd | gzip |
                        tar to split the output<br>
                        for several DVDs including a prompt for the next
                        medium.<br>
                        <br>
                        BTW: If you want to save data only, you
                        shouldn't use tar for ntfs<br>
                        partitions because tar doesn't know about the
                        ntfs permissions which<br>
                        different from the Unix permissions.<br>
                        <br>
                        <br>
                        Nils<br>
                        <br>
                      </blockquote>
                      <br>
                      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?<br>
                      <br>
                      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?<span><font
                          color="#888888"><br>
                          <br>
                          <br>
                          -- <br>
                          ubuntu-users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:ubuntu-users@lists.ubuntu.com"
                            target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
                          Modify settings or unsubscribe at: <a
                            moz-do-not-send="true"
                            href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users"
                            target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
                        </font></span></blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    I am currently thinking this procedure may work:<br>
    <br>
    Wipe Windows partition free space: D/L Sdelete from <a
      href="http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx">http://technet.microsoft.com/en-us/sysinternals/bb897443.aspx</a>,
    save to c:\windows\system32, and run:<br>
    $ sdelete -z c:<br>
    <br>
    Wipe Linux partition free space: Boot *buntu Live disc, install
    zerofree, and run:<br>
    $ zerofree -v /dev/sda5<br>
    <br>
    Then for an external hard drive mounted at
    /media/user/HD-PCTU2/laptop-image:<br>
    <br>
    $ cd /media/user/HD-PCTU2/laptop-image<br>
    $ sudo -i<br>
    # dd if=/dev/sda bs=64K | gzip -c -9 | split -b 4500M -
    drivebackup.img.gz<br>
    <br>
    <hr size="2" width="100%"><br>
    After that, I would have to manually burn the the various
    drivebackup.img.gz files to DVD.<br>
    <br>
    Apart from corrections/improvements to the above, I still have two
    questions:<br>
    <span>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?<br>
    </span>2) Does dd knows how to prompt for the next DVD (the next
    split) during a restore operation<span><font color="#888888"><font
          color="#000000">?</font><br>
      </font></span>
  </body>
</html>