Jump to content

Dave-H

Super Moderator
  • Posts

    5,394
  • Joined

  • Last visited

  • Days Won

    68
  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by Dave-H

  1. Sorry again jaclaz, here is the output with the current version, I had completely missed that you had updated it! I really should learn to read things properly....... Windows 8.1 Admin from non-elevated prompt - **********************************************************************************FIRST PROMPT WINDOW RESULTING IN UAC PROMPT**********************************************************************************Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\Users\Dave>s:S:\>testelevVista , or later, ...OK, I am a local admin ...I am NOT running elevated, BAD.S:\>**********************************************************************************SECOND PROMPT WINDOW WHICH THEN POPPED UP AFTER THE UAC PROMPT WAS DISMISSED**********************************************************************************Vista , or later, ...OK, I am a local admin ...... and I am running elevated, good.Press any key to continue . . .Imagine that this is an actually useful command executed in elevated mode.Volume - C: is NOT DirtyPress any key to continue . . .Windows 8.1 Admin from non-elevated prompt double clicking - **********************************************************************************SECOND PROMPT WINDOW AFTER FIRST AUTOMATICALLY CLOSED WHEN UAC PROMPT DISMISSED**********************************************************************************Vista , or later, ...OK, I am a local admin ...... and I am running elevated, good.Press any key to continue . . .Imagine that this is an actually useful command executed in elevated mode.Volume - C: is NOT DirtyPress any key to continue . . .Windows 8.1 Admin from elevated prompt - Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\WINDOWS\system32>s:S:\>testelevVista , or later, ...OK, I am a local admin ...... and I am running elevated, good.Press any key to continue . . .Imagine that this is an actually useful command executed in elevated mode.Volume - C: is NOT DirtyPress any key to continue . . .S:\>Windows 8.1 Admin from elevated prompt double clicking - Vista , or later, ...OK, I am a local admin ...... and I am running elevated, good.Press any key to continue . . .Imagine that this is an actually useful command executed in elevated mode.Volume - C: is NOT DirtyPress any key to continue . . .
  2. Here's what I got - Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\Users\Dave>whoami /Groups | FIND "S-1-5-32-544"BUILTIN\Administrators Alias S-1-5-32-544 Group used for deny onlyC:\Users\Dave>whoami /Groups | FIND "S-1-5-32-544" >nulC:\Users\Dave>whoami /Groups | FIND "S-1-5-32-544" >nul 2>&1C:\Users\Dave>
  3. My shortcuts run elevated prompts too, but just putting "cmd" in the run box I hope still runs a non-elevated one! I just use Windows Defender on Windows 8.1, and it didn't seem to cause any problems. I used the 64 bit version of elevate.exe. As an aside, why on earth did the board software automatically put asterisks in the word "id**t" (I've done it for it this time!) in my last post? That's a bit over-sensitive surely!
  4. Sorry, I'm being an id*** again! Here is the 8.1 output with a non-elevated prompt, with the elevate.exe file added! A UAC prompt had to be OKed both times. From Command Prompt - **********************************************************************************FIRST PROMPT WINDOW RESULTING IN UAC PROMPT**********************************************************************************Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\Users\Dave>s:S:\>testelevVista , or later, ...BUILTIN\Administrators Alias S-1-5-32-544 Group used for deny onlyOK, I am a local admin ...I am NOT running elevated, BAD.S:\>**********************************************************************************SECOND PROMPT WINDOW WHICH THEN POPPED UP AFTER THE UAC PROMPT WAS DISMISSED**********************************************************************************Vista , or later, ...BUILTIN\Administrators Alias S-1-5-32-544 Mandatory group, Enabled by default, Enabled group, Group ownerOK, I am a local admin ...Mandatory Label\High Mandatory Level Label S-1-16-12288... and I am running elevated, good.Press any key to continue . . .Imagine that this is an actually useful command executed in elevated mode.Volume - C: is NOT DirtyPress any key to continue . . .From double-clicking - **********************************************************************************SECOND PROMPT WINDOW AFTER FIRST AUTOMATICALLY CLOSED WHEN UAC PROMPT DISMISSED**********************************************************************************Vista , or later, ...BUILTIN\Administrators Alias S-1-5-32-544 Mandatory group, Enabled by default, Enabled group, Group ownerOK, I am a local admin ...Mandatory Label\High Mandatory Level Label S-1-16-12288... and I am running elevated, good.Press any key to continue . . .Imagine that this is an actually useful command executed in elevated mode.Volume - C: is NOT DirtyPress any key to continue . . .
  5. OK, I've done some tests. I don't have any non-administrative accounts set up on my 8.1 machines. I'll give you the whole output. The ones that end with "press any key" would have closed the prompt if I had done at that point of course! Windows 8.1 Admin from non-elevated prompt - Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\Users\Dave>s:S:\>testelevVista , or later, ...BUILTIN\Administrators Alias S-1-5-32-544 Group used for deny onlyOK, I am a local admin ...I am NOT running elevated, BAD.The needed file elevate.exe is missingget it from http://code.kliu.org/misc/elevate/and put it somewhere in PATH or in th esame directory of the batchPress any key to continue . . .S:\>Windows 8.1 Admin from non-elevated prompt double clicking - Vista , or later, ...BUILTIN\Administrators Alias S-1-5-32-544 Group used for deny onlyOK, I am a local admin ...I am NOT running elevated, BAD.The needed file elevate.exe is missingget it from http://code.kliu.org/misc/elevate/and put it somewhere in PATH or in th esame directory of the batchPress any key to continue . . .Windows 8.1 Admin from elevated prompt - Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\WINDOWS\system32>s:S:\>testelevVista , or later, ...BUILTIN\Administrators Alias S-1-5-32-544 Mandatory group, Enabled by default, Enabled group, Group ownerOK, I am a local admin ...Mandatory Label\High Mandatory Level Label S-1-16-12288... and I am running elevated, good.Press any key to continue . . .Imagine that this is an actually useful command executed in elevated mode.Volume - C: is NOT DirtyPress any key to continue . . .S:\>Windows 8.1 Admin from elevated prompt double clicking - Vista , or later, ...BUILTIN\Administrators Alias S-1-5-32-544 Mandatory group, Enabled by default, Enabled group, Group ownerOK, I am a local admin ...Mandatory Label\High Mandatory Level Label S-1-16-12288... and I am running elevated, good.Press any key to continue . . .Imagine that this is an actually useful command executed in elevated mode.Volume - C: is NOT DirtyPress any key to continue . . .Windows XP from prompt - Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.C:\XP User Files\Dave>s:S:\>testelevXP or 2003 ...... I am an Admin, nothing to do.Press any key to continue . . .Imagine that this is an actually useful command executed in elevated mode.Volume - D: is NOT DirtyPress any key to continue . . .S:\>Windows XP from double clicking - XP or 2003 ...... I am an Admin, nothing to do.Press any key to continue . . .Imagine that this is an actually useful command executed in elevated mode.Volume - D: is NOT DirtyPress any key to continue . . .HTH.
  6. Will do! I tried the disk routine again, creating a 3 MB drive initially this time instead of 32 MB. All seemed OK on the USB side - Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\windows\system32>cd\C:\>cd mkprilogC:\MkPriLog>mkprilogplease input an approximated size in Megabytes for the FAT12 partition, minimum1, maximum 32...The image will be created in the same folder as this batchand will be named PriLog.img3Writing MBR at offset 0 ...... done.... done.Writing the 512 bytes/sector bootsector BPB at offset 32768 ...BS512_Res=456BS512_SBef=64BS512_Sectors=6080BS512_SpF=8... done.... done.Writing the 4096 bytes/sector bootsector BPB at offset 262144...... done.Writing FAT tables incipit ...... done.Base address of EPBR 512 is 389120Base address of EPBR 4Kb is 3112960Press any key to continue . . ..The image should have been created as PriLog.img, now you need tomanually dd it to the destination disk, a suitable command would be:dsfi.exe \\.\PhysicalDrive[n] 0 0 PriLog.imgMake sure that you use the RIGHT Disk Number [n], do check in Disk Manager.The disk can be mounted indifferently through the 4kb or the 512bytes/sector interface to deploy the image.Once the image has been deployed you may need to disconnect and reconnect thedisk to have the FAT12 volume be recognized and mounted.Then you can go to Disk Manager and create a Primary partition, NTFS formattedextending on all the available space on disk (or on just a portion of it).It is "better" to use a Vista (or later) OS to create the NTFS partitionThe partition would be better if Megabyte aligned.(or do it manually or use a suitable third-party tool) as the XP will align iton head/cylinder boundaries, whilst a MB-aligned partition will be faster onslow buses such as USB 2.0The partition and the NTFS filesystem MUST be created when the disk is connected asa 4kb sectored device, this is NOT negotiable.Once the second partition has been created, and I repeat, this MUST be donewith the device connected as 4kb sectored, you can run the mkdualdisk.cmdWhich will modify the disk and create the needed EPBR's.C:\MkPriLog>dsfi \\.\PhysicalDrive1 0 0 PriLog.imgOK, written 3145728 bytes at offset 0C:\MkPriLog>mkdualdisk"DUAL" disk found as \\.\PHYSICALDRIVE1Creating a temporary copy of the MBROK, 4096 bytes, 0.047s, MD5 = 66f00e2856e8fb53d8d47fa8a0c974bdNow the extent of the FAT12 partition is 704We need to multiply this value by 8, once increased by 64, and then subtract 64Offset 474=0xC0,0x17,0x00,0x00Now the extent of the FAT12 partition is 6080000001B8h: 44 55 41 4C DUAL000001BEh: 00 00 00 00 0F 00 00 00 3F 00 00 00 01 00 00 00000001CEh: 00 00 00 00 01 00 00 00 40 00 00 00 C0 17 00 00000001DEh: 00 0C 0D 00 07 FE FF FF 00 03 00 00 00 08 8E 0E000001EEh: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00Condition #1, Prilog=1Condition #1, Prilog=2Condition #1, Prilog=3Condition #1, Prilog=3Condition #1, Prilog=4Condition #1, Prilog=5Entry446=000000000F0000003F00000001000000Entry446_Length=1Entry446_LengthHex=00000001Entry446_Start=63Entry446_StartHex=0000003FEntry446_Type=0FEntry462=000000000100000040000000C0170000Entry462_Length=6080Entry462_LengthHex=000017C0Entry462_Start=64Entry462_StartHex=00000040Entry462_Type=01Entry478=000C0D0007FEFFFF0003000000088E0EEntry478_Length=244189184Entry478_LengthHex=0E8E0800Entry478_Start=768Entry478_StartHex=00000300Entry478_Type=07Entry494=00000000000000000000000000000000Entry494_Length=0Entry494_LengthHex=00000000Entry494_Start=0Entry494_StartHex=00000000Entry494_Type=00sum462=6144by8=6144by8XP=5640The disk was recognized as created with the Prilog schemeCreating a temporary copy of the NTFS partition bootsectorOK, 4096 bytes, 0.000s, MD5 = 00fd23983d9c4d7123f9eade7f752b1ePress any key to continue . . .Creating a copy of the 4kb bytes/sector NTFS bootsectorAnd modifying it to become the 512 bytes/sector NTFS bootsectorOffset 11=0x00,0x02,0x08Offset 28=0x00,0x18,0x00,0x00Offset 40=0xF8,0x3F,0x70,0x74OK, 4096 bytes, 0.000s, MD5 = b4a25b364281dc40e3203fbacd9df49bPress any key to continue . . .Creating a copy of the 4kb bytes/sector EPBRand writing to it the values for the NTFS volumeOK, 4096 bytes, 0.000s, MD5 = fc86b746e3b8c6f0108aaf1a1ac6271aOffset 450=0x07Offset 454=0xC1,0x02,0x00,0x00Offset 458=0x00,0x08,0x8E,0x0ECreating a copy of the 512 bytes/sector EPBRand writing to it the values for the NTFS volumeOK, 4096 bytes, 0.000s, MD5 = 620f0b67a91f7f74151bc5be745b7110Offset 4034=0x07Offset 4038=0xC1,0x17,0x00,0x00Offset 4042=0x00,0x40,0x70,0x74Press any key to continue . . .If you are on Vista or later you may need to authorize three timesthe writes to disk (UAC prompt)Press any key to continue . . .OK, written 4096 bytes at offset 0OK, written 4096 bytes at offset 29672OK, written 4096 bytes at offset 258048C:\MkPriLog>After formatting the NTFS partition everything was correct as expected on the USB machine. I then switched the disk over to the eSATA interface. The 3 MB drive appeared but nothing else. I then realised that I hadn't copied the necessary switching files to it, so I decided to go back to the USB interface to do it (as that's where I would have done it had I not forgotten!) The 3 MB drive reappeared on the other machine, but not the large NTFS drive which had been there before. Disk Management is now showing it as a primary partition with no file system or drive letter. It doesn't say it's RAW unformatted, but if I try to do anything (like format or change drive letter) Disk Management just throws up an error message. Rebooting makes no difference, and there are no relevant entries in any of the system logs. I did nothing on the eSATA machine other than switch the disk over to it and open the small drive, but it looks as if just doing that has corrupted the structure when back on the USB interface! This is the USB machine Disk Management as it is now. The eSATA machine Disk Management reports the large partition as "unallocated".
  7. What I'm seeing on the USB connection is still absolutely correct, a 256 MB FAT partition and a 931.26 GB NTFS partition. The same disk just switched to the eSATA connection shows a 32 MB FAT partition, a 116.41 GB RAW partition, and 815.07 GB unallocated. The fact that it's showing correctly still on USB even after the switching process presumably means that the switching process did not work at all, at least not as it should have done! I will clear all the partitions and try again from scratch, this time with a 3 MB FAT partition instead of 32 MB, and see what that does. EDIT: I deleted the partitions using the eSATA connection. When I went over to the USB connection the disk showed correctly as completely unallocated in Disk Management, but when I looked with DISKPART there was still a partition on it which was Partition 0, reported as being 4096 Bytes in size at offset 252 KB. Is that what you would expect? I used DISKPART to delete it.
  8. I did choose the maximum 32 MB for the FAT partition, but the NTFS partition is the rest of the disk, over 900 GB! I'll try with a smaller FAT partition and see if I get the same result.
  9. OK, sorry. I deleted the mycurrent.bss file from drive I:, and tried again. As you thought, I got the same result - Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\WINDOWS\system32>i:I:\>dsfo \\.\J: 0 4096 mycurrent.bssOK, 4096 bytes, 0.000s, MD5 = e60735c779a4b11d0b454ba626c6a42bI:\>FC /B mycurrent.bss as512NTFS.bssComparing files mycurrent.bss and AS512NTFS.BSSFC: no differences encounteredI:\>
  10. OK, ran the check and got this, so it looks as if all is well. Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.C:\XP User Files\Dave>i:I:\>dsfo \\.\J: 0 4096 mycurrent.bssmycurrent.bss - The file exists.I:\>FC /B mycurrent.bss as512NTFS.bssComparing files mycurrent.bss and AS512NTFS.BSSFC: no differences encounteredI:\>Disk Management in XP looks the same as in 8.1 -
  11. Hi jaclaz. Sorry for the delay in replying, but the board seemed to be offline most of yesterday evening, and I've been busy sorting out other problems with my Windows 8.1 installation most of today! All fixed anyway (I had installed a motherboard monitoring application that turned out to be incompatible, which cause no end of problems!) Did you want me to run those commands in Windows XP or 8.1 (presumably while eSATA connected)?
  12. Any update @jaclaz, or are you still waiting for more input from me?
  13. Tried again in XP. Same result - Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.C:\XP User Files\Dave>i:I:\>switcher"DUAL" disk found as \\.\PHYSICALDRIVE5OK, NTFS volume is mounted to drive J:and it uses a 512 bytes/sector interfaceCurrent NTFS bootsector is NOT the 512 bytes/sector one.Do you want to switch to the 512 bootsector? [Y/N]yIf you are on Vista or later you may need to authorize the copy (UAC prompt).OK, written 4096 bytes at offset 0Press any key to continue . . .I:\>Drive J: still reporting unformatted, and the same layout in Disk Management.
  14. Ah, I thought it would be more complicated than just running mountvol without any switches! Did it and got this - Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\WINDOWS\system32>mountvol J:\ /DC:\WINDOWS\system32>i:I:\>dsfi \\.\Volume{bc47db8c-a4c7-11e4-bf69-00304879f908}\ 0 4096 as512NTFS.bss\\.\Volume{bc47db8c-a4c7-11e4-bf69-00304879f908}\ - The volume does not containa recognised file system.Please make sure that all required file system drivers are loaded and that the volume is not corrupted.I:\>mountvol J:\ \\?\Volume{bc47db8c-a4c7-11e4-bf69-00304879f908}\I:\>Drive J: is now back in Explorer as it was before, apparently unformatted. Should I have deleted the incorrect partitions in Disk Management first before I tried this?
  15. Ah, yes of course it would have helped if dsfo.exe had actually been in the folder I was trying to run it from! Tried again and got - I:\>dsfo \\.\J: 0 4096 mycurrent.bssOK, 4096 bytes, 0.000s, MD5 = e60735c779a4b11d0b454ba626c6a42bI:\>Not sure about finding that ID for drive J:\. Is that in the registry? There don't seem to be any relevant entries if I search for J: in the registry.
  16. OK, this is what I got - I:\>fc /b as4kbNTFS.bss as512NTFS.bssComparing files as4kbNTFS.bss and AS512NTFS.BSS0000000C: 10 020000000D: 01 080000001D: 20 000000001E: 00 0100000028: FF F800000029: EA 570000002A: 8D 6F0000002B: 0E 74I:\>dsfo \\.\J: 0 4096 mycurrent.bss'dsfo' is not recognized as an internal or external command,operable program or batch file.I:\>Running the switcher again on the eSATA connected drive produces the same output as before with the same result in Drive Management. Going back to the USB connected machine, everything is still fine, the drives are correct in Explorer and Disk Management, so it looks as if nothing has actually been changed by running the switcher on the eSATA connected machine.
  17. OK, running switcher from an elevated prompt on the eSATA machine I'm now getting - Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\WINDOWS\system32>i:I:\>switcher"DUAL" disk found as \\.\PHYSICALDRIVE5OK, NTFS volume is mounted to drive J:and it uses a 512 bytes/sector interfaceCurrent NTFS bootsector is NOT the 512 bytes/sector one.Do you want to switch to the 512 bootsector? [Y/N]yIf you are on Vista or later you may need to authorize the copy (UAC prompt).OK, written 4096 bytes at offset 0Press any key to continue . . .I:\>It's still not actually mounting the other drive though. I'm seeing this in Disk Management, which doesn't look too good. Drive J: appears as an unformatted drive in Explorer.
  18. Sorry to report that the switching function isn't working. I went over to the eSATA connected machine, ran the switcher from the files in the 31.6 MB drive, which appeared OK, and just got - "Attempting to mount the the NTFS volume to drive J:", followed by "The parameter is incorrect". This was just repeated over and over again until I shut down the command prompt. I then went back to the USB connected machine, and ran the switcher again, with the same result (although it said drive H: instead of drive J:, as expected), so I've now lost access to the big partition completely! Disk Management on the eSATA machine is showing it as unallocated, on the USB machine it's showing as a primary partition with no drive letter assigned. If I try and look at its properties I get an error message about the Disk Management console view not being up to date, which doesn't go away if I refresh or restart it.
  19. OK, after the modification everything seemed to go through OK. No UAC prompts (USB connected Windows 8.1)! Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\windows\system32>cd\mkprilogC:\MkPriLog>mkdualdisk"DUAL" disk found as \\.\PHYSICALDRIVE1Creating a temporary copy of the MBROK, 4096 bytes, 4.813s, MD5 = dde5a655ffb6537e52cf7d354f811bdfNow the extent of the FAT12 partition is 8128We need to multiply this value by 8, once increased by 64, and then subtract 64Offset 474=0xC0,0xFF,0x00,0x00Now the extent of the FAT12 partition is 65472000001B8h: 44 55 41 4C DUAL000001BEh: 00 00 00 00 0F 00 00 00 3F 00 00 00 01 00 00 00000001CEh: 00 00 00 00 01 00 00 00 40 00 00 00 C0 FF 00 00000001DEh: 00 82 03 00 07 FE FF FF 00 20 00 00 00 EB 8D 0E000001EEh: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00Condition #1, PriLog=1Condition #1, PriLog=2Condition #1, PriLog=3Condition #1, PriLog=3Condition #1, PriLog=4Condition #1, PriLog=5Entry446=000000000F0000003F00000001000000Entry446_Length=1Entry446_LengthHex=00000001Entry446_Start=63Entry446_StartHex=0000003FEntry446_Type=0FEntry462=000000000100000040000000C0FF0000Entry462_Length=65472Entry462_LengthHex=0000FFC0Entry462_Start=64Entry462_StartHex=00000040Entry462_Type=01Entry478=0082030007FEFFFF0020000000EB8D0EEntry478_Length=244181760Entry478_LengthHex=0E8DEB00Entry478_Start=8192Entry478_StartHex=00002000Entry478_Type=07Entry494=00000000000000000000000000000000Entry494_Length=0Entry494_LengthHex=00000000Entry494_Start=0Entry494_StartHex=00000000Entry494_Type=00sum462=65536by8=65536by8XP=65032The disk was recognized as created with the Prilog schemeCreating a temporary copy of the NTFS partition bootsectorOK, 4096 bytes, 0.016s, MD5 = 449a1256e3e767410c50d27131c80921Press any key to continue . . .Creating a copy of the 4kb bytes/sector NTFS bootsectorAnd modifying it to become the 512 bytes/sector NTFS bootsectorOffset 11=0x00,0x02,0x08Offset 28=0x00,0x00,0x01,0x00Offset 40=0xF8,0x57,0x6F,0x74OK, 4096 bytes, 0.000s, MD5 = e60735c779a4b11d0b454ba626c6a42bPress any key to continue . . .Creating a copy of the 4kb bytes/sector EPBRand writing to it the values for the NTFS volumeOK, 4096 bytes, 0.000s, MD5 = fc86b746e3b8c6f0108aaf1a1ac6271aOffset 450=0x07Offset 454=0xC1,0x1F,0x00,0x00Offset 458=0x00,0xEB,0x8D,0x0ECreating a copy of the 512 bytes/sector EPBRand writing to it the values for the NTFS volumeOK, 4096 bytes, 0.016s, MD5 = 620f0b67a91f7f74151bc5be745b7110Offset 4034=0x07Offset 4038=0xC1,0xFF,0x00,0x00Offset 4042=0x00,0x58,0x6F,0x74Press any key to continue . . .If you are on Vista or later you may need to authorize three timesthe writes to disk (UAC prompt)Press any key to continue . . .OK, written 4096 bytes at offset 0OK, written 4096 bytes at offset 29672OK, written 4096 bytes at offset 258048C:\MkPriLog>Will try the actual switching process later on and report back on that.
  20. OK, now getting this - Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\windows\system32>cd\mkprilogC:\MkPriLog>mkprilogplease input an approximated size in Megabytes for the FAT12 partition, minimum1, maximum 32...The image will be created in the same folder as this batchand will be named PriLog.img32Writing MBR at offset 0 ...... done.... done.Writing the 512 bytes/sector bootsector BPB at offset 32768 ...BS512_Res=456BS512_SBef=64BS512_Sectors=65472BS512_SpF=32... done.... done.Writing the 4096 bytes/sector bootsector BPB at offset 262144...... done.Writing FAT tables incipit ...... done.Base address of EPBR 512 is 4190208Base address of EPBR 4Kb is 33521664Press any key to continue . . ..The image should have been created as PriLog.img, now you need tomanually dd it to the destination disk, a suitable command would be:dsfi.exe \\.\PhysicalDrive[n] 0 0 PriLog.imgMake sure that you use the RIGHT Disk Number [n], do check in Disk Manager.The disk can be mounted indifferently through the 4kb or the 512bytes/sector interface to deploy the image.Once the image has been deployed you may need to disconnect and reconnect thedisk to have the FAT12 volume be recognized and mounted.Then you can go to Disk Manager and create a Primary partition, NTFS formattedextending on all the available space on disk (or on just a portion of it).It is "better" to use a Vista (or later) OS to create the NTFS partitionThe partition would be better if Megabyte aligned.(or do it manually or use a suitable third-party tool) as the XP will align iton head/cylinder boundaries, whilst a MB-aligned partition will be faster onslow buses such as USB 2.0The partition and the NTFS filesystem MUST be created when the disk is connected asa 4kb sectored device, this is NOT negotiable.Once the second partition has been created, and I repeat, this MUST be donewith the device connected as 4kb sectored, you can run the mkdualdisk.cmdWhich will modify the disk and create the needed EPBR's.C:\MkPriLog>dsfi \\.\PhysicalDrive1 0 0 PriLog.imgOK, written 33554432 bytes at offset 0C:\MkPriLog>mkdualdisk"DUAL" disk found as \\.\PHYSICALDRIVE1Creating a temporary copy of the MBROK, 4096 bytes, 0.032s, MD5 = dde5a655ffb6537e52cf7d354f811bdfNow the extent of the FAT12 partition is 8128We need to multiply this value by 8Offset 474=0x00,0xFE,0x00,0x00Now the extent of the FAT12 partition is 65024000001B8h: 44 55 41 4C DUAL000001BEh: 00 00 00 00 0F 00 00 00 3F 00 00 00 01 00 00 00000001CEh: 00 00 00 00 01 00 00 00 40 00 00 00 00 FE 00 00000001DEh: 00 82 03 00 07 FE FF FF 00 20 00 00 00 EB 8D 0E000001EEh: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00Condition #1, PriLog=1Condition #1, PriLog=2Condition #1, PriLog=2Condition #1, PriLog=2Condition #1, PriLog=3Condition #1, PriLog=4Entry446=000000000F0000003F00000001000000Entry446_Length=1Entry446_LengthHex=00000001Entry446_Start=63Entry446_StartHex=0000003FEntry446_Type=0FEntry462=00000000010000004000000000FE0000Entry462_Length=65024Entry462_LengthHex=0000FE00Entry462_Start=64Entry462_StartHex=00000040Entry462_Type=01Entry478=0082030007FEFFFF0020000000EB8D0EEntry478_Length=244181760Entry478_LengthHex=0E8DEB00Entry478_Start=8192Entry478_StartHex=00002000Entry478_Type=07Entry494=00000000000000000000000000000000Entry494_Length=0Entry494_LengthHex=00000000Entry494_Start=0Entry494_StartHex=00000000Entry494_Type=00sum462=65088by8=65536by8XP=65032The disk was NOT recognized as being created with the known schemesPress any key to continue . . .C:\MkPriLog>
  21. OK, done that. This is what I'm now getting - Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\windows\system32>cd\C:\>cd MkPriLogC:\MkPriLog>mkdualdisk"DUAL" disk found as \\.\PHYSICALDRIVE1Creating a temporary copy of the MBROK, 4096 bytes, 4.828s, MD5 = c5e2a6e6a72dd713bde01cef7939e4dd000001B8h: 44 55 41 4C DUAL000001BEh: 00 00 00 00 0F 00 00 00 3F 00 00 00 01 00 00 00000001CEh: 00 00 00 00 01 00 00 00 40 00 00 00 C0 FF 00 00000001DEh: 00 14 11 04 07 FE FF FF 00 00 01 00 00 0B 8D 0E000001EEh: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00Condition #1, PriLog=1Condition #1, PriLog=2Condition #1, PriLog=2Condition #1, PriLog=2Condition #1, PriLog=3Condition #1, PriLog=4Entry446=000000000F0000003F00000001000000Entry446_Length=1Entry446_LengthHex=00000001Entry446_Start=63Entry446_StartHex=0000003FEntry446_Type=0FEntry462=000000000100000040000000C0FF0000Entry462_Length=65472Entry462_LengthHex=0000FFC0Entry462_Start=64Entry462_StartHex=00000040Entry462_Type=01Entry478=0014110407FEFFFF00000100000B8D0EEntry478_Length=244124416Entry478_LengthHex=0E8D0B00Entry478_Start=65536Entry478_StartHex=00010000Entry478_Type=07Entry494=00000000000000000000000000000000Entry494_Length=0Entry494_LengthHex=00000000Entry494_Start=0Entry494_StartHex=00000000Entry494_Type=00sum462=65536by8=524288by8XP=523784The disk was NOT recognized as being created with the known schemesPress any key to continue . . .C:\MkPriLog>Hope that helps!
  22. OK, I've tried again stating for scratch using elevated prompts, which may or may not be necessary. Everything went fine until i ran mkdualdisk, at which point I got - Microsoft Windows [Version 6.3.9600](c) 2013 Microsoft Corporation. All rights reserved.C:\windows\system32>cd\C:\>cd mkprilogC:\MkPriLog>mkprilogplease input an approximated size in Megabytes for the FAT12 partition, minimum1, maximum 32...The image will be created in the same folder as this batchand will be named PriLog.img32Writing MBR at offset 0 ...... done.... done.Writing the 512 bytes/sector bootsector BPB at offset 32768 ...BS512_Res=456BS512_SBef=64BS512_Sectors=65472BS512_SpF=32... done.... done.Writing the 4096 bytes/sector bootsector BPB at offset 262144...... done.Writing FAT tables incipit ...... done.Base address of EPBR 512 is 4190208Base address of EPBR 4Kb is 33521664Press any key to continue . . ..The image should have been created as PriLog.img, now you need tomanually dd it to the destination disk, a suitable command would be:dsfi.exe \\.\PhysicalDrive[n] 0 0 PriLog.imgMake sure that you use the RIGHT Disk Number [n], do check in Disk Manager.The disk can be mounted indifferently through the 4kb or the 512bytes/sector interface to deploy the image.Once the image has been deployed you may need to disconnect and reconnect thedisk to have the FAT12 volume be recognized and mounted.Then you can go to Disk Manager and create a Primary partition, NTFS formattedextending on all the available space on disk (or on just a portion of it).It is "better" to use a Vista (or later) OS to create the NTFS partitionThe partition would be better if Megabyte aligned.(or do it manually or use a suitable third-party tool) as the XP will align iton head/cylinder boundaries, whilst a MB-aligned partition will be faster onslow buses such as USB 2.0The partition and the NTFS filesystem MUST be created when the disk is connected asa 4kb sectored device, this is NOT negotiable.Once the second partition has been created, and I repeat, this MUST be donewith the device connected as 4kb sectored, you can run the mkdualdisk.cmdWhich will modify the disk and create the needed EPBR's.C:\MkPriLog>dsfi \\.\PhysicalDrive1 0 0 PriLog.imgOK, written 33554432 bytes at offset 0C:\MkPriLog>mkdualdisk"DUAL" disk found as \\.\PHYSICALDRIVE1Creating a temporary copy of the MBROK, 4096 bytes, 0.031s, MD5 = c5e2a6e6a72dd713bde01cef7939e4dd000001B8h: 44 55 41 4C DUAL000001BEh: 00 00 00 00 0F 00 00 00 3F 00 00 00 01 00 00 00000001CEh: 00 00 00 00 01 00 00 00 40 00 00 00 C0 FF 00 00000001DEh: 00 14 11 04 07 FE FF FF 00 00 01 00 00 0B 8D 0E000001EEh: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00The disk was NOT recognized as being created with the known schemesPress any key to continue . . .Pressing a key just goes back to the command prompt. I had formatted a primary partition on the drive as per the instructions.
  23. Ah, right! I have to say that I do think that most people will expect to be able to run the cmd files by double clicking on them, at least in the final version. Should I be using elevated command prompts or normal ones for this BTW? My command prompt shortcuts run elevated prompts by default.
  24. @dencorso You'll love this! What I got back was - "it was my grandsons (sic) hard drive the turnip obviously forgot to delete it, appologies (sic)"! Well at least the seller knew where the drive had came from, which is more than most eBay sellers know I'm sure, selling on stuff supplied by third parties. @jaclaz I've deleted the partitions and tried again. The problem is that when you run mkPriLog.cmd, you get this - please input an approximated size in Megabytes for the FAT12 partition, minimum1, maximum 32...The image will be created in the same folder as this batchand will be named PriLog.img32Writing MBR at offset 0 ...... done.... done.Writing the 512 bytes/sector bootsector BPB at offset 32768 ...BS512_Res=456BS512_SBef=64BS512_Sectors=65472BS512_SpF=32... done.... done.Writing the 4096 bytes/sector bootsector BPB at offset 262144...... done.Writing FAT tables incipit ...... done.Base address of EPBR 512 is 4190208Base address of EPBR 4Kb is 33521664Press any key to continue . . .On pressing another key, now I know they're there I can see the rest of the instructions come up, but then the command prompt window immediately closes, giving you no time to read them!
  25. Hi again jaclaz! Been trying this out using Windows 8.1 and the USB interface, which is the correct one for 4k sectors I hope. You say in the readme "To run the mkdualmode.cmd, you need to have already deployed the prilog.cmd image to the target disk". I assume that "mkdualmode.cmd" is the same file as "mkdualdisk.cmd" which is what you've actually called it. The other thing is that I think you need to tell people how to actually do that. I ran the command "C:\MkPriLog\dsfi \\.\ Physicaldrive1 0 0 PriLog.img", which seemed to work, but I had to look back in this thread to remind me how to do it! I now have my drive reported in Disk Management as two partitions, a 256 MB FAT one, and a 931.26 GB one which I've formatted as a primary partition. There are also two drives in "My Computer", a 31.6 MB one, and a 931 GB one. I'm now a bit stuck, as the readme says to now copy dsfi.exe, as4kbNTFS.bss, as512NTFS.bss, elevate.exe, and Switcher.cmd, presumably to the 31.6 MB drive. Where exactly are the two *.bss files? Should they have be included from the start or should they have been generated, and if so where? Cheers, Dave.
×
×
  • Create New...