Results 1 to 2 of 2

Thread: Back-up files from WinXP using Ubuntu Live are corrupted

  1. #1
    Join Date
    Jul 2013
    Beans
    1

    Back-up files from WinXP using Ubuntu Live are corrupted

    Hey everybody,

    Due to some restrictions in my company laptop I informally agreed to extract some files I needed (like my timesheets and so on) using my emergency pendrive with Ubuntu Live. I copied them to another external drive and then back to my personal PC. The point is files are now corrupted. I could fixed the mailbox file already but not many XLS or PDF files. Is this a normal behavior because of what I did? Any idea how to fix these files?

    Thanks in advance,

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Back-up files from WinXP using Ubuntu Live are corrupted

    Welcome to the Ubuntu Forums

    Normally xls files and pdf files will be copied as they are (without any changes) between different file systems. If this was what you did, there is something seriously wrong, if they were corrupted. But maybe you did also something else ...

    1. Can you read the files on the pendrive or that other external drive? Are they OK?

    2. What is corrupted? Some letters and special signs, or the whole files?

    3. Did you edit the files somehow before copying them back to the company's computer?

    -o-

    One source of corruption is that writing to and from USB is very slow, and it is often buffered, so that you do not realize that it has not finished. The user interface looks like it has finished. If you unplug the pendrive before it has really finished, and without unmounting (ejecting) the drive, the file(s) will be corrupted, because they were only partially written.

    Unmounting will not finish until writing has finished. A command line alternative is
    Code:
    sync
    which will not return to prompt until all buffered write operations have finished. So to be safe, unmount and sync!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •