Home > Posts > HowTo: Fix DVD/CD with Live filesystem (Packet/UDF) on Windows

HowTo: Fix DVD/CD with Live filesystem (Packet/UDF) on Windows

The other day I found how easy it is to use a Live CD/DVD (where packet writing occurs when adding stuff) instead of a Mastered one (where all is kept to be written when you close the disk) on Windows.

It feels more like using a USB flash disk and should be more safe regarding losing data in the long run if you want to keep some file archive. In theory at least, since there are cases the live disk last write operation may fail and it may appear as an unreadable disk after one, making funny noises when you insert it and freezing for long time periods Windows Explorer when you try to access it.

However, the UDF filesystem that it uses keeps multiple VAT tables for the blocks written to the disk, which means it can be restored to the last workable state of the disk (you might still lose data from the last block I guess, but you’ll have access to the rest of the files you had written to the disk). For any files you find missing, you can try file recovery software with deep search option, like ISOBuster.

To restore such a disk back to working state, on Windows 10 you can right click the Start menu button and from the context (popup) menu shown, you can select to run PowerShell as Administrator. Then you can write CMD and press ENTER. The classic command-line shell (DOS syntax) will open up, where you should type-in chkdsk /f e: (replacing e: with the letter of the drive where the problematic disk has been inserted – can find that one easily from Windows Explorer / My Computer) and press ENTER again.

The disk should be detected as being of UDF format and the disk checking (chkdsk) command will check for a valid VAT on the last written block and if it can’t will try to revert the media to a previous state, before the corruption occurred by placing at the the end of the disk the last valid VAT.

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\WINDOWS\system32> cmd
Microsoft Windows [Version 10.0.17134.165]
(c) 2018 Microsoft Corporation. Με επιφύλαξη κάθε νόμιμου δικαιώματος.

C:\WINDOWS\system32>chkdsk /f e:
The type of the file system is UDF.
Volume Μουσική is UDF version 2.01.

Chkdsk is running on media that does not support writes in place.
On such media chkdsk operation is limited to verifying the presence
of a valid VAT on the last written block and if necessary searching
for the last valid VAT and placing it at the end of the disk.
This could revert the media to a previous state before the corruption
occured.

Chkdsk could not find a valid VAT at the end of the volume.

CHKDSK is searching for a valid VAT …

And after some ages (stayed at 0% for some time and then took around a day progressing slowly on my machine for a DVD) you’ll hopefully see something like:

Search for VAT completed.
Chkdsk is copying last valid VAT at block 1722719 to the end of the
volume. This will revert the volume to its state at 01:13 on
10/09/2018.

Windows has made corrections to the file system.
No further action is required.

   4595200 KB total disk space.
    222240 KB available on disk.

      2048 bytes in each allocation unit.
   2297600 total allocation units on disk.
    111120 allocation units available on disk.

Then type exit followed by ENTER key twice to exit the command processor (cmd) and PowerShell. This will close the console window.

C:\WINDOWS\system32>exit
PS C:\WINDOWS\system32> exit

Enjoy your disk with its files again, hopefully all of them… Plus you’ll be able to add more files to the disk, which could have even been near to empty when the corruption had occurred. Note that when you’re finished and don’t want to write anymore files to the disk, you can right click it and close the session, so that it can be readable on more systems.

  1. Yoel S
    2019/05/09 at 15:44

    Hi – what do I do when chkdsk doesn’t find a valid VAT and then throws an error, like this:

    C:\Users\yoels>chkdsk /f d:
    The type of the file system is UDF.
    Volume D_Dump09072015 #1 is UDF version 1.50.

    Chkdsk is running on media that does not support writes in place.
    On such media chkdsk operation is limited to verifying the presence
    of a valid VAT on the last written block and if necessary searching
    for the last valid VAT and placing it at the end of the disk.
    This could revert the media to a previous state before the corruption
    occured.

    Chkdsk could not find a valid VAT at the end of the volume.
    An unspecified error occurred (75646663686b2e63 2bb).

  2. Sehrish Muhammad
    2019/08/08 at 10:55

    Hi George, quick question, would this work for a dvd-r (one time writable dvd)? Thanks in advance!

    • 2019/08/08 at 15:56

      I believe you could make an image of it (there are various free s/w to make ISO images from media), then mount it as a virtual CD and then repair the file system, then make a copy of the mounted image to physical media or just keep the fixed image.

    • 2019/08/08 at 15:58

      What I’m not sure is whether Microsoft’s s/w will consider it closed or not. I think it won’t, it just searches for the last good filesystem copy (it probably places one updated filesystem table copy at every write as it seems to fake live update on a non-rewritable CD/DVD) and use that. In any case you could also try ISOBuster s/w

  3. Sehrish Muhammad
    2019/08/09 at 13:11

    Update: It worked!!! I actually extracted the zipped file onto the dvd-r itself and so it got corrupted, chkdsk /f worked like a charm. Thanks loads, saved me a whole lot of trouble! :))

  4. Michael Teasdill
    2024/04/18 at 17:00

    Excellent stuff

    Thanks to you

    All back to normal

    What a pain it was though

    Was using DVD+rw to store files as all HDDs FULL

    Worked ok until this disc the tenth used

    Very grateful

    M

  1. No trackbacks yet.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.