I downloaded the new version of the Rawhide-XO .iso to test and reinserted my 8GB SD card,
In my instance of Live USB Creator that was still running (on Windows XP SP3) I browsed to the new .iso and clicked [Create Live USB]. I ran into a few problems...
Bug: the progress bar continued to show green 100% even though I was starting a new run.
The program warned about overwriting my existing LiveOS and persistent layer, then displayed "Press 'Create Live USB' again if you wish to continue." (good, though maybe this should be an alert as well as a console message.
When I clicked [Create Live USB] again to continue, the program complained that it couldn't overwrite a file: Unable to remove previous LiveOS: [Error 5] Access is denied: 'G:\syslinux\ldlinux.sys'
Bug: why the duplicated backslashes?
I clicked [Create Live USB] again and the writing proceeded anyway, so I'm not sure what it did. I used Windows Process Monitor to captured the file operations, they're at the end of this message.
The problem file's attributes are RHS (Read-only, Hidden, System), that combination makes it tricky to remove a file. (I finally cleared them with DOS `attrib -r -h -s G:\syslinux\ldlinux.sys` and repeated from scratch.) I think this is a file that LiveUSB Creator creates, so it should be able to remove it. Even if the iso made this file, Live USB Creator should try harder to remove files it's going to overwrite.
Bug: while reproducing this several times, it seems at the point of the error I can click [Browse], choose a new ISO and then click [Create Live USB], but it seems the current "burn" continues, I don't see a new "xyz.iso selected". The UI and the status console are at best unclear.
Crash?: As I was composing this e-mail I repeated the steps with Windows utilities Process Monitor and Opened Files View running. When I got to the "unable to remove previous LiveOS" error message I clicked the close box and immediately got a BSOD. I've reproduced everything else but haven't tried to reproduce this crash.
Cheers, -- =S Page
Process Monitor for the problem file. A successful file write has the same queries, but succeeds at SetDispositionInformation(), then does a few WriteFile()s.
Operation - Path - Result - Detail
QueryOpen G:\syslinux\ldlinux.sys FAST IO DISALLOWED CreateFile G:\syslinux\ldlinux.sys SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened QueryNetworkOpenInformationFile G:\syslinux\ldlinux.sys FAST IO DISALLOWED QueryNetworkOpenInformationFile G:\syslinux\ldlinux.sys SUCCESS CreationTime: 3/16/2009 10:02:44 PM, LastAccessTime: 3/16/2009 12:00:00 AM, LastWriteTime: 3/16/2009 10:02:46 PM, ChangeTime: 0, AllocationSize: 16384, EndOfFile: 13671, FileAttributes: RHS CloseFile G:\syslinux\ldlinux.sys SUCCESS CreateFile G:\syslinux\ldlinux.sys SUCCESS Desired Access: Read Attributes, Delete, Disposition: Open, Options: Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened QueryAttribbuteTagFile G:\syslinux\ldlinux.sys INVALID PARAMETER SetDispositionInformationFile G:\syslinux\ldlinux.sys CANNOT DELETE Delete: True CloseFile G:\syslinux\ldlinux.sys SUCCESS QueryOpen G:\syslinux\ldlinux.sys FAST IO DISALLOWED CreateFile G:\syslinux\ldlinux.sys SUCCESS Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened QueryNetworkOpenInformationFile G:\syslinux\ldlinux.sys FAST IO DISALLOWED QueryNetworkOpenInformationFile G:\syslinux\ldlinux.sys SUCCESS CreationTime: 3/16/2009 10:02:44 PM, LastAccessTime: 3/16/2009 12:00:00 AM, LastWriteTime: 3/16/2009 10:02:46 PM, ChangeTime: 0, AllocationSize: 16384, EndOfFile: 13671, FileAttributes: RHS CloseFile G:\syslinux\ldlinux.sys SUCCESS CreateFile G:\syslinux\ldlinux.sys SUCCESS Desired Access: Read Attributes, Delete, Disposition: Open, Options: Non-Directory File, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened QueryAttribbuteTagFile G:\syslinux\ldlinux.sys INVALID PARAMETER ===> SetDispositionInformationFile G:\syslinux\ldlinux.sys CANNOT DELETE Delete: True CloseFile G:\syslinux\ldlinux.sys SUCCESS
On Tue, Mar 17, 2009 at 01:30:44AM -0700, S Page wrote: [...]
When I clicked [Create Live USB] again to continue, the program complained that it couldn't overwrite a file: Unable to remove previous LiveOS: [Error 5] Access is denied: 'G:\syslinux\ldlinux.sys'
Bug: why the duplicated backslashes?
That seems to be caused by Python's os.path.join, but it shouldn't cause any harm. As for the ldlinux.sys problem, I'm pretty sure I fixed that in the latest version (3.7).
luke
liveusb-creator@lists.stg.fedorahosted.org